Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: kytro360

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. C#: How to create a delay with making the GUI unresponsive?

    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?
  2. Replies
    7
    Views
    1,787

    Re: How do I use a timer and a numericUpDown?

    Oh :o, thanks for clearing that up.

    Also, doesnt sleep freeze the whole gui?
  3. Replies
    7
    Views
    1,787

    Re: How do I use a timer and a numericUpDown?

    Bump...........
  4. Replies
    7
    Views
    1,787

    Re: How do I use a timer and a numericUpDown?

    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
  5. Replies
    7
    Views
    1,787

    Re: How do I use a timer and a numericUpDown?

    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();
  6. Replies
    7
    Views
    1,787

    How do I use a timer and a numericUpDown?

    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...
  7. Re: How to use a string in a foreach outside of it?

    ^ Thanks, it seemed to work :)
  8. Re: How to use a string in a foreach outside of it?

    Bump................
  9. Re: How to use a string in a foreach outside of it?

    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.
  10. Re: How to use a string in a foreach outside of it?

    Now I got: 'string' does not contain a constructor that takes 0 arguments
  11. Re: How to use a string in a foreach outside of it?

    I tried that but this is the error Im getting: Use of unassigned local variable 'autcode'
  12. How to use a string in a foreach outside of it?

    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:



    ...
  13. Re: ObjectExposedException was unhandled by user code

    And this is what I get when I view the details of the error:

    The name '$exception' does not exist in the current context
  14. ObjectExposedException was unhandled by user code

    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...
  15. Re: How to make the webbrowser wait before completing another action?

    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...
  16. Re: How to make the webbrowser wait before completing another action?

    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...
  17. Re: How to make the webbrowser wait before completing another action?

    Bump
  18. How to make the webbrowser wait before completing another action?

    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...
  19. Replies
    1
    Views
    830

    Need help with XML

    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:



    ...
  20. Replies
    1
    Views
    1,664

    Need help with OpenPop

    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...
  21. Make the selected text of a listbox the text inside a textbox

    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() };
    ...
  22. Replies
    1
    Views
    529

    Cross-Thread Operation Not Valid

    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:
  23. Replies
    1
    Views
    562

    How to post data to a site with Sockets?

    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?
  24. Re: The underlying connection was closed: An unexpected error occurred on a receive.

    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...
  25. Re: The underlying connection was closed: An unexpected error occurred on a receive.

    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.
Results 1 to 25 of 69
Page 1 of 3 1 2 3


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center