Page 1 of 1

Webgadget...

Posted: Wed Sep 03, 2003 3:54 pm
by Skipsy
Hello,

I just want to display an htm page in a window.

What's wrong in this ?

Code: Select all

OpenWindow(1, 1, 1, 200, 200,#PB_Window_SystemMenu, "test htm")  
CreateGadgetList( WindowID() )
WebGadget( 1, 10, 10, 190, 190, "test.htm" )
It displays nothing :!: :!:
Thks guys.

Posted: Wed Sep 03, 2003 3:56 pm
by freedimension
Is the File in the same directory as the Exe?
Try the full path to the Html-File.

Posted: Wed Sep 03, 2003 3:58 pm
by Fred
you have an event loop, right ?

Posted: Wed Sep 03, 2003 4:31 pm
by freak
You MUST specify the full path for a local html file.

Read more about that in this thread:
viewtopic.php?p=25107#25107

Timo

Posted: Wed Sep 03, 2003 4:56 pm
by Skipsy
yes I have a while 1/wend loop then.

I forgot to mention that it does not point to an URL but to an HTM page.
Is it permitted ?
I have also tried to change the last parameter with :
"c:/PB/htm-test/test.htm"

:?: :?:

Posted: Wed Sep 03, 2003 6:07 pm
by Skipsy
Yeesssssssssssssssss

The solution was in the link you gave me.

I did a search yet... Perhaps I have 2 left hands :wink:

Thks