Vb or .NET or any other way its going to take a lot of work and I probably have dive deep into the subject.
For now I am going to put on the back burner, -Sam > -----Original Message----- > From: Craig Graham [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 14, 2004 12:01 PM > To: Sam Behashtei > Cc: [EMAIL PROTECTED] > Subject: Re: Unicode > > > Sam Behashtei wrote: > > Thanks to Craig. and PJM for replying. > > we are now in 2004 and the use of Unicode is growing. I am > looking at > > Unicode so that I can display and process text in other > languages than > > the ones mentioned above. > > I remember now why I gave up; the MS controls don't let you > get an array of character codes or anything, since they pass > back a Unicode string. Unfortunately Labview downcasts this > so you can't use it, although frsutatingly you can paste > Unicode text into it and it displays correctly. You can't > even get the value as a variant from one text box and feed it > into another. > > The only way I can see to do this is to make a new textbox > ActiveX component in .NET inherited from the standard one and > with a couple of extra members to allow getting and setting > the text via arrays of integers to represent the characters. > Doable if you really have to, and not really that much hassle > since you won't have to do all the autosize stuff as was > necessary when doing this kind of thing with VB6. > > Unfortunately, I've had a tinker for a few minutes and I > can't see how to do this with .NET! You can no longer make > ActiveX controls in VB; instead you can make either a > "Windows Control Library" or a class library. Both of those > can inherit from the text box, both make assemblies that can > be found and referenced from Labview 7, but neither produces > anything that can go into an ActiveX container and I can't > figure out how (if it's even possible) to instantiate the > control and make it appear on the panel at run time. Which is > a bit odd- it's a step backward not being able to do controls > in Visual Studio any more for use in Labview! Both of these > entities can be used as controls in other .NET projects, but > that doesn't help a great deal. > > In VB6 you can do it, but since it lacks inheritance you have > to manually wrap all the properties of the textbox that > you're likely to need, and you'll have to make your own > resize code. Very tedious, but it is an option if you have > VB6 floating around- I don't think you can buy it any more. > > -- > Dr. Craig Graham, Software Engineer > Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/ > > >