OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > Macros/Add-ons

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 18-11-2016, 15:47
FaneDuru FaneDuru is offline
Join Date: May 2012
Posts: 35
Question PutInClipboard does not work in X8 32 bit...

I have a gms file which I used many times in X6 (32 bit). It worked without problems and I am trying to use it in X8 (32 bit) and works without PutInClipboard...
A code like following does return two question marks each time (in Debug.Print Window)... In fact it returns:"??". I Pasted from clipboard. In the edit window I could see two rectangles...
Sub CopyToClipboard()
    Dim clipboard As MSForms.DataObject
    Dim strSample As String

    Set clipboard = New MSForms.DataObject
    strSample = "This is a sample string"
    clipboard.SetText strSample
End Sub
I of course have the reference to "Microsoft forms 2.0 object library". The code works in Excel 2010 on the same computer (Windows 10)...
It looks the text is in clipboard but but not Unicode...
Any clue?
Thanks in advance!

Last edited by FaneDuru; 19-11-2016 at 12:19.
Reply With Quote

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
Getting Add-ins to work with CorelDRAW's VBA Joe CorelDRAW/Corel DESIGNER VBA 4 21-09-2015 09:58
why it can't work? engandy CorelDRAW/Corel DESIGNER VBA 1 04-10-2008 23:38
won't work doodedoo Calendar Wizard 7 06-12-2006 20:09
Whether the VBA can work with Unicode . Dino CorelDRAW/Corel DESIGNER VBA 5 27-08-2003 16:13
VBA does not work with my CD 10 ! jobar CorelDRAW/Corel DESIGNER VBA 1 24-08-2003 12:38

All times are GMT -5. The time now is 12:56.

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