wobbly
02-10-2006, 07:25 PM
i would like to make a cd with free ware games on it
and on the first page have:
eg
word games
card games
click word games and have a list box pop up with all my word games to install
then click a game in the list box and have it iinstall
is there an easy way to do this
Roboblue
02-11-2006, 12:23 AM
HERE (http://www.durotechs.com/download/gamelist.zip)is an example, but it has a lot of other things going on. I didn't have time to start an example from scratch. It's too big to upload because of the exe files in the examples.
Here's the locations of the important code.
Page On Show event:
Just pay attention to the code below the line that says "---Start Of List Box script"
Top List Box On Select event:
Look At everything.
Bottom List Box On Double Click event:
Look At everything.
If you are installing a game, then you probably want everything to wait until it's installed, so change this code in the bottom List Box
result = File.Run(sPath, "", "", SW_SHOWNORMAL, false);
to:
result = File.Run(sPath, "", "", SW_SHOWNORMAL, true);
I am using calc.exe renamed as game files, so when you double click any game, it will execute the calculator for each, so don't think it's not working.
A variation of this would be to use the top list box to list the game types. When a type is selected, use the Thumb List object to display a thumbnail of the game to double click on to start the install.
wobbly
02-11-2006, 02:13 AM
thx for your help that will do the trick
just for anyone trying this
after ld the exampel and running it
(i could not see where it was getting the files from i was going nuts LOL)
look in
My Documents\AutoPlay Media Studio 6.0 Projects\gamelist\CD_Root\AutoPlay
it will help you to see whats gong on thx again
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.