Hi,

I know! I know! This may have been asked thousands of time... I have
searched all night and could not find any reference on how to do this.

I wrote a VB6 application containing a WebBrowser object. If I put my
script in a file, it works. The maps appear. Of course, "file://"  do
not need a key. If I put my script in my WebBrowser.Document object,
it tells me my API key is not registered to this site. How can I have
a key that match an application?

Any help or pointer is appreciated. Thanks.

Here's my VB6 code below:
------
WebBrowser1.Navigate2 ("about:blank")

WebBrowser1.Document.Open
WebBrowser1.Document.write script_var  'where script_var contains the
same javascript as in my working html file

'wait for document to load
Do
    DoEvents
Loop While WebBrowser1.Busy

WebBrowser1.Document.Close
-------


Kindly,   TurboCCC

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to