Click here to Skip to main content
15,888,401 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting application version numbers in C# Pin
#realJSOP10-Sep-08 23:15
mve#realJSOP10-Sep-08 23:15 
GeneralRe: Getting application version numbers in C# Pin
Matt Fishbeck11-Sep-08 0:24
Matt Fishbeck11-Sep-08 0:24 
GeneralRe: Getting application version numbers in C# Pin
Matt Fishbeck5-Sep-08 5:15
Matt Fishbeck5-Sep-08 5:15 
QuestionRegular Expression Pin
netDeveloper5-Sep-08 3:46
netDeveloper5-Sep-08 3:46 
AnswerRe: Regular Expression Pin
c24235-Sep-08 4:51
c24235-Sep-08 4:51 
GeneralRe: Regular Expression Pin
netDeveloper5-Sep-08 4:53
netDeveloper5-Sep-08 4:53 
GeneralRe: Regular Expression Pin
User 66585-Sep-08 6:38
User 66585-Sep-08 6:38 
QuestionWebRequest object crashes program Pin
Filmxposer5-Sep-08 3:44
Filmxposer5-Sep-08 3:44 
I have a program that will grab caller ID data from a rosewill USB modem. The main form is used to convey information from a database that I compiled from areacodedownload.com such as latitude and longitude data and will pass those values to the weekly weather for the calling party as well as an area map. I added a check box for each of the websites as a form of error checking. Red means the site is unavailable and Green means available. When the checkbox is checked it will reevaluation if the site is still reachable. However when I click on these four checkboxes in a row a couple times the program hangs and the form is not redrawn forever. The code for one of the checkboxes is below
private void checkBox4_Checked(object sender, EventArgs e)
{
try
{
WebRequest test = WebRequest.Create("http://dev.virtualearth.net");
WebResponse tested = test.GetResponse();
checkBox4.BackColor = Color.Green;
}
catch (WebException)
{
checkBox4.BackColor = Color.Red;
}
}
I can't seem to find if there is a Busy property in the WebRequest class. These checkboxes are just inside a group container and it doesn't matter what the value of them is. I'm just using them as a toggle. The values are checked on Form_Load() and then whenever the checkbox is clicked. I'm using the same object name "test" for each of the checkboxes, but the scope should be within each method and shouldn't matter if I use it for all four checkboxes.
QuestionHow to internationalize AssemblyInfo strings? Pin
bscaer5-Sep-08 3:33
bscaer5-Sep-08 3:33 
QuestionHow can an event handler update the text in a TextBox when the GUI-thread is sleeping? Pin
arnold_w5-Sep-08 3:16
arnold_w5-Sep-08 3:16 
AnswerRe: How can an event handler update the text in a TextBox when the GUI-thread is sleeping? Pin
DaveyM695-Sep-08 3:44
professionalDaveyM695-Sep-08 3:44 
AnswerRe: How can an event handler update the text in a TextBox when the GUI-thread is sleeping? Pin
Nicholas Butler5-Sep-08 6:03
sitebuilderNicholas Butler5-Sep-08 6:03 
GeneralRe: How can an event handler update the text in a TextBox when the GUI-thread is sleeping? Pin
arnold_w7-Sep-08 21:23
arnold_w7-Sep-08 21:23 
GeneralRe: How can an event handler update the text in a TextBox when the GUI-thread is sleeping? Pin
Nicholas Butler7-Sep-08 23:48
sitebuilderNicholas Butler7-Sep-08 23:48 
GeneralRe: How can an event handler update the text in a TextBox when the GUI-thread is sleeping? Pin
arnold_w8-Sep-08 0:34
arnold_w8-Sep-08 0:34 
QuestionConversion of object to dataset Pin
Santhosh Raj5-Sep-08 3:01
Santhosh Raj5-Sep-08 3:01 
AnswerRe: Conversion of object to dataset Pin
#realJSOP5-Sep-08 3:17
mve#realJSOP5-Sep-08 3:17 
GeneralRe: Conversion of object to dataset Pin
Santhosh Raj5-Sep-08 18:57
Santhosh Raj5-Sep-08 18:57 
GeneralRe: Conversion of object to dataset Pin
#realJSOP6-Sep-08 2:12
mve#realJSOP6-Sep-08 2:12 
QuestionGPS polygon and calculate of gps position is inside the polygon Pin
rnvrnv5-Sep-08 2:59
rnvrnv5-Sep-08 2:59 
AnswerRe: GPS polygon and calculate of gps position is inside the polygon Pin
DaveyM695-Sep-08 4:00
professionalDaveyM695-Sep-08 4:00 
AnswerRe: GPS polygon and calculate of gps position is inside the polygon Pin
Simon P Stevens5-Sep-08 4:09
Simon P Stevens5-Sep-08 4:09 
AnswerRe: GPS polygon and calculate of gps position is inside the polygon Pin
Colin Angus Mackay5-Sep-08 5:44
Colin Angus Mackay5-Sep-08 5:44 
Questiondrag and drop Pin
aiswaryasekhar5-Sep-08 1:48
aiswaryasekhar5-Sep-08 1:48 
AnswerRe: drag and drop Pin
Thomas Stockwell5-Sep-08 3:29
professionalThomas Stockwell5-Sep-08 3:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.