Results 1 to 4 of 4

Thread: [RESOLVED] Strange error on EXE termination

  1. #1

    Thread Starter
    Fanatic Member FireXtol's Avatar
    Join Date
    Apr 2010
    Posts
    874

    Resolved [RESOLVED] Strange error on EXE termination

    My application is giving me a "Run-Time error 339 Component " or one of its dependencies not correctly registered: a file is missing or invalid." Never has this occurred in the IDE.

    Only happens on termination... and only for a certain user(I can no longer reproduce the error, after removing a Form1.Show from Form2's terminate).

    They're also using appname.exe.local to enable sXs, which I don't use.

    I think it has something to do with gdiplus.dll. This user was getting an entry point not found for function (I can't recall) in gdiplus.dll, which is why I suggested the .local to enable sXs(and solved that problem).

  2. #2

    Thread Starter
    Fanatic Member FireXtol's Avatar
    Join Date
    Apr 2010
    Posts
    874

    Re: Strange error on EXE termination

    So I was stepping through execution starting with the query_unload up to when the app finally terminates.

    I thought something was weird. I have this custom scroll bar user control(a ctl), and after all the forms go through a: For Each frm in Forms: Unload frm: Set frm = Nothing: Next, this custom control's events start firing! But it shouldn't exist... as the forms have all been destroyed, right? Could this be a problem?

  3. #3
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Strange error on EXE termination

    I think, the custom control is the main cause of this problem. If you can get the sourcecode of it (if it is available as freeware), try to have a look on it...

    I think there are many scrollbar controls available in PSC, you can even replace with one of them.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  4. #4

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