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. .NET (Core and Framework)
  4. Repaint a application [modified]

Repaint a application [modified]

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharp
4 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 not that effective. I am totally clueless:confused: Do not wait to strike till the iron is hot; but make it hot by striking. -- modified at 6:27 Friday 2nd June, 2006

    S G 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 not that effective. I am totally clueless:confused: Do not wait to strike till the iron is hot; but make it hot by striking. -- modified at 6:27 Friday 2nd June, 2006

      S Offline
      S Offline
      Stephan Samuel
      wrote on last edited by
      #2

      What exactly are you trying to do? Are you trying to modify the VB application? If so, you may get better results in the VB group. Likewise, if you're trying to modify the C# DLL, you may get better results in the C# group. When you say that you "made the application wait for a particular time," how did you do this? Chances are, you did this incorrectly, and this is causing your blank screen. If you block the UI thread while you're waiting, the screen won't paint.

      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 not that effective. I am totally clueless:confused: Do not wait to strike till the iron is hot; but make it hot by striking. -- modified at 6:27 Friday 2nd June, 2006

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        Why do you ask the same question again? Keep it in one thread. --- b { font-weight: normal; }

        R 1 Reply Last reply
        0
        • G Guffa

          Why do you ask the same question again? Keep it in one thread. --- b { font-weight: normal; }

          R Offline
          R Offline
          Resolver18
          wrote on last edited by
          #4

          I thought i could get any solution from .net side... I m totally stuck up with this problem...:confused: Do not wait to strike till the iron is hot; but make it hot by striking.

          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