代码页-VIsual Basic 6 - 字符集 [英] Code Pages -VIsual Basic 6 - Char set

查看:92
本文介绍了代码页-VIsual Basic 6 - 字符集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编码语言:Visual Basic 6(windows窗体)

Coding language: Visual Basic 6 (windows forms)

我想将visual basic中的charset设置为"x-iscii-de"。

I want to set the charset in visual basic to "x-iscii-de".

在visual basic表单中,我们可以通过设置control.Font.Charset 来设置编码。价值,但 这个值只需要整数,所以我需要以下帮助。

In visual basic forms we can set the encoding by setting the control.Font.Charset  value, but  this value only takes integers, so I want help in following.

1)char集的等价整数" x-iscii-de"或者我可以告诉控制使用这个字符集的方法。

1) An integer equivalent of char set "x-iscii-de" or a way I can tell control to use this charset.

或2)一种覆盖"字体"的方法。控件的类,以便它可以接受字符串字符集。

Or 2) A way to override the "Font" class of the controls so that it can accept the string charsets.

或3)一种更改注册表项的方法,以便我使用代码页 为其支持charset, 但是在注册表项下面指向我想要的代码页。比如说改变代码页"A"的注册表项。指向"Nls"
代码页文件"B"。因此,使用代码页和char集"A"。实际上将使用nls文件中代码页B的值。这可能是可能的。

Or 3) A way to change registry entry so that I use a code page  for which the charset is supported,  but the under the registry entry points to the code page I want. Say change the registry entry of code page "A" to point to "Nls" file of code page "B". So using the code page and char set of "A" will actually be using the values from the nls file for code page B. This might be possible at all.

约束:旧的遗留应用程序已经编写,无法使用.net,无法使用USIcontrols或Unicode控件(form2.dll)。必须使现有的应用程序工作,只能在我们的单一桌面上使用一种语言。

Constraints: Old legacy application already written, cant use .net, cant use USIcontrols or Unicode controls (form2.dll). Had to make existing application work, only on our standalone desktops for one language.

任何帮助都将不胜感激。

Any help will be greatly appreciated.

推荐答案

此论坛支持.Net Framework的Visual Basic(VB 7及更高版本) )。有关VB 6代码的帮助,请尝试以下论坛之一:

This forum supports Visual Basic for the .Net Framework (VB 7 and later). For help with VB 6 code, try one of these forums:


这篇关于代码页-VIsual Basic 6 - 字符集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆