Command Line

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In vb6, to get the command line you would use strCommand = Command()

How do you do this in vb .net? I found in the help file to use: Dim commands As String = Microsoft.VisualBasic.Command(
but when I try, there is no Command after VisualBasic

Thanks in advance!
 
* "=?Utf-8?B?RG91Zw==?= said:
In vb6, to get the command line you would use strCommand = Command().

How do you do this in vb .net? I found in the help file to use: Dim commands As String = Microsoft.VisualBasic.Command()
but when I try, there is no Command after VisualBasic.

Where in the help files did you find that (URL)?

'Microsoft.VisualBasic.Interaction.Command'.
 
I found it at
ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vafctCommand.ht


----- Herfried K. Wagner [MVP] wrote: ----

* "=?Utf-8?B?RG91Zw==?= said:
In vb6, to get the command line you would use strCommand = Command()
but when I try, there is no Command after VisualBasic

Where in the help files did you find that (URL)

'Microsoft.VisualBasic.Interaction.Command'
 
* "=?Utf-8?B?RG91Zw==?= said:
I found it at:
ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vafctCommand.htm

That's a bug, even in the online version.
 
Thanks for the code! Got it to work

----- Herfried K. Wagner [MVP] wrote: ----

* "=?Utf-8?B?RG91Zw==?= said:
I found it at
ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vafctCommand.ht

That's a bug, even in the online version
 
Back
Top