OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > OberonPlace Discussion > Testing

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16-03-2010, 12:52
misterben
Guest
 
Posts: n/a
Question CorelDraw 12-X4 doesn't embed VBA under windows 7

I am having a problem with CorelDraw12, 13 and X4 under windows 7. Once I save and reopen my file, any code or module placed under VBAProject(Graphic1) is no longer there. I check the box "Save with embedded vba project" but it still dissappears. Sometimes when opening a saved file (with a vba project embedded) I get an error "Error reading <filename> file." I have seen this problem on 3 different windows 7 computers, both 32 and 64 bit. I have also tried reinstalling.
Any ideas?
Thanks,
Ben
Reply With Quote
  #2  
Old 17-03-2010, 13:47
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 810
Default

Hi.
I know we've tried a few things in the other forum. I don't have windows 7 installed so it's tough for me to test.
You could try saving as using this little code which is supposed to embed code also:

Code:
Option Explicit

Sub saveWithVba()

Dim sOpt As New StructSaveAsOptions

With sOpt
.EmbedVBAProject = True
.Version = cdrCurrentVersion

End With

ActiveDocument.SaveAs "c:\test", sOpt

End Sub

-John
Reply With Quote
  #3  
Old 18-03-2010, 11:32
misterben
Guest
 
Posts: n/a
Default

I found a solution for X4. There is a hotfix on the coreldraw support page. I had run all the updates through coreldraw, but maybe that one isn't included. I think I'm out of luck for 12 and 13 since they are officially not supported on windows 7. I can live with that though.
Thanks for all your help.
Ben
Reply With Quote
  #4  
Old 16-10-2011, 23:17
noober
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by misterben View Post
I found a solution for X4. There is a hotfix on the coreldraw support page. I had run all the updates through coreldraw, but maybe that one isn't included. I think I'm out of luck for 12 and 13 since they are officially not supported on windows 7. I can live with that though.
Thanks for all your help.
Ben
can you point that link to us? I'm having same trouble VBA is gone when re-open the file. also having error opening the file again
Reply With Quote
Reply

Tags
embedded vba, windows 7


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
Why CorelScript files doesn't work in X3 geHucKa CorelDRAW CS 10 15-12-2010 14:40
coreldraw 12 does not go with default windows xp theme jitu5000 General 0 28-07-2006 13:18
Embed fonts Booker CorelDRAW/Corel DESIGNER VBA 2 12-07-2006 19:04
Bring Coreldraw to front of other windows. CORNMEN CorelDRAW/Corel DESIGNER VBA 4 14-01-2005 16:38
An informational message box that doesn't stop the app? Rick Randall CorelDRAW/Corel DESIGNER VBA 2 15-03-2004 11:38


All times are GMT -5. The time now is 03:21.


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