Solved

VB.Net Command Line

Posted on 2006-11-02
2
567 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now