OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-12-2008, 08:43
Andrija
Guest
 
Posts: n/a
Default Unicode problem

Hi.
I am trying to create text file with same name as corel document (but with txt extension). Everything works fine except when corel document name contains Cyrillic characters (eg. Ж). I get path and document name from ActiveDocument.FullFileName. When I add string variable to watch window it shows "????.cd" instead of "ЖЖЖЖ.cdr". Also file creating:

nFileNumber = FreeFile
Open sFileName For Append As #nFileNumber

fails with Err.Description "File name or number wrong".
Reply With Quote
  #2  
Old 03-12-2008, 03:18
Joe Joe is offline
Member
 
Join Date: Nov 2008
Location: Latvia
Posts: 92
Send a message via Skype™ to Joe
Default

Just did some tests and both Cyrillic filenames and variables seem to work just fine (On CD X4 SP1 on Windows Vista). What version of CD are you using?
Reply With Quote
  #3  
Old 03-12-2008, 05:51
Andrija
Guest
 
Posts: n/a
Default

I program VBA macros for Corel X3 and X4. OS is Win XP SP3. I have same problem with both Corel version. It works fine with Latin characters, but not with Cyrillic.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Whether the VBA can work with Unicode . Dino CorelDRAW/Corel DESIGNER VBA 5 27-08-2003 16:13


All times are GMT -5. The time now is 17:35.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com