Link to an .exe file

  • 9 years ago
    Need to include an existing .exe file to my Visual Basic software. How could I link that. Thanks and best regards. Leong
  • 9 years ago
    to run an alternate .exe: shell strPathToOtherExe, vbFocusSettingEnumeration for example: shell "c:\myproggy.exe", vbNormalFocus that's like.. the 'easy' way.. (if you want to conceal your 'other' .exe from your users, you could name your other program with another extention and rename it right before running it). the other way would be to embed your alternate .exe into the 'main' one and 'extract' it upon execution. that one's harder...

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If Java had true garbage collection, most programs would delete themselves upon execution.” - Robert Sewell