Vista - ApplySkin Not Working - Dependencies Req |
Post Reply |
Author | |
nklarun
Newbie Joined: 02 November 2006 Location: India Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 10 January 2007 at 10:07am |
Hi,
Client Machine Details:
OS: Windows Vista 2 RC1 - Build 5600
We have registered all Codejock v10.3.1 OCX files in the window vista client machine including (Codejock.SkinFramework.Unicode.v10.3.1.OCX) and just tried the simple application.
Private Sub Form_Activate() SkinFramework.LoadSkin App.Path + "\Office2007.cjstyles", "" SkinFramework.ApplyWindow Me.hWnd SkinFramework.ApplyOptions = SkinFramework.ApplyOptions Or xtpSkinApplyMetrics End Sub It throws the below error and unable to open the application.
[Code attached for your reference as a zipfile] We need to know what are all the dependencies files required for Codejock to work for Window Vista/how to fix this? Thanks in advance!
|
|
..:NklArun:..
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Quite weird, but seems Vista don't have mfc42u.dll by default. Hope Microsofts will include it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
nklarun
Newbie Joined: 02 November 2006 Location: India Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Hi Oleg,
I check with that Vista Client machine and "mfc42u.dll" is available and also registered.
Now too application throws the same error.
How can we fix this issue?
Thanks is advance!
|
|
..:NklArun:..
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Then Codejock.SkinFramework.Unicode.v10.3.1.OCX was not registered properly. Guess because of priveledge. create bat file:
regsvr32 pathtoocx\Codejock.SkinFramework.Unicode.v10.3.1.OCX
right click on this bat file and choose run as administrator.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
blkn
Newbie Joined: 07 November 2006 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
When we register the component, by a creating a batch file and choose to run as administrator, it got registered and Our test application run as usual. But we struck at place as when we use the commandbarglobalsetting object or any of the globalsettings objects of the codejock. How to solve this issue? or what is the workaround for this..?
sample code as follows...
CommandBarsGlobalSettings.App = App
or
SkinFrameworkGlobalSettings.License = ""
Thanks in advance.
|
|
Bala...
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
What happned in CommandBarsGlobalSettings.App = App? Application hangs ?
try to call
CommandBars.GlobalSettings.App = App.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
blkn
Newbie Joined: 07 November 2006 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
Hi Oleg,
When we use 'CommandBarsGlobalSettings.App = App' the application throws the runtime error.
But It works fine when we change code as you recommended,
CommandBars.GlobalSettings.App = App.
Secondly, What is the workaround to be used in case of licensing the component. for example...
Private SkinFrameworkGlobalSettings as new XtremeSkinFramework.SkinFrameworkGlobalSettings
SkinFrameworkGlobalSettings.License = "license string"
Best Regards,
|
|
Bala...
|
|
blkn
Newbie Joined: 07 November 2006 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
Hi Oleg,
Is there is any work to be used in case of licensing the component. for example...
Private SkinFrameworkGlobalSettings as new XtremeSkinFramework.SkinFrameworkGlobalSettings
SkinFrameworkGlobalSettings.License = "license string"
It is very urgent... |
|
Bala...
|
|
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 |