Search:
Type: Posts; User: kytro360
Search:
Search took 0.04 seconds.
-
April 1st, 2012, 05:06 PM
Hi,
Does anyone know how to create a delay in C#?
I dont like to use Thread.Sleep because it makes the GUI unresponsive.
Do you know of any good alternatives?
-
March 30th, 2012, 02:33 PM
Oh :o, thanks for clearing that up.
Also, doesnt sleep freeze the whole gui?
-
March 30th, 2012, 12:02 PM
-
March 30th, 2012, 10:14 AM
I am testing this with a webBrowser, and want it to stop doing anything for the specified amount of time but even with the timer on, nothing stops
-
March 30th, 2012, 09:53 AM
I tried this but it doesnt seem to be waiting the amount of time I specify in the numericUpDown:
timer1.Interval = Convert.ToInt32(numericUpDown2.Value * 1000);
timer1.Start();
-
March 29th, 2012, 05:16 PM
Hi I was wondering how do I use a timer and a numericUpDown that specifies the amount of seconds?
I just need the timer to make my program not do anything for a few seconds (but not freeze the...
-
February 27th, 2012, 08:05 PM
^ Thanks, it seemed to work :)
-
February 27th, 2012, 10:15 AM
-
February 26th, 2012, 09:42 PM
I am using the string autcode outside of the foreach code in this line in a webrequest:
Pd.Append("&post_authenticity_token=" + autcode);
The foreach loop is to parse the autcode string.
-
February 26th, 2012, 09:37 PM
Now I got: 'string' does not contain a constructor that takes 0 arguments
-
February 26th, 2012, 09:18 PM
I tried that but this is the error Im getting: Use of unassigned local variable 'autcode'
-
February 26th, 2012, 09:10 PM
Hi, I have a foreach statement that parses data. I have a string in it but I want to use it outside of the foreach loop. How do I do it?
Heres my code:
...
-
October 27th, 2011, 02:36 PM
And this is what I get when I view the details of the error:
The name '$exception' does not exist in the current context
-
October 27th, 2011, 02:34 PM
This is the error I am getting when I try to load a page in the web browser. I am not sure if I am getting it cause I am loading the site beforehand in the background on a different web browser or...
-
October 27th, 2011, 05:25 AM
Quick question won't Thread.Sleep freeze the GUI? Will it stop a page from loading in the background?
Also I fixed the issue completely by adding an if/then statement but now my issue is my...
-
October 26th, 2011, 02:23 PM
I think I solved the issue...sort of. I added Application.DoEvents and it makes the listbox wait for it to load the site and fill data to the forms but how do I make the listbox iteration wait for...
-
October 25th, 2011, 07:25 PM
-
October 25th, 2011, 04:52 PM
I have a list box and for each item I want it to visit a different site. Whats happening is it visits the first site (first item in the list) but then just iterates down the list not completing it...
-
October 15th, 2011, 02:53 PM
Hello, I have a file I saved as an XML file and want different parts of the file to display in two text boxes. What is happening is the whole content of the file displays in a textbox as:
...
-
October 1st, 2011, 08:25 PM
Hey,
I am using OpenPop to read through the emails on my Hotmail account. What I want my code to do is display the HTML link in my email and display it in a listBox but its not working. Can you...
-
September 26th, 2011, 06:51 PM
Do you know how to make the selected text of a listbox the text inside a textbox?
I tried this but its not working:
string[] details = { listBox4.SelectedItem.ToString() };
...
-
September 24th, 2011, 05:56 PM
I am trying to run the following code in a thread but I keep getting this error for both listboxes:
Cross-thread operation not valid
Heres the code I am using:
-
September 24th, 2011, 03:21 PM
I want to post data to a form with sockets. I know I cant just post directly to the HTML of the site but how would I go about doing so?
-
September 20th, 2011, 07:09 PM
Okay I think I might have a solution. A while ago I Google my issue and I needed to add this code to my References.cs. Do you know where that file is located at?
protected override WebRequest...
-
September 20th, 2011, 07:05 PM
Yeah :/, I looked on the results of the Google search and havent found much good info. Ive also tried several proxies and I put them through a proxy checker to make sure they're alive.
|
Click Here to Expand Forum to Full Width
|