如果我们设置这个,那么我们的应用程序的时间设置将会改变.我需要一些帮助,从控制面板更改我们如何解决这个问题.
请帮忙.
提前致谢.
解决方法
为了在Visual Basic 6应用程序中使用Unicode,这里有一篇文章,详尽的解释和示例:http://www.example-code.com/vb/vbUnicode1.asp
引用此链接:
Internally,VB6 stores strings as Unicode. Your VB6 program is capable of manipulating strings in any language containing any character — whether it’s Chinese,Japanese,Icelandic,Arabic,etc. It’s fully Unicode capable. A single string may contain characters in multiple languages. You can save these strings to databases,files,etc.,and there shouldn’t be a problem. Problems arise only when trying to display (i.e. render the glyphs) for foreign characters in the standard VB6 controls.
When displaying a string,the standard VB6 textBox and label controls do an implicit (and internal) conversion from Unicode to ANSI. This is the confounding behavior that causes all the trouble. Internal to VB6,the runtime is converting Unicode to the current Windows ANSI code page identifier for the operating system. There is no way to change this conversion short of changing the ANSI code page for the system.
The standard VB6 textBox and label controls display the ANSI bytes according to a character encoding that you can specify. After the Unicode-to-ANSI conversion,VB6 then attempts to display the character data according to the control’s Font.Charset property,which if left unchanged is equal to the ANSI charset. Changing the control’s Font.Charset changes the way VB6 interprets the “ANSI” bytes. In other words,you’re telling VB6 to treat the bytes as some other character encoding instead of “ANSI”. Note: VB6 is capable of displaying characters in all the major languages. It simply needs to be told to do so,and the correct bytes need to be in place internally for it to happen.