![]() |
|
#1
|
|||
|
|||
![]()
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... Code:
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 clipboard.PutInClipboard End Sub 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. |
#2
|
|||
|
|||
![]()
I gave up at this kind of solution. I found something simple working in all environments...
Needed only one TextBox (named txtClipboard)... Code:
Me.txtClipboard.Text = "watever text you wont to put in Clipboard..." Me.txtClipboard.SelStart = 0 Me.txtClipboard.SelLength = txtClipboard.TextLength 'Put text in Clipboard... Me.txtClipboard.Copy Is it a way to automate 'Edit Bitmap...' button click in Corel? Last edited by FaneDuru; 19-11-2016 at 12:35. |
#3
|
|||
|
|||
![]()
To 'click' Edit Bitmap... button:
Code:
Application.FrameWork.Automation.Invoke "8c5788af-83c6-4ff7-bf11-ce603cf13c08" |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |