d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Vbnet Help Please :) > Custom Program
12Next
Add Reply New Topic New Poll
Member
Posts: 8,366
Joined: Oct 8 2006
Gold: 7,614.00
Jan 3 2015 11:06am
http://gyazo.com/3d347ade1e1b0a29a4aa39f10946482b

Thats my program so far. It all works perfect... For me.
Im ready to release it to the public, now the issue i have is this.

I directly linked to my skype curse vent etc. So when someone else uses my program it wont be where i have it.
I need to create if "skype.exe" not found open file browser and locate the file then save it to a string and run off it.

Any ideas where to start? I figured everything else out but this one has me stumped!
Member
Posts: 15,717
Joined: Aug 20 2007
Gold: 481.00
Jan 3 2015 12:49pm
If skype isnt found then open file dialog

Its that simple

This post was edited by t9x on Jan 3 2015 12:49pm
Member
Posts: 8,366
Joined: Oct 8 2006
Gold: 7,614.00
Jan 3 2015 12:53pm
Quote (t9x @ Jan 3 2015 11:49am)
If skype isnt found then open file dialog

Its that simple


Yes, but how do i make it save what is selected in the file dialog?
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jan 3 2015 01:01pm
Quote (Vahar @ Jan 3 2015 01:53pm)
Yes, but how do i make it save what is selected in the file dialog?


the same place you're storing any id/pw, vent chatrooms, or whatever else is configurable. what does your program do exactly? im not clicking the link.
Member
Posts: 8,366
Joined: Oct 8 2006
Gold: 7,614.00
Jan 3 2015 01:16pm
Its just a launcher. Kinda like the battle net launcher. click skype picture and it minimizes itself and runs Process.Start("C:\Program Files (x86)\Skype\Phone\Skype.exe")

Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jan 3 2015 01:24pm
Quote (Vahar @ Jan 3 2015 02:16pm)
Its just a launcher. Kinda like the battle net launcher. click skype picture and it minimizes itself and runs Process.Start("C:\Program Files (x86)\Skype\Phone\Skype.exe")


how do you configure your launcher? hard coding which apps are available and what order they appear sounds very limiting for public use.

you can use a config file like so:
<apps>
<app icon="skype.png" title="skype" path="C:/Program Files (x86)/Skype/Phone/Skype.exe"/>
<app icon="word.png" title="microsoft word" path="C:/Program Files (x86)/Microsoft Office/Word.exe"/>
</apps>

not sure what the benefit is of your launcher otherwise. desktop shortcuts > hard-coded apps.

This post was edited by carteblanche on Jan 3 2015 01:52pm
Member
Posts: 8,366
Joined: Oct 8 2006
Gold: 7,614.00
Jan 3 2015 01:34pm
I did hard code it, its my first program. Still learning! :( It would be awesome to like let the user set up to 7 apps and choose the order and if they want to use all 7.
App 1 = Skype, app 2 Vent, app 3 Raidcall
so on and so fourth then if you dont use one of the apps its not in your launcher
Thats a little further down the road for me i think.
How much FG would you want to help me! Im sure if you do 1 of the apps coding i could figure it out by reading and studying!
Member
Posts: 8,366
Joined: Oct 8 2006
Gold: 7,614.00
Jan 4 2015 09:27am
Got it working - Resolved.
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jan 4 2015 10:32am
doesnt it feel so gratifying to be able to accomplish it yourself? :thumbsup:
Member
Posts: 8,366
Joined: Oct 8 2006
Gold: 7,614.00
Jan 5 2015 10:23pm
Yes it does! Carte, would you want to give er a test when im done? Need a few beta testers!
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll