Click here to Skip to main content
15,917,454 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to monitor users on network? Pin
navelk15-Oct-03 0:56
navelk15-Oct-03 0:56 
GeneralTearing my hair out: drawing transparent image Pin
Jim Taylor14-Oct-03 23:23
Jim Taylor14-Oct-03 23:23 
GeneralRe: Using Paste() with multiple text boxes Pin
Mike Dimmick14-Oct-03 22:59
Mike Dimmick14-Oct-03 22:59 
GeneralRe: Using Paste() with multiple text boxes Pin
1.21 Gigawatts14-Oct-03 23:38
1.21 Gigawatts14-Oct-03 23:38 
Generalcombo box linked to datagrid Pin
iamalexCode14-Oct-03 18:38
iamalexCode14-Oct-03 18:38 
GeneralShutdown windows Pin
kersyanti14-Oct-03 15:02
kersyanti14-Oct-03 15:02 
GeneralParse Quotation marks Pin
Rip V. Winkle14-Oct-03 10:30
Rip V. Winkle14-Oct-03 10:30 
GeneralRe: Parse Quotation marks Pin
Dave Kreskowiak15-Oct-03 5:47
mveDave Kreskowiak15-Oct-03 5:47 
I'm not sure what your looking for. What do you mean by parse? What is the end result supposed to look like?
<br />
Dim FileName As String = InputBox("Please enter the file name here")<br />
Shell("c:\program files\d-tools\daemon.exe" & " -unmount 0 ")<br />
Shell("c:\program files\d-tools\daemon.exe" & " -mount 0," & FileName)<br />


The InputBox looks OK. If the user types (WITH quotes): "C:\Program Files\Stuff.txt", that exact string will be passed in the Shell statement. The 2nd shell command will look exactly like this:
<br />
c:\program files\d-tools\daemon.exe -mount 0,"C:\Program Files\Stuff.txt"<br />

If that's what you want passed to the Shell, then you don't have any problems...

BTW: What's with the '&' your using right after the daemon.exe? You don't need it there. Just to make the code a little more readable, you might want to take those out, but keep the one in front of 'FileName'.


RageInTheMachine9532
GeneralRe: Parse Quotation marks Pin
Rip V. Winkle15-Oct-03 6:34
Rip V. Winkle15-Oct-03 6:34 
GeneralRe: Parse Quotation marks Pin
Dave Kreskowiak15-Oct-03 6:50
mveDave Kreskowiak15-Oct-03 6:50 
GeneralRe: Parse Quotation marks Pin
Rip V. Winkle15-Oct-03 8:40
Rip V. Winkle15-Oct-03 8:40 
GeneralOCX Reverse Engineerin Pin
Anonymous14-Oct-03 8:30
Anonymous14-Oct-03 8:30 
GeneralRe: OCX Reverse Engineerin Pin
Steve S14-Oct-03 9:15
Steve S14-Oct-03 9:15 
GeneralRe: OCX Reverse Engineerin Pin
Anonymous14-Oct-03 12:11
Anonymous14-Oct-03 12:11 
GeneralI need HELP Pin
TheCandel_Heba13-Oct-03 15:42
TheCandel_Heba13-Oct-03 15:42 
GeneralRe: I need HELP Pin
J. Dunlap13-Oct-03 17:45
J. Dunlap13-Oct-03 17:45 
GeneralRe: I need HELP Pin
Cesar Peralta14-Oct-03 10:19
Cesar Peralta14-Oct-03 10:19 
Generalkeyboard Pin
grommit234513-Oct-03 6:36
grommit234513-Oct-03 6:36 
GeneralVisual Basic and WinXP Pin
Anonymous13-Oct-03 6:30
Anonymous13-Oct-03 6:30 
GeneralRe: Visual Basic and WinXP Pin
Rip V. Winkle16-Oct-03 11:30
Rip V. Winkle16-Oct-03 11:30 
GeneralListening to a Port Pin
Devsqi13-Oct-03 2:23
Devsqi13-Oct-03 2:23 
GeneralRe: Listening to a Port Pin
Dave Kreskowiak13-Oct-03 3:18
mveDave Kreskowiak13-Oct-03 3:18 
GeneralRe: Listening to a Port Pin
Anonymous13-Oct-03 18:43
Anonymous13-Oct-03 18:43 
Generalconnection access2000 vb6 Pin
sukusnairss11-Oct-03 15:42
sukusnairss11-Oct-03 15:42 
GeneralRe: connection access2000 vb6 Pin
Christian Eriksen13-Oct-03 13:57
Christian Eriksen13-Oct-03 13:57 

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.