R
Roy Chastain
It appears that these two lines of code are required to support Windows XP themes.
Application.EnableVisualStyles();
Application.DoEvents(); // this corrects a bug in EnableVisualStyles()
The problem is that on systems prior to XP sometimes this works okay and other times it aborts because UXTHEME.DLL is not found.
I realize that UXTHEME.DLL is an XP dll.
What is the correct action to prevent problems on Win 2K and below?
Thanks
Application.EnableVisualStyles();
Application.DoEvents(); // this corrects a bug in EnableVisualStyles()
The problem is that on systems prior to XP sometimes this works okay and other times it aborts because UXTHEME.DLL is not found.
I realize that UXTHEME.DLL is an XP dll.
What is the correct action to prevent problems on Win 2K and below?
Thanks