vincent329 Posted November 13, 2011 Author Share Posted November 13, 2011 is there away to make it where after someone uses the auto updater that the client opens up so thay can play? Link to comment Share on other sites More sharing options...
Robin Posted November 13, 2011 Share Posted November 13, 2011 Yes. You have the source code. You can do whatever you want. Link to comment Share on other sites More sharing options...
vincent329 Posted November 13, 2011 Author Share Posted November 13, 2011 ok can i ask how do i do it? Link to comment Share on other sites More sharing options...
Robin Posted November 13, 2011 Share Posted November 13, 2011 Yes. Yes you can. You have access to the internet! You can ask anyone anything you want. Link to comment Share on other sites More sharing options...
lexkymbeth Posted November 13, 2011 Share Posted November 13, 2011 lol when its done updateing  Shell "C:\[to your client]" Link to comment Share on other sites More sharing options...
Carim123 Posted November 13, 2011 Share Posted November 13, 2011 @lexkymbeth:> lol when its done updateing  Shell "C:\[to your client]"=|.App.Path.Well, you could stick the client in a folder called "bin", "data", and so on, and just addApp.Path & "\data\client.exe"EDIT:> Website Creator, **Coder**, Hacker/securities coderI'm sorry, but how can you be called a coder, if you don't use a basic file path finding function? Link to comment Share on other sites More sharing options...
lexkymbeth Posted November 13, 2011 Share Posted November 13, 2011 @Serenade:> EDIT:> I'm sorry, but how can you be called a coder, if you don't use a basic file path finding function?i use vb8 and 10 more then 6 Link to comment Share on other sites More sharing options...
Carim123 Posted November 13, 2011 Share Posted November 13, 2011 You're a big fan of using excuses, aren't you?OK. Then what's the path finding function in .NET, then? Link to comment Share on other sites More sharing options...
vincent329 Posted November 13, 2011 Author Share Posted November 13, 2011 ok im guessing im gonna need VB for this but what part of the code do i add the stuff O.o Link to comment Share on other sites More sharing options...
Carim123 Posted November 13, 2011 Share Posted November 13, 2011 @vincent329:> ok im guessing im gonna need VB for this but what part of the code do i add the stuff O.oWhen the download itself has finished? It's not difficult to guess where code calling an executable that's just been downloaded goes. Link to comment Share on other sites More sharing options...
lexkymbeth Posted November 13, 2011 Share Posted November 13, 2011 Process.Start("C:\Program Files\blahblah")@Vincent if you mean were it goose. dub click exit and there :p Link to comment Share on other sites More sharing options...
Carim123 Posted November 13, 2011 Share Posted November 13, 2011 @lexkymbeth:> Process.Start("C:\Program Files\blahblah")i_i.I said path finding function, not your method of opening a file.Application.StartupPath. It gets the directory of where your application is located, therefore does not have to be located in Program Files. Plus, that can go horribly wrong if you were to move the exe.Anyway, back on topic, simply add the shell command to your files' location, and call it on either the form unloading, a play button being pressed, the download finishing, and so on. It's down to preference. Link to comment Share on other sites More sharing options...
vincent329 Posted November 13, 2011 Author Share Posted November 13, 2011 ok think i found the stuff needed but what file do i edit and change to make it work? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now