-
Mar 23rd, 2018, 08:20 AM
#1
Thread Starter
Lively Member
[RESOLVED] How Do I Open A File With My Program?
I would like a picture file to be opened with my program. I can set my program as the default, but I don't know how to get the filename of the file I want to open. Thanks!
-
Mar 23rd, 2018, 08:33 AM
#2
Re: How Do I Open A File With My Program?
Never done that, but my money would be on reading the command-line parameters
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
-
Mar 23rd, 2018, 08:37 AM
#3
Thread Starter
Lively Member
Re: How Do I Open A File With My Program?
Yeah... dunno how to do that.
-
Mar 23rd, 2018, 08:40 AM
#4
Thread Starter
Lively Member
Re: How Do I Open A File With My Program?
Found it. It's called "Command". In your Form_Load procedure, use
to get the file it's trying to open. RESOLVED!
-
Mar 28th, 2018, 02:10 PM
#5
PowerPoster
Re: [RESOLVED] How Do I Open A File With My Program?
Use this command:
Code:
Shell "C:\Application.exe",, vbNormalFocus
:()+L
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Event's Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Bar | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|