Results 1 to 4 of 4

Thread: Vb6.0 project is not responding

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2012
    Posts
    58

    Vb6.0 project is not responding

    When I run the exe file, sometimes it is running and sometimes responds with a delay, not immediately.
    When I run it by F5, I have to try it many times to make it run and most of the times it is running with delays.
    When it is not running, I have to end it using the task manager, which sometimes responds with a delay, not immediately.
    The project was working before but when I added code for creating an xml file and sending it to an API server, then it started creating problems.
    I am using vb6.0 under Windows 10
    Any ideas to solve this problem?

  2. #2
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: Vb6.0 project is not responding

    I don't know many people here with a working crystal ball and I loaned my crystal ball out to a friend. This friend of mine hasn't brought it back yet! Don't you hate it when friends borrow things and don't return it

    So for the time being, we going to have to settle for being told what the first thing your program does is. What is it doing in Form_Load or Sub Main(). Most slow start problems occur there.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  3. #3
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Vb6.0 project is not responding

    Sounds like you have some sort of long running blocking code in there at start up. A loop would be the first guess but need to see some code to really have much of an idea.

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Vb6.0 project is not responding

    My guess is that HTTP requests are being made synchronously.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width