Visual Basic (VB) Question: Download Questions PDF
What are the different ways to Declare and Instantiate an object in Visual Basic 6?
![Visual Basic (VB) Interview Answer Visual Basic (VB) Interview Question](https://globalguideline.com/public/images/interview/25.png)
Answer:
Dim obj as OBJ.CLASS with eitherSet obj = New OBJ.CLASS orSet obj = CreateObject(OBJ.CLASS?) orSet obj = GetObject( , OBJ.CLASS?)orDim obj as New OBJ.CLASS
Download Visual Basic (VB) Interview Questions And Answers
PDF
Previous Question | Next Question |
What does Option Explicit refer to? | Name the four different cursor types in ADO and describe them briefly. |