?
Solved

Command Line in VB 6.0 App

Posted on 1998-09-21
1
Medium Priority
?
157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

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

"C:\MYAPP.EXE" SITE1
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

762 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