borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Milage calculator)Next Topic (Array Refrencing) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Run Embeded exe
Poster Message
GEVRIP
Level: Graduate


Registered: 25-08-2006
Posts: 9

icon Run Embeded exe

Hey im doin an assingment where im writing an application where an exe file is embeded into my visual basic exe does any one no of a code by where i can click on a command button and the exe wil execute(embeded exe) and u cannot run an external executable the executable is added as a OLE OBJECT i hav tried every thing and no one seems to no how to do it

____________________________
I see the world different coz i like flying with the fishes and swiming with the pegeons...

13-12-2007 at 03:39 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 914
icon Re: Run Embeded exe

You cannot "embed" an EXE within your vb application in this way. The closest you can do is make use of com, and the exe needs to already be installed on the client machine (At least part of it)
What app are you trying to run?
You could investigate "ShellExecute" api function - that will run an app based on the users file association preferences (ie. Shellexecute "mything.doc" will run word)

Does that help?
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

28-12-2007 at 09:15 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Run Embeded exe
Previous Topic (Milage calculator)Next Topic (Array Refrencing) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder