![]() ![]() Print oFoo.GetLastError End If End Sub Initiation with Parameters in Visual Basic 6 Return ErrorHandler: If Not oFoo Is Nothing Then Debug. Private Sub MyRoutine Dim oFoo As IDLexFoo Set oFoo = New IDLexFoo On Error GoTo ErrorHandler oFoo.CreateObject 0, 0, 0 ' use object here. Use the following code to initialize the object with no parameters. Initiation Without Parameters in Visual Basic 6 dll of the wrapper object in order to include the objects definition in the project.įor details about the object parameters, see Sample IDL Object. Within Visual Basic 6, select Project > Components, then Browse for the.
0 Comments
Leave a Reply. |