Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In way over my head with this web stuff!
Message
De
10/04/2002 11:53:56
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00643132
Message ID:
00643254
Vues:
22
Hi Vlad,

>Just for your information: I remember, latest versions of West Wind WEB connection (www.West-Wind.com) contain an example of using of graphs.

I saw that article but it thought that it simply displayed a GIF image and didn't embed an activex control which is what I am trying to accomplish.

>To access the object and configure it, you require to use the Document property of the WEB Browser Control, that gives you a complete access to the DOM - Document Objects Model. These objects are similar to what you use when programming WEB pages by adding a Java Script code to them. The objects, properties and methods are described in MSDN. Also, for samples, just look for Java Script samples and DHTML samples.

Any ideas where I may find such samples?

>Once you managed to put ActiveX object and access it...

That's my problem. I don't know how to access the activex control. I can use FrontPage to add a chart control to my web page, however, once done, how do I get a reference to it from VFP? When I open the debugger I can see that there are some values that display when I watch:

_vfp.activeform.olebrowser.document

None of these things seem to be a reference to the chart control!

>As you see, to do all this, you have to learn and should have manuals/references for at least three things: HTML, DOM, objects model for ActiveX control you chosen to use for Graphs displaying.

Is there a DOM for the web browser that I can download?

>If you want to display just a chart to users, you do not need to do this in form of the WEB page. VFP can display ActiveX controls by self.

I know about the latter. In fact, I use Graphic Server's activex control in my VFP forms to show all types of charts and graphs with great success. I simply want to try the same ideas in a web page. Next, I want to try to put a grid, not a HTML table, in a web page...yeah I'm a sick puppy :)

>Good luck!

Somehow I know I'm going to need it. I'm going to have to learn HTML, scripting, blah, blah, blah. OK. I'm ready. Bring it on.


Thanks again for the reply.

Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform