In the case of an unmanaged executable such as notepad.exe, you would need
to extract the bytes using GetManifestResourceStream, deposit the file on
the filesystem with the proper name and extension, and use the Process class
to execute it. For managed code, you could extract the bytes and load into
the AppDomain directly from memory.
-Peter
"davis" <da*******@gmail.comwrote in message
news:d2**********************************@y38g2000 hsy.googlegroups.com...
Hi,
Let's say I have a project, and I add notepad.exe into it and set its
property as an embedded resource.
Now, when I build the project and run it, I want my code to launch
notepad.exe. How can I do this?
Thanks in advance,
Davsi