Print Page | Close Window

Problem with VBA and SkinFramework

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=4655
Printed Date: 27 April 2024 at 8:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with VBA and SkinFramework
Posted By: Robin
Subject: Problem with VBA and SkinFramework
Date Posted: 25 July 2006 at 10:21am
Hi everybody
 
Im working with Office Beta 2007 (Excel) and VBA: Retail 6.5 version 1012.
 
First, Excel's UserForms  doesnt have a "Load" event. They have "Activate" and "Initialize" events.
 
Second, Excel's UserForms doesnt have a hwnd property (Me.hwnd).
 
So here what i did:
 
On my UserForm "initialize" event:
 
 SkinFramework1.LoadSkin ThisWorkbook.Path & "\" & "Office2007.cjstyles", "NormalOffice2007.ini"
 
SkinFramework1.ApplyWindow (Application.VBE.ActiveVBProject.VBComponents.VBE.MainWindow.hwnd)
 
My problem is that the skin apply to my form but doesnt apply to my controls (CommandButtons and others VB controls).
 
Any ideas?
 
Thanks



Replies:
Posted By: Oleg
Date Posted: 25 July 2006 at 12:54pm
Hello,
Now skinframework ActiveX support only Visual Basic 6.0.
No .NET not VBA no other.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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