Re: using console from vb6 app
- From: "Jeff Johnson" <i.get@xxxxxxxxxxx>
- Date: Sat, 7 Apr 2007 23:46:46 -0400
"caver_dave" <caverdave@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C343FF97-4F74-4D8C-9EE1-8B2B493009AC@xxxxxxxxxxxxxxxx
I know how to start an application from VB, what I am trying to do isusing Shell "c:\windows\system32\cmd.exe", vbNormalFocus to open the
instead of
console
and then manually inputting the following
cd c:\r4 <enter>
C:\r4>r4 hello<enter>
Is there away to do this so the program runs In the console when you click
the run button?
Put those commands in a batch file and then execute it in your Shell
statement:
Shell "c:\windows\system32\cmd.exe /k rexxeditor.bat", vbNormalFocus
.
- References:
- Re: using console from vb6 app
- From: Jeff Johnson
- Re: using console from vb6 app
- Prev by Date: Re: Concatenating control names
- Next by Date: Re: Another Vista Problem(Index.dat)
- Previous by thread: Re: using console from vb6 app
- Next by thread: Re: using console from vb6 app
- Index(es):
Loading