VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Avoiding XP Theme Crash

DracullSoft  (3 Submissions)   Custom Controls/Forms/Menus   Advanced   Wed 3rd February 2021

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 (5(5 Vote))

Download Avoiding XP Theme Crash

Avoiding XP Theme Crash Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters