Try Win32Shell.Execute()

            command = "program.exe"
            Win32Shell.Execute (command)
Warachet


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D Prowse
Sent: Friday, April 07, 2006 10:01 AM
To: Getting Started
Subject: Shell to open DOS app in RB

Hi
  I am very new to RB.
  What I am trying to do is open/use an app that is a DOS prog in a running RB 
application. I have tried to use the Shell class but perhaps being that I am 
using RB5.5.5 I have no  luck. I just keep getting a -2 error code. Nothing I 
do works. Any simple directions that any of you more experienced programmers 
could offer? Thanks.
   
  My OS is Windows XP.
   
  Derek

                
---------------------------------
Blab-away for as little as 1ยข/min. Make  PC-to-Phone Calls using Yahoo! 
Messenger with Voice.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to