What is the correct answer?


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.

Correct Answer :

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

Related Questions

Say there is a string "Ramcharan"; when someone using Mid() function like… cell alignment property can be used to align the cells with different… Flag property is used to adjust the function of each common dialog box What is the default value for multi-select property of list box control. It is possible to load a MDI form without any childform. In _______________ control you can get only drop-down list of the content… It is possible to insert a picture in a option button control. To enable apply button in dialog box ; flag value should be set to ABS() function will generate a hole value when used with a number with… The title of the dialog box can be changed. Delete method of the recordset of Data Control or Data Access Object is… Function Add(Num1 as integer, Num2 as integer) as integerAdd=Num1+Num2Num1=0Num2=0End… The full form of IIS is : In visual basic the default unit is : Instr$(text1.text,"visual") will returns : Sort is a method by which elements can be sorted in flexgrid control In a text box control the default caption for text box is text1. When using do loop-while statement then the statements within the loop… In visual basic 'Break' statement could be used along with "Select Case" If the user wants to select the multiple files from file open and filesave… In case of visual basic, IDE means : What is the default value of MaxLength property of text box control? To add the commondialog control to any project one has to include it from Dialog title property is used to change the title of any dialog box The maximum length of a variable is _____________ characters. In a programme body :Private sub form_load()X=inputbox("First No. :")Y=inputbox("Second… IsDate() function returns true if its argument is a valid date and time You can get the ASCII value of any character or number by using In database application, any field does not contain any values can be… _____________ property of any control cannot change at run time.