Thanks all,
I completely redid my form. This time I started with the webbrowser control and added a couple of buttons to navigate and it worked
then I added the treeview and the rest of the code and voila! it works now. most of the code i just copied from the old to the new form.
I couldn't see any big differences. maybe the web browser control was damaged.
Thank you all for your input
Peter
>Peter,
>
>You may be dealing with a malformed HTML document. Can you try just a simple
>
>
><html><body>test</body></html>
>
>
>output first to see if it works? If so start trimming out your generated content until you find what's causing the error.
>
>
http://validator.w3.org/>
>Or open the html doc in Visual Studio or an HTML aware editor and have it validate the content.
>
>
>>>I just received your file.
>>>The strangest thing is that it shows correctly when I use Solution Samples "Create a Visual FoxPro web browser" and navigate to that file. but when I use:
>>>
>>>oShell = CREATEOBJECT("Shell.Explorer.2")
>>>oShell.Navigate("file://full path to the file")
>>>
>>>it gives me "0x80004005 unspecified error"
>>>What an useful error message, don't you think? :-)
>>
>>
>>that's probably why vfps message has no text just an ok button
Peter Cortiel