When I run this program it just ends without loading my page. The page is there but it just doesn't work.
Can anyone suggest where I might be going wrong.
Global win2,gw,gh,id,contactwin
gw = ClientWidth(Desktop()) : gh = ClientHeight(Desktop())
win2 = CreateWindow("Brochure",0,0,gw,gh,0,1)
contactwin=CreateHtmlView(0,0,gw,gh,win2)
ChangeDir "c:\Diskstuff2"
HtmlViewGo contactwin,CurrentDir$()+"contact.htm"
Repeat
id = WaitEvent()
VWait
Until id=$803
FreeGadget contactwin
FreeGadget win2
This may be obvious to someone, but please be patient with me, I am a newbie!
Can anyone suggest where I might be going wrong.
Global win2,gw,gh,id,contactwin
gw = ClientWidth(Desktop()) : gh = ClientHeight(Desktop())
win2 = CreateWindow("Brochure",0,0,gw,gh,0,1)
contactwin=CreateHtmlView(0,0,gw,gh,win2)
ChangeDir "c:\Diskstuff2"
HtmlViewGo contactwin,CurrentDir$()+"contact.htm"
Repeat
id = WaitEvent()
VWait
Until id=$803
FreeGadget contactwin
FreeGadget win2
This may be obvious to someone, but please be patient with me, I am a newbie!