The above code will

A. Set the filename1 by the selected filename from the common dialog contol.

B. First displays the open dialog box and let the user select any file from any

C. location and then set the filename1 by the selected filename.

D. Both are true.

You can do it yup
  1. when using 'do until-loop' statement as stated belowI=10Do until I>5Print II=I+1LoopThis statement…
  2. The amount of text any one can place in text box is maximum 64 kb.
  3. It is possible to change the password character property of text box control at run time.
  4. If the Flag constant for the font common dialog box is cdlCFPrinterFonts then it causes the dialog box…
  5. The extension name of a Visual Basic form is _____________.
  6. What is the default value for multi-select property of list box control.
  7. Suppose there are two forms; form1 and form2 ; if there are codes like : In form1.active event Form2.showAnd…
  8. CommonDialog control is the default control that anyone can find in the toolbar when a new project is…
  9. The maximum length of a variable is _____________ characters.
  10. CommonDialogs control is visible at runtime
  11. While running an application you can change the value of any variable and see it's effect through ___________…
  12. In visual basic Bool variable stores
  13. To get the property window in visual basic you have to press :
  14. There are _________________ no. of built in windows dialog boxes provided by common dialogs control.
  15. If the user wants to select the multiple files from file open and filesave dialog boxes then the flag…
  16. To add the commondialog control to any project one has to include it from
  17. In visual basic the default unit is :
  18. To draw a form on the screen which event is being called up
  19. To enable apply button in dialog box ; flag value should be set to
  20. Suppose there is a data control named data1. What will be the effect if the following code is inserted
  21. In timer control _____________ is the most important property.
  22. In a text box control the default caption for text box is text1.
  23. It is possible to change the shortcut key assigned to any menu for accessing within the menu editor.
  24. You can get the ASCII value of any character or number by using
  25. It is not possible to change the back color property of option button control at run time.
  26. Sort is a method by which elements can be sorted in flexgrid control
  27. Which property of list box control reports the number of selected items.
  28. It is possible to insert a picture in a option button control.
  29. The default startup object can not be changed in a project
  30. In visual basic, number of loop control structure is _____________.