Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(Process.Start(FileStart.ToString()) == true)
- {
- //Bloco
- };
- var WebReq = (HttpWebRequest)WebRequest.Create(Url);
- HttpWebResponse response = (HttpWebResponse)WebReq.GetResponse();
- private static void StartService()
- {
- try
- {
- var FileStart = new FileInfo(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"WSOPaf.jar"));
- Process.Start(FileStart.ToString());
- }
- catch(Exception e)
- {
- MessageBox.Show("WSOPaf.jar não foi encontrado", "OK", MessageBoxButtons.OK);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement