Article ID: 143040
Article Last Modified on 11/18/2003
129801 How to Create and Use a Minimal OLE Automation Server
Dim MyObj As Object
Set MyObj = CreateObject("Project1.Class1")
MsgBox MyObj.MyString
MsgBox MyObj.MyFunction()
Set MyObj = Nothing
Note the parentheses following the line MsgBox MyObj.Myfunction(). The
parentheses are not required when calling an OLE Server from Visual
Basic 4.0, but they are required when you call an OLE Server from
Project 4.0.
Additional query words: 4.00 vb4win
Keywords: KB143040