Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - VB.NET 2003 + AxSkinframework 12.1.1
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VB.NET 2003 + AxSkinframework 12.1.1

 Post Reply Post Reply
Author
Message
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Topic: VB.NET 2003 + AxSkinframework 12.1.1
    Posted: 05 March 2009 at 2:54pm
In a vb.net 2003 project the buttons, groupbox,... are not skinned. Is there a problem with vb.net? Is there a .net-version without problems?
 
Please, be so kind and check the following code:
 
Imports XtremeSkinFramework

Imports AxXtremeSkinFramework

Public Class Form1

Inherits System.Windows.Forms.Form

Private Const STYLES_PATH = "D:\VBTest\CodeJockStyles"

Private Declare Function InitCommonControls Lib "Comctl32.dll" () As Long

Public Sub New()

MyBase.New()

' Dieser Aufruf ist für den Windows Form-Designer erforderlich.

InitializeComponent()

' Initialisierungen nach dem Aufruf InitializeComponent() hinzufügen

InitCommonControls()

End Sub

.....xxxx....
 

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

SkinFramework.LoadSkin(STYLES_PATH + "\vista.cjstyles", "normalblue.ini")

SkinFramework.ApplyWindow(Me.Handle.ToInt32)

SkinFramework.ApplyOptions = SkinFramework.ApplyOptions Or _

SkinFrameworkApplyOptions.xtpSkinApplyFrame Or _

SkinFrameworkApplyOptions.xtpSkinApplyMenus Or _

SkinFrameworkApplyOptions.xtpSkinApplyMetrics _

Or SkinFrameworkApplyOptions.xtpSkinApplyColors

End Sub

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: 06 March 2009 at 2:06am
Hi,
 
FlatStyle have to be switched to System for all buttons
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2009 at 4:20pm
thanks, problem solved.
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.047 seconds.