Link to home
Start Free TrialLog in
Avatar of midmarketguy
midmarketguy

asked on

ASP.net Error while using Google Translator API

I am looking to build a ASP.net website that would have a webform where i can enter the text to be converted to English and on clicking submit button i need the converted text to be shown in the label of the form.

I tried using GoogleTranslateAPI.Net20.dll but i am getting errors. Can anyone guide me to the resource that had been developed in ASP.net so that i could use.
Avatar of midmarketguy
midmarketguy

ASKER

I get the following error

Google.API.Enumeration.op_Implicit(Google.API.Enumeration)

My code is as follows

 ' Enter the URL of your site here
            Dim trans As New Google.API.Translate.TranslateClient("http://localhost:3255/www.Translatorx.com")
 
           
            Dim translated As String = trans.Translate(SourceText.Text.Trim, Language.German, Language.English)
            Response.Write(translated)
           
ASKER CERTIFIED SOLUTION
Avatar of Kumaraswamy R
Kumaraswamy R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial