Click here to Skip to main content
15,920,602 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Need help using swflash.ocx in VB6!! Pin
Fork1819-Aug-04 13:32
Fork1819-Aug-04 13:32 
GeneralPlease Help Me Pin
mohan_balal19-Aug-04 6:52
mohan_balal19-Aug-04 6:52 
GeneralRe: Please Help Me Pin
Dave Kreskowiak19-Aug-04 7:07
mveDave Kreskowiak19-Aug-04 7:07 
GeneralMDI and StatusBar Pin
Anonymous19-Aug-04 6:20
Anonymous19-Aug-04 6:20 
GeneralRe: MDI and StatusBar Pin
Anonymous19-Aug-04 9:22
Anonymous19-Aug-04 9:22 
GeneralRe: MDI and StatusBar Pin
Dave Kreskowiak20-Aug-04 3:31
mveDave Kreskowiak20-Aug-04 3:31 
GeneralVB 6 Using the DOS prompt Pin
johnjsm19-Aug-04 4:07
johnjsm19-Aug-04 4:07 
GeneralRe: VB 6 Using the DOS prompt Pin
Dave Kreskowiak19-Aug-04 5:16
mveDave Kreskowiak19-Aug-04 5:16 
If the DOS app outputs everything you need to the screen, you can launch the command and pipe it's output to a text file. Then your VB app can read that text file and decide what to do from there. The command your going to Shell launch would look something like this:
CDCHECKER.EXE D: > C:\results.txt

You'll have to use the Scripting Runtime WshShell object to launch the program and wait for its execution to complete. Set a reference to the Windows Scripting Object Model. This will give you the ability to Dim a WshShell object. Use the Run method of the WshShell object to launch your command line and wait for it to finish.
Dim wshShell As New WshShell
wshShell.Run("CDCHECKER.EXE D: > C:\results.txt", 0, True)

Then it's a simple matter of reading and parsing the results.txt file.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: VB 6 Using the DOS prompt Pin
johnjsm19-Aug-04 22:12
johnjsm19-Aug-04 22:12 
GeneralRe: VB 6 Using the DOS prompt Pin
Dave Kreskowiak20-Aug-04 1:08
mveDave Kreskowiak20-Aug-04 1:08 
GeneralDownload File Pin
XGaMeS19-Aug-04 3:31
XGaMeS19-Aug-04 3:31 
GeneralRe: Download File Pin
mikasa23-Aug-04 0:30
mikasa23-Aug-04 0:30 
GeneralVB.Net and JavaScript Pin
ecloz19-Aug-04 2:58
ecloz19-Aug-04 2:58 
GeneralRe: VB.Net and JavaScript Pin
Dave Kreskowiak19-Aug-04 5:41
mveDave Kreskowiak19-Aug-04 5:41 
GeneralRe: VB.Net and JavaScript Pin
ecloz19-Aug-04 6:33
ecloz19-Aug-04 6:33 
Generalrounded textbox in vb.net Pin
abari19-Aug-04 1:53
abari19-Aug-04 1:53 
GeneralRe: rounded textbox in vb.net Pin
Dave Kreskowiak19-Aug-04 4:14
mveDave Kreskowiak19-Aug-04 4:14 
GeneralWinSock, how to pass from server to LAN's PC through internet Pin
curious_keen18-Aug-04 21:47
curious_keen18-Aug-04 21:47 
GeneralRe: WinSock, how to pass from server to LAN's PC through internet Pin
Dave Kreskowiak19-Aug-04 4:02
mveDave Kreskowiak19-Aug-04 4:02 
GeneralRe: WinSock, how to pass from server to LAN's PC through internet Pin
curious_keen19-Aug-04 4:54
curious_keen19-Aug-04 4:54 
GeneralRe: WinSock, how to pass from server to LAN's PC through internet Pin
Dave Kreskowiak19-Aug-04 5:22
mveDave Kreskowiak19-Aug-04 5:22 
GeneralFacing problem while calling C# Functions(DLL) from Visual Basic(EXE) Pin
Ami Shah18-Aug-04 21:10
Ami Shah18-Aug-04 21:10 
GeneralRe: Facing problem while calling C# Functions(DLL) from Visual Basic(EXE) Pin
Dave Kreskowiak19-Aug-04 3:57
mveDave Kreskowiak19-Aug-04 3:57 
GeneralAdding a text file in my project. Pin
Ravi S.V.18-Aug-04 20:10
Ravi S.V.18-Aug-04 20:10 
GeneralRe: Adding a text file in my project. Pin
Purple Monk19-Aug-04 1:41
Purple Monk19-Aug-04 1:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.