Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Netscape and OLE interface
Message
De
11/03/1998 09:30:39
 
 
À
11/03/1998 09:21:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00083860
Message ID:
00083863
Vues:
20
>Hi, All !
>I'm trying to use Netscape as an OLE object. Does anybody knows where I can get syntax for methods and properties ?
>TIA,
>Alex.

Alex... I paid $250 for the following answer from Netscape:
(it didn't help much!)

...........................................................


Hi,

You are embedding the Netscape as a OLE server.
This object does not provide any interfaces to
control it.

Alternatively you can use Netscape's OLE/DDE APIs.

OLE provides network and registry interfaces.
Get the more details at:
http://developer.netscape.com/library/documentation/communicator/OLE/index.htm

If you are trying to access network data as a stream
of bytes, then use Open(). This returns stream of data
to your application (Read()), without loading the page
into the Netscape window.

If you are trying to load page into this window,
then the only way is to use DDE API WWW_OpenURL.
This needs the window ID as a parameter, which
you need to identify using WWW_ListWindows and
WWW_GetWindowInfo topics.

Get the more details at:
http://developer.netscape.com/library/documentation/communicator/DDE/index.htm

Hope this helps,

Regards,
Ram.


>    Contact Email:
>    Product: Communicator
>    Product Version: 4.04
>    Technology: ACLAPI
>    Platform: PC
>    Version: NT Server 4.0
>    URL:
>
>    Description:
>
>    I have applied an OLE object in my Visual FoxPro form of a "Netscape
>    Hypertext Document".  When I run the form, I get a Netscape error which
>    cannot find the the URL (none specified)  After I double click on the
>    object, the Netscape toolbar appears and allows me to enter a URL.  The
>    typed URL appears in the object window.
>
>    What I need is to know how to control this object.  By having the
>    Netscape object as part of the form, I will be able to do all sorts of
>    database work with VFP and have the ease of navigation of the Netscape
>    browser.  What are the properties, methods, and events associated w/
>    this object?  I have tried thisform.oNetscape.URL="www.netscape.com",
>    and .location = "" and
>    thisform.oNetscape.Open("www.netscape.com","0x0") with no luck.
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform