Link to home
Start Free TrialLog in
Avatar of wfskmoney
wfskmoney

asked on

Visual Basic .NET include .exe in project and attach to main process

I have a VB.NET project (main.exe) and include an additional .exe application as internal resource. Now I do not want to run the extra .exe as a separate process but want to attach it to the process of main.exe so I have just 1 process overall and not 2.

How could this be done?

Thank you!
Avatar of wdosanjos
wdosanjos
Flag of United States of America image

I believe you need to change the .exe application into a .dll, so you can reference it on main.exe.  Otherwise, the only way to execute the .exe application is by having a separate process.
Avatar of wfskmoney
wfskmoney

ASKER

OK. more specifically, if the additional .exe is written Python and compiled a EXE could it be converted into a .dll at all? If yes how would it be used from within VB.NET then? Thanks!
ASKER CERTIFIED SOLUTION
Avatar of wdosanjos
wdosanjos
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial