Sunday, March 23, 2008

Visual Basic Recent Interview Questions - 2

Visual Basic interview questions

  1. How do you center a form?

  2. Can I send keystrokes to a DOS application?

  3. Convert an RGB value to a long, or a long to RGB.

  4. Implement smooth scrolling for either text, graphics or controls across a form.

  5. Implement some quick and easy encryption (can be something primitive).

  6. 4 different types of sorts: advantages and disadvantages.

  7. Compute CRC32 checksum, write a quick piece of code that accepts the packet of data and returns the CRC.

  8. How do you use the Mouse OFF event?

  9. How do I call Windows Help files from a VB program?

  10. How do I create a textbox that lets you insert tabs?

  11. How do I make text box that displays asterisks when the user types in data such as password?

  12. How do I create multi-column combo box?

  13. How do I make a menu popup from a CommandButton?

  14. How to create menus at run time in VB?

  15. Write a generic error handling routine.

  16. How to copy text to the Windows clipboard and from it.

  17. How can I call a Command button without clicking it?

  18. Write a simple app with Encrypt and Decrypt buttons and Textbox where the user can enter text for encryption and decryption.

  19. 3 main differences between flexgrid control and dbgrid control

  20. ActiveX and Types of ActiveX Components in VB

  21. Advantage of ActiveX Dll over ActiveX Exe .

  22. Advantages of disconnected recordsets . Benefit of wrapping database calls into MTS transactions 6. Benefits of using 23 MTS

  23. Can database schema be changed with DAO, RDO or ADO?

  24. Can you create a tabletype of recordset in Jet-connected ODBC database engine?

  25. Constructors and destructors

  26. Controls which do not have events

  27. Default property of datacontrol

  28. Define the scope of Public, Private, Friend procedures?

  29. Describe Database Connection pooling relative to MTS

  30. Describe: In of Process vs. Out of Process component. Which is faster?

  31. 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 Tab index,modal and moduless window, Object and Class, query unload and unload in form, declaration and instantiation of an object?

  32. Draw and explain Sequence Model of DAO

  33. How can objects on different threads communicate with one another?

  34. How can you force new objects to be created on new threads?

  35. How does a DCOM component know where to instantiate itself?

  36. How do I register a component?

  37. How do I set a shortcut key for label?

  38. What kind of components can be used as DCOM servers?

  39. Name of the control used to call a Windows application

  40. Name the four different cursor and locking types in ADO and describe them briefly

  41. 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.

  42. Return value of callback function, The need of tabindex property

  43. Thread pool and management of threads within a thread pool

  44. To set the command button for ESC, Which property needs to be changed?

  45. Type Library and what is it?s purpose?

  46. Types of system controls, container objects, combo box

  47. Under the ADO Command Object, what collection is responsible for input to stored procedures?

  48. What are the ADO objects? Explain them.

  49. What are the different compatibility types when we create a COM component?

  50. What do ByVal and ByRef mean and which is the default?

  51. What does Option Explicit refer to? 36. What does the Implements statement do?

  52. What is OLE and DDE? Explain.

  53. What is the difference between Msgbox Statement and MsgboxQ function?

  54. What keyword is associated with raising system level events in VB?

  55. What methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?

  56. What types of data access have you used.

  57. What was introduced to Visual Basic to allow the use of Callback Functions?

  58. Which controls can not be placed in MDI?

  59. Which controls have refresh method, clear method

  60. Which Property is used to compress a image in image control?

  61. Which property of menu cannot be set at run time?

  62. Which property of textbox cannot be changed at runtime?

  63. What is the maximum size of a textbox?

  64. Which tool is used to configure the port range and protocols for DCOM communications?

See VB Recent Latest Interview Questions asked in Technical Rounds Interview of leading companies for freshers / walkins held at bangalore, chennai, mumbai, new delhi, noida, gurgaon, bangalore, hyderabad, pune, kochi, vellore, Bhubhaneshwar, etc.

No comments: