15,908,173 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11291420 (Top 4 by date)
Member 11291420
7-Dec-14 17:14pm
View
Thanks everyone, my Main doesn't accept arguments however My.Application.CommandLineArgs works a treat. I appreciate the assistance you all provided.
Member 11291420
7-Dec-14 0:33am
View
Sorry Homero, I'm not familiar with Java (I think that's Java), do you know what the equivalent to that would be in vb.net?
Member 11291420
6-Dec-14 23:54pm
View
Thanks for that, but I've already got the extension organised and associated with my program, it's a matter of getting the name and path of the file so that I can process it.
Member 11291420
6-Dec-14 23:52pm
View
Yes, I've already set up the association between my file extension and my program on the users machine in the installation.msi process. My problem is I need my program to know the file name so that it can process that file. For example if it were a text document it would open the program and display that particular document. I'm thinking there should be a way to get something like a command line argument.