Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Browser Control / Treeview Conflict
Message
From
17/04/2002 10:04:17
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00642295
Message ID:
00645869
Views:
17
Hi Michael,

I read your messages and was happy to see that there is someone else "out there" using the web browser control with VFP. I'm also glad to see that you've solved your problem.

I hope that you may be able to shed some light on a problem that I'm having using the web browser control. I put an activex control on a web page that I display using frames. I want to be able to access the activex control from VFP so that I can change its properties (its a charting control so I want to be able to change the chart style from say bar to line, etc.) When I try to make a reference to the activex control using:

_vfp.activeform.browser1.document.all("chart")

VFP always returns a .NULL. object (in the debugger).

Do you know where I'm going wrong? Should I not be able to access the activex control from VFP? I get the feeling that maybe the frame web page needs to be in the heirarchy somewhere, but, how do I refer to it?

Any suggestions and/or comments are welcome.

TIA

Mike




>I found the cause of the error. The circumstances which I thought caused the problem turned out to be erroneous.
>
>The reason this was happening was that I had a selected table with a field called "url". Somehow this was clashing with the url parameter required by the BeforeNavigate2 method. Changing the name of the field to something else made the problem go away.
>
>MR
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform