![]() |
VB.NET 2003 + AxSkinframework 12.1.1 |
Post Reply ![]() |
Author | |
iamgtd ![]() Senior Member ![]() ![]() Joined: 25 February 2009 Status: Offline Points: 131 |
![]() ![]() ![]() ![]() ![]() 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 AxXtremeSkinFrameworkPublic 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ügenInitCommonControls() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
FlatStyle have to be switched to System for all buttons
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
iamgtd ![]() Senior Member ![]() ![]() Joined: 25 February 2009 Status: Offline Points: 131 |
![]() ![]() ![]() ![]() ![]() |
thanks, problem solved.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |