Information générale
Catégorie:
Contrôles ActiveX
Titre:
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement