Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with browser object
Message
From
01/12/2008 18:51:38
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01364734
Message ID:
01364976
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform