Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Refresh

Refresh

Scheduled Pinned Locked Moved C#
csharplearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Resolver18
    wrote on last edited by
    #1

    Hi, I have a VB application using a .Net(C#) dll.I made the application wait for particular time from the .net dll and during the wait if i move between other open windows,the VB application gets hanged or becomes blank screened. I tried using System.Windows.Forms.Application.DoEvents() to repaint the Vb application but it is that effective but of course makes little difference. I totally clueless :confused: Do not wait to strike till the iron is hot; but make it hot by striking.

    S S 2 Replies Last reply
    0
    • R Resolver18

      Hi, I have a VB application using a .Net(C#) dll.I made the application wait for particular time from the .net dll and during the wait if i move between other open windows,the VB application gets hanged or becomes blank screened. I tried using System.Windows.Forms.Application.DoEvents() to repaint the Vb application but it is that effective but of course makes little difference. I totally clueless :confused: Do not wait to strike till the iron is hot; but make it hot by striking.

      S Offline
      S Offline
      suguimoto
      wrote on last edited by
      #2

      I got the same problem, but I made my program wait until another program is loaded. I´ve overcome this problem by making a loop on a timer, so It checks every 300ms if the program is loaded, so it´s not needed to wait anymore. =D -- modified at 1:44 Friday 2nd June, 2006

      1 Reply Last reply
      0
      • R Resolver18

        Hi, I have a VB application using a .Net(C#) dll.I made the application wait for particular time from the .net dll and during the wait if i move between other open windows,the VB application gets hanged or becomes blank screened. I tried using System.Windows.Forms.Application.DoEvents() to repaint the Vb application but it is that effective but of course makes little difference. I totally clueless :confused: Do not wait to strike till the iron is hot; but make it hot by striking.

        S Offline
        S Offline
        S Senthil Kumar
        wrote on last edited by
        #3

        Do the waiting operation on a separate thread[^]. That way, the UI will remain responsive while you wait.

        Regards Senthil _____________________________ My Blog | My Articles | WinMacro

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups