473,666 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft.Visua lBasic.Strings. StrConv

YAN
Hello,

I can successfully return a traditional String by following code when user's
OS is XP, but it return empty string when user's OS is 98, how can i slove
it??

iString = Microsoft.Visua lBasic.Strings. StrConv(iString ,
VbStrConv.Tradi tionalChinese, 2052)

YAN
Nov 21 '05 #1
2 3321
YAN,

I do not know direct the solution, the only what I saw in W9x computers was
that language settings do not much for languages. That is (was) managed
using the keyboard setting.

Maybe it helps something

Cor
Hello,

I can successfully return a traditional String by following code when
user's
OS is XP, but it return empty string when user's OS is 98, how can i slove
it??

iString = Microsoft.Visua lBasic.Strings. StrConv(iString ,
VbStrConv.Tradi tionalChinese, 2052)

YAN

Nov 21 '05 #2
"YAN" <YA*@discussion s.microsoft.com > schrieb:
I can successfully return a traditional String by following
code when user's OS is XP, but it return empty string when
user's OS is 98, how can i slove it??

iString = Microsoft.Visua lBasic.Strings. StrConv(iString ,
VbStrConv.Tradi tionalChinese, 2052)


Maybe this is caused by the limited support for Unicode in Windows 98.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
4025
by: Phill. W | last post by:
Is anyone writing VB.Net (2003) code /without/ referencing the Microsoft.VisualBasic namespace(?), regardless of whether its Import'ed or not? The Powers That Be here are trying to introduce a "standard" that we should be writing our "VB" programs /without/ using this namespace at all and relying instead solely on CLR functionality. Comments and Opinions please...
2
2100
by: Steve | last post by:
Having only recently migrated across from VB6 to VB.NET I'm still unsure whether or not I should be making (heavy) use of the Microsoft.VisualBasic namespace in new applications. I've read a lot of posts in the (VB).Net newsgroups and seen just about all of the For and Against arguments i.e. not using it = not coding in VB.NET, not using it = good OO. I'm also aware of the difference between this namespace and the compatibility namespace....
7
4326
by: Dale Beane | last post by:
When I try to run a program in the debugger I get the following error message. Any help? 'Microsoft.VisualBasic.Left' is not declared or the module containing it is not loaded in the debugging session.
5
10167
by: Avon | last post by:
Hi friends, Probably stupid question, Is it wrong or dangerous if I use some vb.net functions in c# via Microsoft.VisualBasic namespase? For example: Int32 a = Microsoft.VisualBasic.Strings.Asc("z"); Console.WriteLine(a);
3
3786
by: MLH | last post by:
?StrConv("SomeAddr@SomeDomain.net", vbFromUnicode) ??????????? When I use StrConv in the manner shown above, a bunch of question marks is all I ever see returned. Why might that be? Of what real use is StrConv? Can you give me a useful case example?
16
3838
by: cj | last post by:
I am under the impression they are obsolete methods included for backward compatibility. For instance is using filedatetime("c:\myfile.txt") still the accepted way of getting the date c:\myfile.txt was last modified? I see filedatetime is in the Microsoft.VisualBasic namespace. Is there some dim file as new something dim lastchanged as date = file.datetime method we are supposed to use now?
3
4003
by: AWW | last post by:
RichTextBox.Text = string & vbCR works but if I extract a substring with microsoft.visualbasic.left then vbCR stops working. I can do F5 executes with/without the Left and the vbCr does/doesNot work. Comment?
6
6748
by: =?Utf-8?B?R3JlZw==?= | last post by:
I have two questions with regards to the LEFT function. I ran into a problem with the LEFT function today. I knew it was a valid Function, but when I tried to use it, it was getting interpreted as the LEFT location of a control or something like that, instead of the LEFT function. (I want to extract the left portion of a string). Anyway, I knew what I needed was to find out what IMPORTS I was missing. After finding a posting on MSDN that...
32
2185
by: Greg | last post by:
I know I can use the Microsoft.VisualBasic.Left function to get the left portion of a string, but I would prefer to avoid using any Microsoft.VisualBasic namespace items. What is the equivilant in VB.Net 2005? Thank You Greg
0
8355
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8866
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8550
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8638
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6191
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4193
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2769
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2006
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1769
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.