|
-
Jun 1st, 2000, 09:18 AM
#1
Thread Starter
Junior Member
Hi
I'm stuck in a great problem.
I've made a Tip of the day program and have made a skin feature. Users can switch between skins. By default I've given three skins. The format is:
Application Directory
...Skins Directory
......Sun Warm (Name of skin 1)
.........FILE:main.jpg (the background of the form)
.........FILE:nextbtn.jpg (Next Button)
.........FILE:exitbtn.jpg (Exit Button)
.........FILE:skin.ini (SKIN COLORS INFORMATION FILE)
This tree is same for other skins. and the filename is also the same in different folders. Now when I create the package of the program, i give files of first skin and then when I add the first file of second Skin it says: A file named 'main.jpg' has already been added. What should I do?
Thanks in Advance
Kazim Zaidi (the cracker)
-
Jun 1st, 2000, 10:13 AM
#2
Fanatic Member
How about suffixing the filenames
main1.jpg
main2.jpg
DocZaf
{;->
-
Jun 1st, 2000, 10:28 AM
#3
Thread Starter
Junior Member
Thanks
Thanks for Answering....
But how would you know the filename from VB?
Kazim Zaidi (the cracker)
-
Jun 1st, 2000, 11:27 AM
#4
Fanatic Member
I think we may have crossed lines here....
I understood that you have created a program and now that it is time to PACKAGE it for DISTRIBUTION, when you add a file main.jpg from one folder it is accepted and when you add another file from another folder but with the same filename it gives you the error you said.
Have i understood you correctly?
If yes then just rename the file and in the setup wizard change the filenames to what you want in whichever folder you want.
Doc Zaf
{;->
-
Jun 1st, 2000, 10:23 PM
#5
Thread Starter
Junior Member
Big ThanX
Thanks for understanding my problem exactly and giving a perfect solution. I will try....however...one more question...How can I distribute 4 programs in one setup:
Tip Of The Day v1.0
.....Tip Of The Day -> tip.vbp
.....Skin Manager -> skinmng.vbp
.....Skin Maker -> skinmkr.vbp
.....Internet Update Program for Tips -> tipupdate.vbp
I have made the exe files in one folder.
The title program is Tip Of the Day v1.0
Thanks in Advance.
Kazim Zaidi (the cracker)
-
Jun 2nd, 2000, 03:00 AM
#6
You can distribute 4 of them by placing all 4 of them in a setup file using Inno Setup, which is much better than the VB setup wizard.
http://www.jrsoftware.org/
-
Jun 2nd, 2000, 10:07 AM
#7
Fanatic Member
You can creat multiple setups by:
Either using options buttons within your setup application.
That means you use the setup app in the samples directory and customise it.
Or
You create your 4 setups applications so each one owrks fine on its own, then you create another setup which will execute the four, one after the other, or you could use a batch file.
DocZaf
{;->
Have a look at the sample setup program,
its well documented!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|