General information
Category:
ActiveX controls
Title:
Runtime error in Property Code
I'm using following code in Activex dll :-
Public Property Let ShowWord(ByVal vData As Boolean)
'used when assigning a value to the property, on the left side of an assignment.
'Syntax: X.ShowWord = 5
If vData Then
With oWordApp
.Visible = True
.AppShow
If oWordApp.AppMaximize = 0 Then
.AppMaximize
End If
.StartOfDocument
End With
End If
mvarShowWord = vData
End Property
& when i set the property showword to true in a test project, it returns following error :-
Run Time Error 438
Object doesn't support this property or method
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only