PDA

View Full Version : searching for file


dallasfreak
05-15-2001, 09:28 PM
im working on a menu that will give u the possibility of downloadable updates for it. In the menu, I have it read the registry for update location, names, and a little bit more info. I'm leaving the names open for now for i dont know exactly which files are going to be in need of updates. Everything is working out for it except for one thing. In the prelim tests, it reads the location fine, when u search for the file, it recognizes the right name. When it tells u "about to update whatever" in a show dialog box, it displays correctly. It just does not display the name correctly in the message for searching for exe. i have it set up like this.
read from registry: Update1exe
Search for file: update1exe
if can not find show message: "Can not find file %update1exe% if u want to browse...."

instead of it replacing update1exe in the browse message with the value read from the registry, it actually outputs the following:
"Can not find the file %update1exe%, to search..."
when u click on browse, it will browse for the right file and display it for what it is
IE. myfile.exe

Is there a way to make this message bos display a variable in this message?

Adam
05-16-2001, 10:10 AM
DallasCowboy,

I have just tried to use a variable in a dialogue box and it appeared correctly. So the problem lies in setting that variable, That is where you lost me, but from your explanation your plan should work (may just need some tweaking). If you still can't get it to work just keep posting and I'm sure we can figure it out.


------------------
Adam Kapilik
Indigo Rose Corporation

dallasfreak
05-16-2001, 10:53 PM
just an add on -- cowboy??
GRRR!!
http://www.indigorose.com/ubb/images/icons/smile.gif

dallasfreak
05-17-2001, 12:35 AM
yeah I thought it might....here is some clarifiation
Im doing a Variable>Browse for file. The specific place I'm using the variable and not working is in the Browse Prompt dialog.
it is set up just like all other variables,:
"can't find %whatever%, please search...."
hope this clarifys

Adam
05-18-2001, 12:11 AM
DallasFreak,

I have replicated your problem and have found it to be a bug in AutoPlay Menu studio 3.0.0.5. I have submitted this bug to the developers http://www.indigorose.com/ubb/images/icons/mad.gif and I have been assured that it will be fixed on the next minor release. For more information you can e-mail me adam@indigorose.com . Good Job


------------------
Adam Kapilik
Indigo Rose Corporation

[This message has been edited by Adam (edited 05-17-2001).]