Command Line

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!
 
H

Herfried K. Wagner [MVP]

* "=?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'.
 
G

Guest

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'
 
H

Herfried K. Wagner [MVP]

* "=?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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top