M
mail_garp
Hi Folks,
I try to call the Google Web Service API (http://api.google.com/
GoogleSearch.wsdl) by using the Web Service Reference Tool and the
appropriated VBA code.
---------------
Public Sub testws()
Dim objGWS As clsws_GoogleSearchService
Set objGWS = New clsws_GoogleSearchService
Dim result As String
Dim MyLicenseKey As String
MyLicenseKey = "<mylicense key"
Dim Checkword As String
Checkword = "Vidual Basec"
result = objGWS.wsm_doSpellingSuggestion(MyLicenseKey, Checkword)
MsgBox "Search result:" & result
End Sub
-------------
Everything looks good, however, I get the following error when running
the code:
Run-time error '-2147221504 (80040000)'
Automation error Invalid OLEVERB structure
Any ideas what the problems are?
I am running this on Office 2003 - .Net Framework 2.0.
Thanks in advance for all replies !
I try to call the Google Web Service API (http://api.google.com/
GoogleSearch.wsdl) by using the Web Service Reference Tool and the
appropriated VBA code.
---------------
Public Sub testws()
Dim objGWS As clsws_GoogleSearchService
Set objGWS = New clsws_GoogleSearchService
Dim result As String
Dim MyLicenseKey As String
MyLicenseKey = "<mylicense key"
Dim Checkword As String
Checkword = "Vidual Basec"
result = objGWS.wsm_doSpellingSuggestion(MyLicenseKey, Checkword)
MsgBox "Search result:" & result
End Sub
-------------
Everything looks good, however, I get the following error when running
the code:
Run-time error '-2147221504 (80040000)'
Automation error Invalid OLEVERB structure
Any ideas what the problems are?
I am running this on Office 2003 - .Net Framework 2.0.
Thanks in advance for all replies !