Solved

Command Line in VB 6.0 App

Posted on 1998-09-21
1
153 Views
Last Modified: 2010-04-30
I have created a VB 6.0 app that will be deployed at multiple sites.  Each site needs slightly different information on the form.  I figured I could use a command line approach.  However, I am unsure of the syntax to use when setting up the target of a shortcut that resides on the PCs at these sites.  I tried, "C:\MYAPP.EXE" /"SITE1", where "SITE1" would be the command line passed to the app.  This did not work, though.  Any suggestions.
0
Comment
Question by:dangie
1 Comment
 
LVL 2

Accepted Solution

by:
swilt earned 30 total points
ID: 1435979
This should do the trick

"C:\MYAPP.EXE" SITE1
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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

808 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