locked
Why my application in vb6 runs faster in ide than exe file RRS feed

  • Question

  • Hello, I have developed a software in VB6. The software conbine if two activeX, few dlls and an EXE file.  When I run them in IDE environment, it working perfect and fast, but when ever i compile it and run the exe file, it run slow and communication elaps time is high. Please help me or give me any clue.

    Kind Regards

    Rod

    • Moved by Mike Feng Thursday, September 15, 2011 9:56 AM VB6 (From:Visual Basic General)
    Wednesday, September 14, 2011 3:25 AM

Answers

All replies

  • Does changing the priority of your process to adjust for the latency?

    'Put this at the beginning of your running code
    Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.High
    'Put this at the end of your running code
    Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.Normal
    



    If you want something you've never had, you need to do something you've never done.
    Wednesday, September 14, 2011 3:37 AM
  • Thanks Paul, but my codes are in Visual Basic 6 not VB.net, i can't use your answre.

    Rod

    Wednesday, September 14, 2011 4:33 AM
  • Hello, I have developed a software in VB6. The software conbine if two activeX, few dlls and an EXE file.  When I run them in IDE environment, it working perfect and fast, but when ever i compile it and run the exe file, it run slow and communication elaps time is high. Please help me or give me any clue.

    Kind Regards

    Rod


    This forum does not support VB6, you can try Vb6 forum in the link below http://www.vbforums.com/forumdisplay.php?forumid=1

    kaymaf


    CODE CONVERTER SITE

    http://www.carlosag.net/Tools/CodeTranslator/.

    http://www.developerfusion.com/tools/convert/csharp-to-vb/.

    Wednesday, September 14, 2011 4:34 AM