No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i am making an application that must check before running the internet connection i am using this code try { req = (HttpWebRequest)WebRequest.Create("http://www.1aeg.net"); resp = (HttpWebResponse)req.GetResponse(); if (resp.StatusCode.ToString().Equals("OK")) { connected_check = "1"; } else { connected_check = "2"; } } catch (Exception exc) { connected_check = "2"; } when i … |
|
hi everyone now icheck if program is running or not using this code Process[] pname = Process.GetProcessesByName("AIM"); if (pname.Length == 0) MessageBox.Show("nothing"); else MessageBox.Show("run") all that i need is to be sure that the program is closed before taking my action and shows for the user that the program AIM … |
|
hi everyone.. i am using windows application to get data from web service and according to the result an action will be taken for example if the result is [b]1[/b] i will download a file and the name of the file will be taken from my database. all that i … |
|
hi everyone.. i made my windows service in C# and everything is running well except only one task.. i made a notifyicon1 in the taskbar so that the user can click on this notifycon1 and opens a links that it is retrieved from database. [B]My problem is that the action … |
|
hi guys thanks everyone for help in my last post now i made my windows service that get response from a web service and everything is working well. all that i need now is: 1- The windows service should pop-up something saying there is a new application to be downloaded … |
|
hi guys, i want to ask a small question. i made a windows service that work using framework version 3.5, after that i made the installer of this windows service to let the user uses this windows service on their computer's. Now i want to setup this windows service on … |