![]() |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
Quote:
|
![]() |
| Tags |
| embedded vba, windows 7 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why CorelScript files doesn't work in X3 | geHucKa | CorelDRAW CS | 10 | 15-12-2010 13:40 |
| coreldraw 12 does not go with default windows xp theme | jitu5000 | General | 0 | 28-07-2006 12:18 |
| Embed fonts | Booker | CorelDRAW/Corel DESIGNER VBA | 2 | 12-07-2006 18:04 |
| Bring Coreldraw to front of other windows. | CORNMEN | CorelDRAW/Corel DESIGNER VBA | 4 | 14-01-2005 15:38 |
| An informational message box that doesn't stop the app? | Rick Randall | CorelDRAW/Corel DESIGNER VBA | 2 | 15-03-2004 10:38 |