Wednesday, October 15, 2008

VB Questions

  1. How do you represent your menu description in the status Bbr of your MDI? So that when I move the mouse over menu option, the description is shown in appropriate status bar?
  2. How would you make a program which scans a bar code and perform action depending on the bar code value?
  3. What is the difference between Windows programming and database programming?
  4. How do you combine a number of ActiveX control, which you developed, into a single app?
  5. How do you interact with the hardware level within your VB code if no APIs or documentation is supplied?

6. Hi,

Difference between Windows Programming and Database Programming
Windows Programming
——————-
Windows programming is depends on designing windows based application software which is called Graphical user interface(GUI).
Database Programming
——————–
Database programming are related to application programme for which we will have front-end and back-end. An application that are developed with the help of connecting database, RDBMS like Oracle,SQL server,windows access,Sybase,etc are known as database application.

7. How do you represent your menu description in the status Bbr of your MDI? So that when I move the mouse over menu option, the description is shown in appropriate status bar?
How would you make a program which scans a bar code and perform action depending on the bar code value?
How do you combine a number of ActiveX control, which you developed, into a single app?
How do you interact with the hardware level within your VB code if no APIs or documentation is supplied?

8. How Many Control can Placed in VB Form

comment by Kumar

9. Ans 2
for displaying the text in status bar subclass the mdi window and in windowproc look for WM_MENUSELECT message and display text as per the id

Ans 3
the maximum number of controls on a form are 256 however the limit can be bypassed by using control arrays . thus the total limit can be 256 * 32000

comment by thencoder

Your Title