-
Drag and Drop state numbers and functions?
State 0 – Source control is being dragged with the range of a target. 1 – Out of the range of a target. 2 – One position in the target to another.
-
-
What is control array and how many we can have it with in the form?
Group of control share the same name. Max 32, 767.
-
Suppose from form1 to form2 object property settings will arise to ?
Invalid procedure call or argument (Run time error – 5)
-
Different type of Instantiation?
Private – Only for the Specific Module. Public not creatable – Private & Public Multi Use - Variable we have to declare. Single Use – Not possible through dll. Global Multiuse – Have variable not Required to Declare. Global Single Use - Only for exe.
-
How to declare Dll Procedure?
Declare function "<Function Name>" lib "<Lib Name>" Alias "<Alias Name>" (Arg, …..) as Return type.
-
-
What is Inprocess and Out of Process?
Inprocess – It will run with in the memory. ( Local Machine). Out of Process – It will run out of the memory Normally in the server side.
-
What are properties available in Clip Board?
No Properties Available. Only the methods they are SetText, GetText, Setdata(), Getformat(), Clear.
-
What is Dll?
Libraries of procedure external to the application but can be called from the application.
-
-
Why we use Treeview Control?
To list the hierarchical list of the node objects. Such of files and Directories.
-
What is the diff between the Create Object and Get object?
Create Object - To create an instance of an object. Get Object – To get the reference to an existing object.
-
What is Static Variable?
Its Scope will be available through out the life time.
-
Private Dim x as integer. Valid ?
Private cannot be used in front of DIM.
-
What are the scopes of the class?
Public, private, Friend
-
-
In project properties if we set Unattended what is it mean?
This cannot have user interface. This can be used for the COM creation.
-
What are the Style Properties of Combo Box?
Simple, Dropdown list – We can type and select. Dropdown Combo – Only Drop Down.
-
What are the Style properties of List Box?
Simple –Single Select , Extended. – Multiple Select.
Visual Basic Interview Questions
Ans