On Feb 09, 2007, at 11:05 AM, Art Peters wrote:

Hi Folks,

First Q: I need in Windows to create a shortcut programatically and move it to a specific location. Any suggestions?

Second Q: Is is possible to include an exe file in a compiled app, say by including it in the project object? Then, from within the compiled application, launch that executable. Sort of like a subprogram.

Yes
Drop the exe into your project and it will be compiled right in
Then when you need it you can save it out to a binary file and launch it
Suppose you drop in a program called "MyApp.exe" then something like (note this is intended to be an outline of how to do this)

   dim bs as BinaryStream
   dim f as FolderItem

   f = new FolderItem(path to where you need it)
        
   bs = f.CreateBinaryFile

   bs.write MyApp

   bs = nil

   f.launch

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to