|
| VBA error on OpenDocument |
 |
Wed, 19 Mar 2008 13:21:49 -040 |
Script that have been working flawless in PP X3 suddenly failed a couple
of day ago. If I try to open a image:
Set doc = Application.OpenDocument(filespec2doc)
script now fails with
<vba dialog>
Run-time error '-2147024703 (800700c1)':
Automation error
%1 is not a valid Win32 application
</vba dialog>
Now just to isolate the error I tried the same thing in CorelDraw, of
course with a CDR not CPT and worked without a hitch.
Tried doing a repair with the Setup Installer, but still no joy and VBA
is so "well documented" at Corel I am at a loss...possibly a registry
error on CorelPHOTOPAINT.Automation.13?
|
| Post Reply
|
| Re: VBA error on OpenDocument |
 |
Wed, 19 Mar 2008 14:52:12 -040 |
http://www.tutorials-win.com/WindowsUpdate/Error-232780/
What OS are you running? Downloaded any updates lately?
http://forum.oberonplace.com/
may be the place to get VBA info. That's where the code
gurus hang out.
mr. bill :-)
http://gallery.oberonplace.com/
Jonathan N. Little wrote:
>
> Script that have been working flawless in PP X3 suddenly failed a
> couple of day ago. If I try to open a image:
>
> Set doc = Application.OpenDocument(filespec2doc)
>
> script now fails with
>
> <vba dialog>
> Run-time error '-2147024703 (800700c1)':
>
> Automation error
> %1 is not a valid Win32 application
> </vba dialog>
>
>
> Now just to isolate the error I tried the same thing in CorelDraw, of
> course with a CDR not CPT and worked without a hitch.
>
> Tried doing a repair with the Setup Installer, but still no joy and
> VBA is so "well documented" at Corel I am at a loss...possibly a
> registry error on CorelPHOTOPAINT.Automation.13?
>
>
|
| Post Reply
|
| Re: VBA error on OpenDocument |
 |
Wed, 19 Mar 2008 19:43:40 -040 |
Mr. Bill wrote:
>
> http://www.tutorials-win.com/WindowsUpdate/Error-232780/
>
> What OS are you running? Downloaded any updates lately?
WinXP Pro SR2 fully patched. CGS X3 v13.0.0739 I believe that is up to
date...that InstallShield updated it installs always pops up saying
there are no updates...
Interestingly enough is that the script works in PP11, I still have a
copy of CGS 11.
>
> http://forum.oberonplace.com/
>
> may be the place to get VBA info. That's where the code
> gurus hang out.
I have looked but did find anything there. I don't think it the script
but PP. Maybe buggered a DLL is something. Guess I try the nuke
approach...uninstall and reinstall...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
|
| Post Reply
|
| Re: VBA error on OpenDocument |
 |
Wed, 19 Mar 2008 20:00:01 -040 |
Have you tried this.....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Periodically, it may be necessary to restore the application’s workspace
to the default settings. Corrupt workspaces may lead to problems with
the operability of the application and in some circumstances can prevent
the application from launching. To restore default settings in CorelDRAW
and PHOTO-PAINT, do the following:
Hold down the F8 key on the keyboard.
With the F8 key depressed, launch either CorelDRAW or PHOTO-PAINT.
The following message will appear: "Are you sure you want to overwrite
the workspace with the factory defaults? "
Click Yes and release the F8 key.
The application will start using the default settings for the currently
selected workspace.
Note that you will lose any workspace customization that you have done.
See the Help for information about creating, using, and customizing
multiple workspaces.
Note - Some newer keyboards have an "F Lock" key that must be pressed
first to activate the Function keys on the keyboard.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From Corel's knowledge base.
mr. bill :-)
http://gallery.oberonplace.com/
Jonathan N. Little wrote:
>
> Mr. Bill wrote:
>>
>> http://www.tutorials-win.com/WindowsUpdate/Error-232780/
>>
>> What OS are you running? Downloaded any updates lately?
>
> WinXP Pro SR2 fully patched. CGS X3 v13.0.0739 I believe that is up to
> date...that InstallShield updated it installs always pops up saying
> there are no updates...
>
> Interestingly enough is that the script works in PP11, I still have a
> copy of CGS 11.
>
>
>>
>> http://forum.oberonplace.com/
>>
>> may be the place to get VBA info. That's where the code
>> gurus hang out.
>
> I have looked but did find anything there. I don't think it the script
> but PP. Maybe buggered a DLL is something. Guess I try the nuke
> approach...uninstall and reinstall...
>
|
| Post Reply
|
| Re: VBA error on OpenDocument |
 |
Wed, 19 Mar 2008 21:10:31 -040 |
Mr. Bill wrote:
>
> Have you tried this.....
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Periodically, it may be necessary to restore the application’s workspace
> to the default settings. Corrupt workspaces may lead to problems with
> the operability of the application and in some circumstances can prevent
> the application from launching. To restore default settings in CorelDRAW
> and PHOTO-PAINT, do the following:
<snip well known proceedure>
Hmmm just like old V8! Didn't have a lick of problems with V11 but X3
seems to have old V8's "feature" I noticed things like CTRL+F stopped
working and a few other oddities. This is a PITA because I make up very
custom WS with processing scripts to automate tasks. Paint to recreate
with custom toolbars and the like...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
|
| Post Reply
|
|
|
|
|
|
|
|
|
|