Jump to content

[SOLVED] Shellexecute problem.


 Share

Recommended Posts

this is my prog.

http://www.autoitscript.com/forum/index.php?showtopic=77614

but i have a problem that its runs the prog ok, but with no error but, well, its like not running it properly, some exe's run good, but some dont.

youll have hto try my prog, to discover the problem.

i have Bioshock installed.. but when i

ShellExecute("C:\Program Files (x86)\2K Games\BioShock\Builds\Release\Bioshock.exe")

i get the error, Bioshock.exe has stopped working

Edited by Aceguy
Link to comment
Share on other sites

You need to specify the working dir to the same directory that bioshock is installed in.

I also have it installed and it worked great when I did.

And BTW, isn't bioshock one of the greatest game ever? :P

Broken link? PM me and I'll send you the file!

Link to comment
Share on other sites

yea tis v good..... (damn scary at times)

so you saying it need to be

ShellExecute("C:\Program Files (x86)\2K Games\BioShock\Builds\Release\Bioshock.exe","","C:\Program Files (x86)\2K Games\BioShock\Builds\Release\Bioshock.exe")

but that doesnt work too

Link to comment
Share on other sites

yea tis v good..... (damn scary at times)

so you saying it need to be

ShellExecute("C:\Program Files (x86)\2K Games\BioShock\Builds\Release\Bioshock.exe","","C:\Program Files (x86)\2K Games\BioShock\Builds\Release\Bioshock.exe")

but that doesnt work too

No, Like this:

ShellExecute("C:\Program Files (x86)\2K Games\BioShock\Builds\Release\Bioshock.exe","","C:\Program Files (x86)\2K Games\BioShock\Builds\Release\")

:P

Broken link? PM me and I'll send you the file!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...