![]() |
#1
|
|||
|
|||
![]()
Hey all.
How does one know what to update? Sounds like a silly question but I really dont know. My code that I wrote in v12 has worked all the way through x3 & x4. At least I think it has. Corel Draw has always been notably unstable for me since v7 and I wasnt writing code back then. Thusly I am not sure if my code is what made x3 and x4 totally bogus, however, my co-workers use it and dont have the problems Ive had over the past couple of years. Any tips on what to look for or how to tell if writen code is too old to function properly would be most welcome. Cheers! |
#2
|
||||
|
||||
![]()
Hi.
Really the only way for us to tell is by seeing the code, or at least the section where the error occurs. -John |
#3
|
||||
|
||||
![]()
Agreed the only way is to get a hold of the new version and test...test...test....I have been using VBA since they put it in and CorelSCRIPT before that. 95% of the time things work great but sometimes there are issues, for example when they redid the layers in X4 it broke a couple things. :-)
Test...test...test -Shelby |
#4
|
||||
|
||||
![]()
Also...If you would rather not post your code and need tips on how to test and debug code just let us know.
PS Shelby. What ever happened to those cool little CorelScript effects! -John |
#5
|
|||
|
|||
![]()
Thank you all so much for the prompt answers!
So its safe to assume that if the code works then there is no reason to re write. I was worried that the code I had written was making x3 & x4 unstable. I thought it might be interfearing with the regular coding of the software although I think I kept the scope of my modules contained. This brings me to another question.... Can the code I write, indeed, interfear with the regular coding? Thanx Again! |
#6
|
||||
|
||||
![]()
HI,
If it works then you can leave it. If it was causing a problem then you may have to rewrite part of it. You can even use conditionals like this: Code:
If VersionMajor = 13 Then 'do this End If If VersionMajor = 14 Then 'then do this End If If VersionMajor = 15 Then 'then do this End If Quote:
-John |
#7
|
|||
|
|||
![]()
This is great stuff to know. Thanx So Much!
Andy |
![]() |
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 |
refreshing / redrawing /updating the screen | Rick Randall | CorelDRAW/Corel DESIGNER VBA | 6 | 08-12-2009 02:25 |
Stop and start screen updating? | DChinell | CorelDRAW/Corel DESIGNER VBA | 5 | 16-11-2008 15:39 |
ETC Question!!!! [Please~~~~~] | ljesus7 | CorelDRAW/Corel DESIGNER VBA | 2 | 08-03-2007 07:45 |
question | sejal01 | CorelDRAW/Corel DESIGNER VBA | 1 | 22-12-2004 22:27 |
vba question | bumblebee | CorelDRAW/Corel DESIGNER VBA | 4 | 04-08-2004 16:07 |