![]() Use the following code to initialize the object with its three parameters (a string, a 32-bit long value, and an array which has two rows and three columns, containing 32- bit long values). 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |