Re: how can i run exe file from embedded files(Resource)?
OK, but if you use my statement you can run it from both IDE and EXE modes
NOTE:
At first I got that error with your statement. But not with my statement. Then I compiled it. Now it works using either statement. Reason is that a RUNPE.EXE exist in the working directory and even though your are in the IDE mode it picksup the RUNPE.EXE from the folder. But if you do not have the RUNPE.EXE in the folder it wont work using your statement in IDE but it will using mine.
Last edited by jmsrickland; Feb 19th, 2009 at 06:40 PM.
Re: how can i run exe file from embedded files(Resource)?
OK, fair enough. I just use "RunExe App.Path & "\" & App.EXEName, resBYTE" because I can guarantee that that exe is going to be there at that location no matter what computer it's running on. I should've mentioned that it has to be compiled to work though.
Re: how can i run exe file from embedded files(Resource)?
The reason I said that about Me.Visible is because in your post #15 you said can i run my exe with this code but in Hide mode? And my exe implies that it is your executible so it would be normal to assume that you have all the resources to this executible which would include the source code.
Re: how can i run exe file from embedded files(Resource)?
The reason I said that about Me.Visible is because in your post #15 you said can i run my exe with this code but in Hide mode? And my exe implies that it is your executible so it would be normal to assume that you have all the resources to this executible which would include the source code.
Re: how can i run exe file from embedded files(Resource)?
I know exe is binary. That isn't what I said. If you say it's your exe then it's easy to assume you also have the source code to it. That's all. How can you have an exe that is yours and not have the source code to it. If you didn't compile it then it isn't your exe; know what I mean.