Print Page | Close Window

VB.NET 2003 + AxSkinframework 12.1.1

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=13594
Printed Date: 30 June 2025 at 1:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VB.NET 2003 + AxSkinframework 12.1.1
Posted By: iamgtd
Subject: VB.NET 2003 + AxSkinframework 12.1.1
Date 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




Replies:
Posted By: Oleg
Date Posted: 06 March 2009 at 2:06am
Hi,
 
FlatStyle have to be switched to System for all buttons


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


Posted By: iamgtd
Date Posted: 09 March 2009 at 4:20pm
thanks, problem solved.



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