Error removing skin from application |
Post Reply |
Author | |
LilBiggs02
Newbie Joined: 02 December 2011 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 02 December 2011 at 11:58am |
Hello,
This is my first post to the code jock website. I'll start off by setting up my problem. I have a VB6 program that uses some .net interop for various controls using the Xtreme SkinFramework ActiveX Control 12.1.1. I have inherited this project and don't know much about CodeJock products. When closing the application there is a call to the skin object : SkinObject.RemoveAllWindows. Sometimes this kills the exe. I get a error message stating that the exe has stopped responding and there are only a option to close or debug. It only happens sometimes but I was able to track it down to RemoveAllWindows. In the form load: -Me.SkinObject.LoadSkin("...\.cjstyles",NORMALROYAL.INI") -Me.SkinObject.ApplyWindow Me.hWnd In the for Unload: -Me.SkinObject.RemoveAllWindows 'Error Occurs in this method. Has anyone seen this problem when calling RemoveAllWindows? Is there a better way of removing the skin? Thanks, Mike |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |