VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Avoiding XP Theme Crash

by DracullSoft (3 Submissions)
Category: Custom Controls/Forms/Menus
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

Study of why vb6 applications with xp theme enabled sometimes crashes when closed. I have included an example of an application that crashed and two examples to show how to prevent it from crashing. Conclusions: It seems to be related to XP Theme not being closed correctly when an internal vb6 UserControl is placed on the main form.
A simple way to fix this is to ensure it gets cleaned up either by placing an imagelist or a commond dlg control on the form.
Unzip the download and compile each of the 3 examples and study the source. I have tried to keep it as simple as possible. Votes appreciated :)

Rate Avoiding XP Theme Crash

Download Avoiding XP Theme Crash

Download Avoiding XP Theme Crash (45 KB)

Avoiding XP Theme Crash Comments

No comments have been posted about Avoiding XP Theme Crash. Why not be the first to post a comment about Avoiding XP Theme Crash.

Post your comment

Subject:
Message:
0/1000 characters