Print Page | Close Window

Error removing skin from application

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=19258
Printed Date: 16 June 2024 at 2:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Error removing skin from application
Posted By: LilBiggs02
Subject: Error removing skin from application
Date 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
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net