Solved

VB.Net Command Line

Posted on 2006-11-02
2
569 Views
Last Modified: 2008-02-01
I want to give a VB.NET a command line argument but it is not a console application.  I need it to be a regular Windows Application that accepts a single flag so that it knows to kick off something automatically before even loading.  I've searched for a while on Google and every result is for a console application.  Am I just missing something?
0
Comment
Question by:blafrisch
2 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 125 total points
ID: 17858330
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 17858335
Use Environment.CommandLine Property to get command line from any place in the program.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINQ - C# to VB convertion 12 58
Advice on Xojo as a development tool over VB. 4 57
VB.NET 2008 Populate DataModel with DataTable 44 29
get column names from table in vb.net 8 30
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

803 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