15,919,434 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 Allw (Top 6 by date)
Allw
20-Nov-13 6:30am
View
i replaced the file association, and tried it on a different pc to my devbox, and by doesn't read i mean that the string contents i enter at the start when declaring the string ("this didn't work") is still the contents at the end and indeed after the command arguements should've been read into the sting, the only other thing i could think of is maybe the way that i am distributing it?
Allw
19-Nov-13 11:09am
View
hi, yeah that didn't work I am wondering am I using the correct manor for extracting this information, the line that should read the command arguments reads,
dim str as string = environment.getcommandlineargs()(1)
and I am using a console app, don't know if that is an issue.
I feel like it is strange that it works when I drag a file over the program to run it, but doesn't if I associate the program with it? (and to confirm I have now re-associated the film extensions and still no luck!)
thanks again!
Allw
19-Nov-13 8:40am
View
And you think that people appreciate hijacking of questions in order to market your product?
Allw
18-Nov-13 4:09am
View
I'll try it again, and it's already set in the setup package, like I say I'll try it all again and get back to you, thanks!
Allw
18-Nov-13 4:05am
View
I can read C# so get off the high horse...I choose to write in vb, because any other language confuses me when I have a lot of vb to code
Allw
18-Nov-13 4:04am
View
Yeah, what I did was create a string variable to store the directory and upon creation it has the value "did not work" and then this variable contains the command line arguments when they're read, however they're only read when I drag the file over the program to open it, not when I open it with the file extension after publishing,
Thanks!
Show More