Solved

Command()

Posted on 2004-09-01
2
172 Views
Last Modified: 2010-05-02
Hi Expert,

Just a simaple question

  Dim cmdLine As String
  cmdLine = Command()

Could you please brief explain the purpose for this code?

Thanks
kchoed
0
Comment
Question by:kchoed
2 Comments
 
LVL 10

Expert Comment

by:anv
ID: 11950386
command()
'returns the argument portion of the command line..
so cmdline is storing that
0
 
LVL 8

Accepted Solution

by:
mladenovicz earned 50 total points
ID: 11950468
When you try to call your vb app from commandline for example

ApplicationName Parameters


Command will contain Parameters

MyProject C:\Test

Command = C:\Test
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Date Picker 64 bit 32 bit issue 12 61
Help me. 3 60
Set email body to html using vbscript 6 49
VBA - If Bookmark = "XXBOOKMARKXX" then 15 41
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question