[Ikvm-developers] Help : how to translate c# string to java string
Brought to you by:
jfrijters
From: sonagi K. <son...@gm...> - 2006-02-14 22:10:11
|
Hi, there! I am a newbie in this enviroment. I have used IKVM.Net for implement my application. i think it's really basic question. I cannot convert String Value(or variable) in .Net to Java String. For instance, below idxSearch=3Dnew IndexSearcher(strIndexPath); IndexSearcher has string value. In case, strindexPath has directory path. like this. "C:\Documents and Settings\hakkim\Local Settings\Application Data\indexing" I used this code in c# this.strIndexPath=3DPath.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData), "indexing"); when i run my app, i have met this kind of error. C:\Documents and Settings\hakkim\Local Settings\Application Data\indexing not a directory how can i deal with this problem? Could I translate String value from .NET to Java? thanks, Ryan |