![]() |
Include Skin File In Exe Using vb6 |
Post Reply ![]() |
Author | |
kisuar ![]() Newbie ![]() Joined: 01 March 2011 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() 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 ? |
|
![]() |
|
Xander75 ![]() Senior Member ![]() ![]() Joined: 26 April 2007 Status: Offline Points: 353 |
![]() ![]() ![]() ![]() ![]() |
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) |
|
![]() |
|
Xander75 ![]() Senior Member ![]() ![]() Joined: 26 April 2007 Status: Offline Points: 353 |
![]() ![]() ![]() ![]() ![]() |
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) |
|
![]() |
|
ampcom ![]() Groupie ![]() Joined: 20 September 2008 Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
gibra ![]() Senior Member ![]() Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
![]() ![]() ![]() ![]() ![]() |
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.
![]() |
|
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 |
|
![]() |
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 |