First of all thanks to Thomas Higgins for helping me. But still there are
some problem facing:

I had used budapi for to detect the browser and to install the browser.
Following are the codes that I had used in the button which directs to the
html page. What I cannot figure out is, these codes run on the director
stage but when I make a projector file and click on the specific button
then it gives the message "script error".
Can any body help me to improve or figure out the my mistake on the below
script..

Thanking you in advance

prasis


on mouseUp
brow=baFindApp( "htm" )
if brow = "C:\Program Files\Internet Explorer\iexplore.exe" then
Result = baFileVersion( brow )
if Result < 5 then

"Your Browser support needs to be upgraded" & return & return & "Iexplore
5 may be installed" & return & "from the OnlyAtNepal CDROM", #ok)
set the text of field"statusFLD" = Result
open the moviepath & "qt-installer\ie6setup.exe"
quit
else
set the text of field"statusFLD" = brow
gotoNetPage "www.yahoo.com"
end if
else

brw="C:\Program Files\Internet Explorer\iexplore.exe"
browserName brw
Result = baFileVersion(brw)
if Result < 5 then

"Your Browser support needs to be upgraded" & return & return & "Iexplore
5 may be installed" & return & "from the OnlyAtNepal CDROM", #ok)
set the text of field"statusFLD" = Result
open the moviepath & "qt-installer\ie6setup.exe"
quit
else
gotoNetPage("www.yahoo.com", "_new")
end if
end if

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to