Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Problem with VBA and SkinFramework
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with VBA and SkinFramework

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


Joined: 25 July 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Robin Quote  Post ReplyReply Direct Link To This Post Topic: Problem with VBA and SkinFramework
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.156 seconds.