Home » Web Technology » VB NET
Que: 201. ……………. method finds the location of the specified screen point to client co-ordinates. a. PointClient b. GetClient c. PointToClient d. FocusClient
Que: 202. ……………. event occurs when a key is pressed while the form has the focus. a. Keydown b. Keypress c. Keyup d. KeyEnter
Que: 203. In the new sub procedure of windows forms, the code calls a procedure named ………………., which adds and arranges the controls in the form. a. InitializeComponent b. AddComponet c. NewComponet d. SubComponent
Que: 204. ……………….. keyword is used to refer to the current object. a. Current b. Me c. This d. ThisForm
Que: 205. The possible values for the FormBorderStyle property is/are the followingi) Fixed3D ii) None iii) FixedSingle iv) VariableDialog a. i, ii and iii only b. ii, iii and iv only c. i, ii and iv only d. All i, ii, iii and iv
Que: 206. Form’s ………………. property is used to specify t he initial position on the screen. a. InitialPosition b. StartPosition c. StartScreen d. InitialScreen
Que: 207. We can assign form’s start position property values from the FormStartPosition enumeration, with the following values.i) Certerpart ii) CenterScreen iii) Manual iv) Location a. i, ii and iii only b. ii, iii and iv only c. i, ii and iv only d. All i, ii, iii and iv
Que: 208. Which of the following is the correct way of assigning value “centerscreen” for form’s startposition property. a. StartPosition.Form1=FormStartPosition.CenterScreen b. Form1.StartPosition=CenterScreen.FormStartPosition c. Form1.StartPosition=FormStartPosition.CenterScreen d. Form1.StartPosition=FormStartPosition.Location.CenterScreen
Show Answer (c). Form1.StartPosition=FormStartPosition.CenterScreen
Que: 209. ………….. class is built into the .Net Framework to display messages and accept input from the user. a. Msgbox b. MessageBox c. InputBox d. DisplayBox
Que: 210. …………….. is a string expression displayed as the message in the dialog box. a. Prompt b. Message c. Expression d. Dialog