Results 1 to 3 of 3

Thread: When clicking 'X' in title bar of MDI Form

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    1

    Clicking 'X' on Title Bar causes VB to crash

    Causes VB.exe to crash.
    All i have is code in the QueryUnload of the MDI which works fine when i walk thru in debug mode. Again if i add a Msgbox to see were i get to in case it crashes, it works okay. So what possibly is causing Vb to crash? Please any help appreciated.

    Exact Error is...

    Exception access violation(0x0000005),Address 0x00431257

    The Event Viewer log(NT)...

    The Open Procedure for service "McShield" in DLL "dssdata.dll" failed. Performance data for this service will not be available.
    Status code returned is DWORD 0.

    COULD THIS BE A McAFEE APPLICATION BUG???

    [Edited by drichmond on 03-29-2000 at 02:04 AM]

  2. #2
    Addicted Member
    Join Date
    Mar 2000
    Location
    Gainesville, FL
    Posts
    131
    This is just a crazy guess, but try putting "doevents" in the queryunload event.

  3. #3
    Addicted Member
    Join Date
    Jan 2000
    Location
    BC, Canada
    Posts
    142
    I got similar debug problems a couple of times. One time, When I put a End satatement in MDIForm unload sub, It crashes when the program is terminated, but walking through the code step by step is OK. so I don't use End statement in my mdiform unload routine. The reason is not known.

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