关于在winform端实现国际化的问题。

zjjxxhn19840204 2007-12-21 11:27:53
大家好,第一次在csdn登入,也每积分,哪位路过的要是知道怎么解决就高抬贵手吧。
谢谢。
Dim asm As System.Reflection.Assembly
asm = System.Reflection.Assembly.GetExecutingAssembly()

Dim rm As New System.Resources.ResourceManager( _
asm.GetName().Name + ".myResources", asm)
Dim s As String = rm.GetString("test")

以上是我想读取的一个简单操作,执行Dim s As String = rm.GetString("test")时,却报错了
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "test.myResources.resources" was correctly embedded or linked into assembly "test" at compile time, or that all the satellite assemblies required are loadable and fully signed.
...全文
54 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
zjjxxhn19840204 2007-12-21
  • 打赏
  • 举报
回复
怎么没人来回答啊,哎,vb.net看来真是没人气啊。。。。。。

16,554

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧