Print Page | Close Window

CommonDialog doesn't return unicode file names

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=21872
Printed Date: 06 May 2024 at 1:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommonDialog doesn't return unicode file names
Posted By: rumblefish1978
Subject: CommonDialog doesn't return unicode file names
Date Posted: 02 September 2013 at 9:51am
I'm using CodeJock CommonDialog control with a legacy VB6 system. I'm using the ShowOpen method to get file names from the user.
The problem is that filenames in Arabic, Thai and other languages return as question marks. Hebrew, for some reason, returns OK - might be because my system is setup to use Hebrew for non-unicode applications.
Isn't the CommonDialog based on GetOpenFileName, which has a unicode version (GetOpenFileNameW)? Is there a way to make it all work in unicode?



Replies:
Posted By: dbenito
Date Posted: 10 September 2013 at 6:18am
Are you sure you're using the Unicode version of the XtremeSuiteControls component? You may need to use CodeJock's COM Registrator tool to register the correct version.

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6

Platform: Windows 8.1 (64bit)

Language: Visual Basic 6.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net