|
| %1 is not a valid Win32 application |
 |
Wed, 16 Apr 2008 10:29:00 -050 |
Hello all,
I have some Visual Basic executables that open up files certain files in
WordPerfect (running WordPerfect 12). I was recently installing at one of
my customer's sites and on two of the computers when I try to execute my VB
exe, I get the following error:
Run-time error '-2147024703 (80070001)':
Automation error
%1 is not a valid Win32 application
I stripped my VB exe down to just the following below which will just simply
open up WordPerfect and I still get the above error.
Public Sub Main()
Dim objWP As Variant
Dim i As Integer
Dim Docs As String
Dim File As String
Set objWP = CreateObject("WordPerfect.PerfectScript")
objWP.WPActivate
objWP.Quit
Set objWP = Nothing
End Sub
I installed Service Pack 1 for WordPerfect 12 but that did not fix the
problem. I also ran Windows Update to make sure the Windows (XP Pro) was
up-to-date as well. Has anyone seen this error before?
Will
HCSS
|
| Post Reply
|
|
|
|
|
|
|
|
|
|