aplelois
asked on
Aplying Skin to app with ActiveSkin 4.3
Hello,
I have made my own skin for my little application that I have in VB.
I am using ActiveSkin 4.3 to build the skin everything is fine im just
wondering if there is anyway to have the file.skn inside the .exe
so I dont have to have two files to run one app..
I order for me to run it correctly I need to have the .skn in the same folder.
can anyone give me any suggestions ?
thanks
I have made my own skin for my little application that I have in VB.
I am using ActiveSkin 4.3 to build the skin everything is fine im just
wondering if there is anyway to have the file.skn inside the .exe
so I dont have to have two files to run one app..
I order for me to run it correctly I need to have the .skn in the same folder.
can anyone give me any suggestions ?
thanks
I am not sure but you may be able to save the skn file in a VB resource file and then call it from the resource file. When a VB app is complied the resource file is compiled with it.
http://visualbasic.about.com/od/usevb6/a/ResVB6.htm
follow that tutorial and you will see how to include a resource and use it
follow that tutorial and you will see how to include a resource and use it
and when you have a resource, you can save it to the current path while running,
and delete it after running
ASKER
well if i send the .exe to my friends will they be able to see it right?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>>http://visualbasic.about.com/od/usevb6/a/ResVB6.htm
>>follow that tutorial and you will see how to include a resource and use it
it is not filename.res it is skin.skn
if I dont have skin1.skn and I run the .exe I get and error and it doesnt load.
the .skn file is the skin I made using ActiveSkin but I only want file.exe to have everything.
so I dont have to send the two files to my friends.
this is the source code
--------------------------
Option Explicit
Private Sub Form_Load()
skn.LoadSkin App.Path + "\sources\Skin1.skn"
skn.ApplySkinByName Me.hWnd, "Simple"
End Sub
>>follow that tutorial and you will see how to include a resource and use it
it is not filename.res it is skin.skn
if I dont have skin1.skn and I run the .exe I get and error and it doesnt load.
the .skn file is the skin I made using ActiveSkin but I only want file.exe to have everything.
so I dont have to send the two files to my friends.
this is the source code
--------------------------
Option Explicit
Private Sub Form_Load()
skn.LoadSkin App.Path + "\sources\Skin1.skn"
skn.ApplySkinByName Me.hWnd, "Simple"
End Sub
ASKER
you can download a sample source code that includes a sample skin,
I have exactly the same thing exept for the skin file that is different.
http://rapidshare.de/files/10232206/skin.7z.html
I have exactly the same thing exept for the skin file that is different.
http://rapidshare.de/files/10232206/skin.7z.html