Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: RE: cal .exe


Message #1 by "Javier Plumey" <jplumey@i...> on Thu, 31 Aug 2000 18:26:19 -0400
Better to test the script or the command line  in Immediate window

such
?2 * 2 (returns 4) or
?shell "c:\windows\ping www.microsoft.com"


regards,
-Agus
----- Original Message -----
From: "Godfroy Touglo" <GodfroyT@n...>
To: "professional vb" <pro_vb@p...>
Sent: Friday, September 01, 2000 3:54 AM
Subject: [pro_vb] RE: cal .exe


> Is your .EXE an activeX EXE or a regular .exe? If it's a regular .exe then
> here's an example for you:
> ' Specifying 1 as the second argument opens the application in
> ' normal size and gives it the focus.
> Dim RetVal
> RetVal = Shell("C:\WINDOWS\CALC.EXE", 1)   ' Run Calculator.
>
>
> -----Original Message-----
> From: Jessica Chen [mailto:jchen@g...]
> Sent: Tuesday, August 29, 2000 11:23 AM
> To: professional vb
> Subject: [pro_vb] cal .exe
>
>
> Hi:
>             I need to build an vb application that can call
> an existing .exe
> in the middle of the file.  At shell i can do .exe -f
> feature -v version.
> But I did not know which command I need to use at the vb
> file.
>       Thanks a lot
>
>
> Jessica
>

  Return to Index