ADO DOT NET Posted November 29, 2007 Posted November 29, 2007 Hi, I try to work with Environment.CommandLine but it seems to be very hard parsing it! If there are no command lines, the name and path of application will be returned itself. If there are command line(s), the name and path of application + the name and path of files and these will be mixed for as many file as were opened, there are no Count or Item properties so it's hard to parse it, does anyone know a way to parse it in VB.NET? Thanks. :) Quote
Administrators PlausiblyDamp Posted November 30, 2007 Administrators Posted November 30, 2007 If you are using VS 2005 you could try My.Application.CommandLineArgs as an alternative or have you tried Environment.GetCommandLineArgs Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.