Print Page | Close Window

Include Skin File In Exe Using vb6

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=17980
Printed Date: 27 September 2024 at 6:36pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Include Skin File In Exe Using vb6
Posted By: kisuar
Subject: Include Skin File In Exe Using vb6
Date 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 ?



Replies:
Posted By: Xander75
Date 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)


Posted By: Xander75
Date 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 - 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)


Posted By: ampcom
Date 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


Posted By: gibra
Date 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



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