|
-
May 31st, 1999, 12:53 PM
#1
C++ Custom ActiveX DLL works in VB6.0 but not in VBA from Word97
I have created an ActiveX control using the wizards in VC++ 6.
When I try to use it from VB 6.0 everything works. But in VBA for Word 97
I get this message when I try to call a function/method.
"Run-time error '-2147418113 (8000fff)':
Method 'ShowTestMessage' of object 'TestControl' failed"
Here is the sample code VB code I use
Private Sub CommandButton1_Click()
Dim x As 'TestControl.Application
Set x = New 'TestControl.Application
x.ShowTestMessage
End Sub
This code works fine from VB 6.0 and VBA for Word 2000
but not for Word 97.
What's going on?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|