473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Command Line

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!
Nov 20 '05 #1
5 2289
* "=?Utf-8?B?RG91Zw==?=" <an*******@discussions.microsoft.com> scripsit:
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'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
"Doug" <an*******@discussions.microsoft.com> schrieb
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.


http://groups.google.com/groups?selm...TNGP12.phx.gbl
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
I found it at
ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vafctCommand.ht
----- Herfried K. Wagner [MVP] wrote: ----

* "=?Utf-8?B?RG91Zw==?=" <an*******@discussions.microsoft.com> scripsit
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'

--
Herfried K. Wagner [MVP
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
* "=?Utf-8?B?RG91Zw==?=" <an*******@discussions.microsoft.com> scripsit:
I found it at:
ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vafctCommand.htm


That's a bug, even in the online version.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
Thanks for the code! Got it to work

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

* "=?Utf-8?B?RG91Zw==?=" <an*******@discussions.microsoft.com> scripsit
I found it at
ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vafctCommand.ht


That's a bug, even in the online version

--
Herfried K. Wagner [MVP
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Joe | last post by:
I'm using Python 2.4 on Windows XP SP2. I'm trying to receive a command line argument that is a newline (\n) Here is the command line to use sample.py "\n" Here is a sample.py script
7
by: Steve M | last post by:
I'm trying to invoke a Java command-line program from my Python program on Windows XP. I cannot get the paths in one of the arguments to work right. The instructions for the program describe the...
4
by: lkrubner | last post by:
I'd like to write a PHP script to be used from the command line on a Unix machine. I'd like for the script to put together a string, turn it into a web page, print it, then return control the...
5
by: randyelliott | last post by:
Good Day, I have a MS Access (Access 2000 now upgraded to 2003) database that tracks customer information. One function of this database is to create an encrypted license file for our software,...
34
by: Roman Mashak | last post by:
Hello, All! I'm implementing simple CLI (flat model, no tree-style menu etc.). Command line looks like this: <command> <param1> <param2> ... <paramN> (where N=1..4) And idea is pretty simple: ...
3
by: Double Echo | last post by:
Hi all, I'm using PHP 4.4.2, and use PHP on both the command-line and the web. I am running PHP on SuSE 10 Linux , in a VMware 5.5 workstation, using Apache 2.0.55 , on my Dell laptop. ...
4
by: Bit byte | last post by:
I have a project that I normally build (without problems) from the DevStudio IDE. However, I have embarked on automating all my builds (this test project being one of several). The project...
2
by: Jim | last post by:
Hello, I need a program that will traverse a directory tree to ensure that there are unix-style line endings on every file in that tree that is a text file. To tell text files from others I...
51
by: Ojas | last post by:
Hi!, I just out of curiosity want to know how top detect the client side application under which the script is getting run. I mean to ask the how to know whether the script is running under...
7
by: Jwe | last post by:
Hi, I've written a program which has both a command line interface and Windows form interface, however it isn't quite working correctly. When run from command line with no arguments it should...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.