Hai,
Earlier we had an application that was implemented using VC 6.0 and ultragrid 2.0 and it was working fine. in that application we were displaying japanese text also and it was fine with VC 6.0 and ultragrid 2.0
But later the same application was upgraded to Visual studio 2008(with VC++) along with ultragrid 2.0, even it was also fine in most of the aspects, but after upgrading to VS 2008, for japanese text it is showing some junk like characters, it is a huge project, so it cannot be re-implemented from the scratch and we need to use only VC++(not any other language). so now the problem is to display japanese text in the ultragrid, what i have to do to achieve this. is there any more changes to settings or something else i need to do for VS 2008, please any body help me, as i badly require this.
and also i dont this is the correct forum to post or not, if not for which forum i need to post it?
thanks and regards,
palaksha
Hello palaksha,
There should not be any settings that you need to change in order to show Japanese characters in the UltraGrid.
It's possible that when you upgraded the solution to VS2008, the files were saved in a different encoding. I've run into that problem before where it shows 文字化け (junk characters), but it's usually because the file is incorrectly encoded. I use UTF8 encoding if possible.
Do you have a backup of the VC6.0 project? If so, could you check that the files are encoded in Unicode? After that, look at the upgraded project and see if the same files have their encoding changed. If the files were not Unicode in the VC6.0 project, please try to encode them as Unicode, and then upgrade the project (back up your project before upgrading).
Also, were you upgrading the version of NetAdvantage (ultragrid)? If so, what version were you upgrading to? I would recommend using the latest Version Utility, which is available on our website as a free download.
Elizabeth AlbertLocalization Engineer
Thanks Elizabeth Albert for your reply,
Yes earlier when we first implemented the project, it was using _MBCS settings, with VC 6.0,
But later it is upgraded to VC 2008 with same _MBCS character set, there we got issue with japanese text display in the ultragrid,
And as per your suggestion i took old code of vc 6.0[which was fine for japanese] and converted it to Unicode support and then upgraded to VC 2008, even with that i am not able to display japanese text in Ultragrid. My doubt is is does Ultragrid 2.0 support VC++ 2008[As it is .net platform] or not?
then what i have to do for supporting jP text in grid.
And what about upgrading the version of NetAdvantage(ultragrid), does NetAdvantage and Ultragrid are same. does upgrading to NetAdvantage support VC 2008? please help me, as I am stupid on these things.
Hello,
I believe that for the UltraGrid 2.0 that you are referring to the COM component that was provided in the past. These controls were retired in 2005 and weren't tested for use in .Net applications.
If you were to upgrade to a current version of NetAdvantage, the controls still wouldn't be tested in Visual C++. In theory they may still work though this isn't among the supported environments that we list here. If you do use the controls in Visual C++, I would recommend that any issues you see that you also test the controls in a Windows Forms application using C# or VB to see if the issue is specific to the environment or to the usage of the control.
Let me know if you have any questions with this matter.
Ok,
can you tell me, if i want to use upgraded version of Ultragrid(NetAdvantage) for VC++ application which infragistics controls i have to select?
The UltraGrid is part of the NetAdvantage for Windows Forms product and the control name is UltraGrid. If you would like more details on the controls included in the NetAdvantage for Windows Forms product, you can see this on the overview page:
http://ko.infragistics.com/dotnet/netadvantage/winforms.aspx#Overview
thanks Alan,
I gone through the link you give, but in that page, under NetAdvantage controls, Ultragrid is not at all mentioned? can you tell me is it still available control under NetAdvantage for windows Forms controls.
pal
Pal,
On that page it is referred to as the WinGrid and it is the first control listed. You can also use this link to get to the overview page for the WinGrid/UltraGrid:
http://ko.infragistics.com/dotnet/netadvantage/winforms/wingrid.aspx#Overview