View Full Version : does autoplay can do this ?
Michael REMY
10-21-2009, 04:37 AM
hi !
i have this question: i wish to create a DVD menu for installing 250 software.
all software list, information, and EXE name are stored in a mysql database.
Does Autoplay menu can generate each page dynamiquement (title,exe link, text..etc) or must i create each page manually ?
any idea ?
Samio
10-21-2009, 05:24 AM
Hi.
You must make a page + objects.
when user select a program your app must be get program name and then change text, image, link and ...
for example
programname = "AMS"
Label.SetText("Label", programname)
Image.Load("Image", _SourceFolder.."\\Images\\"..programname..".png")
longedge
10-21-2009, 05:49 AM
You can create objects and populate them dynamically at runtime although for a single page and and a couple of objects it wouldn't be worth it in my opinion. You don't need more than one page.
There are other forum members who are more 'au fait' with mysql than I am who might perhaps help with interaction with your database. Search the forum first though because there are lots of posts/examples about database use within AMS.
Michael REMY
10-21-2009, 06:18 AM
thank for all your answers.
so, i'm blocked because i really need one page by one software .
Because i have to build some pages for menu (by software category).
For each software i have to present i will have :
-a title
-a logo
-a web link
-a button to install it from the CD
and on each page, i need a button to come back to the main categoy page.
longedge
10-21-2009, 06:36 AM
If I were doing something like this, then I would start with a welcome and introduction of some sort and a menu system allowing users to select items. When one was selected, I would populate the title, description, instructions etc and set the script for the button on the page.
Ulrich
10-21-2009, 06:37 AM
You don't need a separate page for each software. It is perfectly possible to store the image, and the text to be displayed for each software (title, description, web link etc.) in a database.
The smart way to build your project would be using a main page, and then a template for all softwares (or for at least all softwares in the same category) and fill the objects on the page with data extracted from the database, in runtime.
Ulrich
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.