Wednesday, October 15, 2008

VB Faqs

1. 3 main differences between flexgrid control and dbgrid control
2. ActiveX and Types of ActiveX Components in VB
3. Advantage of ActiveX Dll over Active Exe
4. Advantages of disconnected recordsets
5. Benefit of wrapping database calls into MTS transactions
6. Benefits of using MTS
7. Can database schema be changed with DAO, RDO or ADO?
8. Can you create a tabletype of recordset in Jet - connected ODBC database engine?
9. Constructors and distructors
10. Controls which do not have events
11. Default property of datacontrol
12. Define the scope of Public, Private, Friend procedures?
13. Describe Database Connection pooling relative to MTS
14. Describe: In of Process vs. Out of Process component. Which is faster?
15. Difference between a function and a subroutine, Dynaset and Snapshot,early and late binding, image and picture controls,Linked Object and Embedded Object,listbox and combo box,Listindex and Tabindex,modal and moduless window, Object and Class,Query unload and unload in form, Declaration and Instantiation an object?
16. Draw and explain Sequence Modal of DAO
17. How can objects on different threads communicate with one another?
18. How can you force new objects to be created on new threads?
19. How does a DCOM component know where to instantiate itself?
20. How to register a component?
21. How to set a shortcut key for label?
22. Kind of components can be used as DCOM servers
23. Name of the control used to call a windows application
24. Name the four different cursor and locking types in ADO and describe them briefly
25. Need of zorder method, no of controls in form, Property used to add a menus at runtime, Property used to count number of items in a combobox,resize a label control according to your caption.
26. Return value of callback function, The need of tabindex property
27. Thread pool and management of threads within a thread pool
28. To set the command button for ESC, Which property needs to be changed?
29. Type Library and what is it’s purpose?
30. Types of system controls, container objects, combo box
31. Under the ADO Command Object, what collection is responsible for input to stored procedures?
32. VB and Object Oriented Programming
33. What are the ADO objects? Explain them.
34. What are the different compatibility types when we create a COM component?
35. What do ByVal and ByRef mean and which is the default?
36. What does Option Explicit refer to?
37. What does the Implements statement do?
38. What is OLE and DDE? Explain.
39. What is the difference between Msgbox Statement and MsgboxQ function?
40. What keyword is associated with raising system level events in VB?
41. What methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?
42. What types of data access have you used.
43. What was introduced to Visual Basic to allow the use of Callback Functions?
44. Which controls can not be placed in MDI?
45. Which controls have refresh method, clear method
46. Which Property is used to compress a image in image control?
47. Which property of menu cannot be set at run time?
48. Which property of textbox cannot be changed at runtime and What’s the maximum size of a textbox?
49. Which tool is used to configure the port range and protocols for DCOM communications?
50. Question asked to me in interview:
1) Assume i have created a dll in c++ which doesn’t have any class. It only have one function. How can i call that function in VB.
2) What is control array and maximum limit of control array.
3) Which one you will prefer for working with databases - OLEDB or ADO’s and why.
4) What is the difference between Active X DLL & Active X Exe.
comment by Pramod
51. What are Disconnected Recordsets? Advantages?
The ADO has the ability to work offline with recordsets.
The ADO Maintains the informations such as Database name,Server in which the database reside,username and password etc…After loacting a recordset it disconnects and work with them and finally send it back to the database by re-establishing the connection by making use of the already stored informations about the connetion and the database.
Advantage: Minimizes the Load on the SErver
1.what is MTS??
2.Types of ActiveX Objects and Components??? is there any difference between both these???
comment by Prema
52. respected Sir/madam
i am jitendra Singh Bhaskar.Student of B.Sc(I.T) in Sikkim Manipal University.
i have aproblem with some question of Visual basic .I am not able to define it.
please solve my question.
i am very glad to you
thanking you
jitendra singh bhaskar
Q-Write an event procedure to check whether the given string is Palindrome or not.
Q-Explain the different control structures by giving syntax and one suitable example for each:
1)For…Next Loop.
2)Select Case Statement
3)Do While Loop
comment by Jitendra Singh Bhaskar
53. Respected Sir/Madam,i have a doubt from VB .
1.what is the purpose of Visual Source safe in MicroSoft Visual Studio?
2.What is the difference between datagrid and flex grid control?
3.Explain MTS?
4.What is the different between crystal report and data report?
5.Need of zorder method, no of controls in form, Property used to add a menus at runtime, Property used to count number of items in a combobox,resize a label control according to your caption.
comment by SHAILA
54. Respected Sir/Madam,i have a doubt from VB .
1.what is the purpose of Visual Source safe in MicroSoft Visual Studio?
2.What is the difference between datagrid and flex grid control?
3.Explain MTS?
4.What is the different between crystal report and data report?
5.Need of zorder method, no of controls in form, Property used to add a menus at runtime, Property used to count number of items in a combobox,resize a label control according to your caption.
comment by rakesh kumar
55. respected sir
i have some question
1. what is difference betn db grid and flexgrid
2.how to call astored procedure in ado.
3.what is query unload
4.instancing property of dll.
comment by rakesh kumar

Your Title