Solved

Command Line in VB 6.0 App

Posted on 1998-09-21
1
156 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 30 total points
ID: 1435979
This should do the trick

"C:\MYAPP.EXE" SITE1
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

691 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