Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Include Skin File In Exe Using vb6
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Include Skin File In Exe Using vb6

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


Joined: 01 March 2011
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote kisuar Quote  Post ReplyReply Direct Link To This Post Topic: Include Skin File In Exe Using vb6
    Posted: 01 March 2011 at 11:12am
Hy all,
How can i include the skin file in my exe using vb6??
can any1 help me to do that ?
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2011 at 3:05pm
Hi,

I have code that can do this, however I am not back in the office until Tuesday the 3rd of May 2011. I will upload a sample project that shows how to not only add the Skins but any file, I use this method to apply Alpha Icons to my projects for the compiled exe i.e. the application icon you see in the top left of forms or the icon on the desktop.
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2011 at 3:58am
Hi,

As promised here is a way to include the CJStyles within your VB6 application. I have also shown you how to add Alpha Icons to VB Forms and the Project within this sample too.

Be advised to see the Alpha Icons you must first compile the application, at design time these are not visible however the CJStyles will work.

Follow the Step in the "Readme - How to use.txt" file.

uploads/2960/How_to_use_a_Resource_File.rar

I hope this helps.


Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
Back to Top
ampcom View Drop Down
Groupie
Groupie


Joined: 20 September 2008
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote ampcom Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2011 at 1:54am
Thanks for sharing this excellent code, this is something I too have been trying to include in my project.
 
Tony
 
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows 7 (64 Bit) Ultimate
Language: Visual Basic 6.0
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2011 at 5:07am
ampcom,
take note that however each (any) file must be saved on the disk, before to use it.
If you read code with attention you should see where .styles are loaded from resource and saved as file.
 
Then, why load them into EXE (as resource) ?
There isn't advantages, other than to increase (unnecessary) the EXE dimension.
 
IMHO.
 
Wink
 
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8
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.109 seconds.