Home

Function Add(Num1 as integer, Num2 as integer) as integer
Add=Num1+Num2
Num1=0
Num2=0
End function
This body is an example of calling up a function by:

A. By optional argument.

B. By value.

C. By reference.

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Constants are processed faster than variables :
  2. Now() function will return the current drive and directory you are working on as return value.
  3. The other Single Document Interface forms are by default child of MDI form when MDI form is inserted.
  4. The default startup object can not be changed in a project
  5. RichTextBox1.BulletIndent=5 ; what will be the effect of this code if used in any program
  6. The title of the dialog box can be changed.
  7. Redim statement is used to :
  8. CommonDialog1.ShowOpenFilename1=CommonDialog1.FilenameThe above code will
  9. It is possible to declare 'Dynamic Array' in visual basic.
  10. Sorted property of list box control is a design time property and cannot be changed in runtime.
  11. While running an application you can change the value of any variable and see it's effect through ___________…
  12. The project extension name of a VB project is .vbj
  13. By default 'Dim myvar' this statement:
  14. What will be the output when the statements below will execute :Dim a as integera=0while(a<5)print…
  15. To draw a form on the screen which event is being called up
  16. Visual Basic has ____________ number of editions
  17. Flag property is used to adjust the function of each common dialog box
  18. If the user wants to select the multiple files from file open and filesave dialog boxes then the flag…
  19. In visual basic you can draw something in
  20. In form load event, if the following code is written then guess what will be the output :Dim I as integer,…
  21. List count property returns total number of items in list box control.
  22. You can get the ASCII value of any character or number by using
  23. If the Flag constant for the font common dialog box is cdlCFPrinterFonts then it causes the dialog box…
  24. The extension name of a Visual Basic form is _____________.
  25. Terminate is a valid event in form operation
  26. Currency variable stores fixed point numbers with :
  27. The maximum length of a variable is _____________ characters.
  28. In visual basic the default unit is :
  29. Print' statement can be used to print any statement on the screen.
  30. Isnull(), IsEmpty() determines weather any variable has been initialize or not