I have used similiar to this successfully before

on prepareMovie
set gMybrowser=baFindApp("htm")
 end 

on mouseUp
if gMybrowser="" then 
        call an MUI and use
        set ok = baShell( "open",The moviePath & "InstallFile","", "", "normal"
) to install
  else
    myfiletoOpen=the moviepath&"Yourfile.htm"
    set ok = baOpenFile(myfiletoOpen, "maximised")
   -- or you can use open myfiletoOpen with gMybrowser
end

hope this makes sense
regards
Brad


> 
> Date: Tue, 23 Jan 2001 11:35:04 -0500
> From: Kurt Griffin <[EMAIL PROTECTED]>
> Subject: Re: <lingo-l> Problem in checking the browser installed or not
> 
> > on mouseUp

> > set ok = baOpenFile("htm/a.htm", "maximised")
> > if ok = 31 then alert ("Install browser")
> > end
> >
> > As browser is also an application why my above code is
> >
> > not working.
> > Iam not able to open the browser itself.
> 
> You need to use a full pathname - such as "c:\files\htm\a.htm" or (the
> moviepath & "htm\a.htm")
> 
>

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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