Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 10, 2012 11:42 AM by priyankmtr
Member
12 Points
33 Posts
Apr 10, 2012 11:19 AM|LINK
What i do for this error ?
Error : The type or namespace name 'RavSoft' could not be found (are you missing a using directive or an assembly reference?) using RavSoft.GoogleTranslator; public void translate() { using (RavSoft.GoogleTranslator t = new GoogleTranslator()) { t.SourceLanguage = "English"; t.TargetLanguage = "Tamil"; t.SourceText = TextBox1.Text; } }
Contributor
6409 Points
1184 Posts
Apr 10, 2012 11:26 AM|LINK
You need to add a reference to a DLL containing the RavSoft namespace in your project.
Apr 10, 2012 11:29 AM|LINK
how will i do that ? goto add references--> and ?
2626 Points
526 Posts
Apr 10, 2012 11:30 AM|LINK
u can not use external dll without adding their reference into your project.
Goto References in your solution. browse your dll RavSoft.GoogleTranslator from your system. then compile it again.
Apr 10, 2012 11:34 AM|LINK
i dont have dll RavSoft.GoogleTranslator in my system then what will i do ? how to add that in my system when will i download that ?
Apr 10, 2012 11:35 AM|LINK
maddyrafi1987 how will i do that ? goto add references--> and ?
Yes, right-click your project, choose "Add reference", switch to the "Browse" tab and find your dll and click "OK". Then try to compile again.
Apr 10, 2012 11:42 AM|LINK
download it first then :-
http://www.codeproject.com/Articles/12711/Google-Translator
maddyrafi198...
Member
12 Points
33 Posts
Error
Apr 10, 2012 11:19 AM|LINK
What i do for this error ?
Error : The type or namespace name 'RavSoft' could not be found (are you missing a using directive or an assembly reference?)
using RavSoft.GoogleTranslator;
public void translate()
{
using (RavSoft.GoogleTranslator t = new GoogleTranslator())
{
t.SourceLanguage = "English";
t.TargetLanguage = "Tamil";
t.SourceText = TextBox1.Text;
}
}
mm10
Contributor
6409 Points
1184 Posts
Re: Error
Apr 10, 2012 11:26 AM|LINK
You need to add a reference to a DLL containing the RavSoft namespace in your project.
maddyrafi198...
Member
12 Points
33 Posts
Re: Error
Apr 10, 2012 11:29 AM|LINK
how will i do that ? goto add references--> and ?
priyankmtr
Contributor
2626 Points
526 Posts
Re: Error
Apr 10, 2012 11:30 AM|LINK
u can not use external dll without adding their reference into your project.
Goto References in your solution. browse your dll RavSoft.GoogleTranslator from your system. then compile it again.
(Mark as Answer If you find helpful)
maddyrafi198...
Member
12 Points
33 Posts
Re: Error
Apr 10, 2012 11:34 AM|LINK
i dont have dll RavSoft.GoogleTranslator in my system then what will i do ? how to add that in my system when will i download that ?
mm10
Contributor
6409 Points
1184 Posts
Re: Error
Apr 10, 2012 11:35 AM|LINK
Yes, right-click your project, choose "Add reference", switch to the "Browse" tab and find your dll and click "OK". Then try to compile again.
priyankmtr
Contributor
2626 Points
526 Posts
Re: Error
Apr 10, 2012 11:42 AM|LINK
download it first then :-
http://www.codeproject.com/Articles/12711/Google-Translator
(Mark as Answer If you find helpful)