Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Error removing skin from application
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error removing skin from application

 Post Reply Post Reply
Author
Message
LilBiggs02 View Drop Down
Newbie
Newbie


Joined: 02 December 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote LilBiggs02 Quote  Post ReplyReply Direct Link To This Post Topic: Error removing skin from application
    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
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.