You thoroughly test your component by using real-life data. You find that floating-pointvalues are never compared for equality. To speed up calculations in your component, you want tooptimize the compiled version by using at least one of the compile optimization options availablefrom the project’s advanced optimizations dialog box. Which advanced optimization setting can youuse without producing undesirable results?(A) Remove integer overflow checks(B) Assume no aliasing(C) Remove safe pentium
Which of the following property pages are automatically available when you create a user control?*(A) StandardColor, StandardFont and StandardPicture(B) StandardBitmap, StandardHelp and StandardColor(C) StandardColor, StandardFont and StandardHelp(D) StandardBitmap, StandardColor and StandardFont
Cindy has instructed to copy the current Visual Basic project files and ActiveX controlsfrom the network to a new computer at her desk. After the files have been copied, she installsand runs Visual Basic. However, when she opens one of the projects, she gets an error messagestating that one of the third-party ActiveX controls could not be loaded. What must Cindy do toadd the control to her project?(A) She must first register the control using Regsvr32.exe. She must then select thecontrol’s
Which statement best describes the relationship between Form objects and the Forms collection?(A) The Forms collection represents all forms in the project other than MDI forms.*(B) The Forms collection represents only those forms that are loaded.(C) The Forms collection consists of only those forms specifically added to it using theAdd method.(D) The Forms collection represents all forms for the entire project (both loaded and unloaded).
Each order can have multiple items. When you attempt to create a report with the DataReport designer to show items for each customer, you are unable to get items for each order, butyou do see the Orders. What is a possible cause of this problem?(A) The Parent property for the Orders command is not set to the Customers Command.(B) The Parent property for the Orders command is not set to the items command(C) The DataMember property of the data report is not set to the items command*(D) The Items command
Which of the following are common properties of the CommandButton, TextBox, and Label controls?(A) Caption(B) Value*(C) Enabled(D) Bottom
You implement error-handling code in a Visual Basic application. You specifically writecode to trap for a division by zero. You are debugging the application in the IDE, theapplication interrupted when a division by zero error is raised. How can you resolve this behavior?(A) Include the Resume Next statement in your error-handling routines.*(B) On the Tools menu, under Options, click Break on Unhandled Errors(C) Include the Resume statement in your error-handling routines.(D) Set the causesValidation
You use VB to create a COM DLL project named university. In this project you implement aclass module named teacher. The teacher class module has a property named salary. This propertymust be accessible only from within the teacher class. How should you declare the property?*(A) Private property get salary() as long(B) Friend property get salary() as long(C) Static property get salary() as long(D) Public property get salary() as long
You create a VB application named myapp that will access data from a MSSQL serverdatabase named mydatabase. You want to install your application on 1,000 networked clientcomputers. You want to allow your application to connect to the SQL Server from each of theclients by using ODBC. What next you do to accomplish this?Essay Question. (Flash Card)
Your application contains a form with two PictureBox controls: PictureBox1, whichcontains a bitmap and PictureBox2, which is empty. You want to be able to drag the bitmapcontained in PictureBox1 and drop it into PictureBox2. However, you do not want to be able todrag the bitmap from PictureBox2 and drop it into Picturebox1. How must you set the OLEDragModeand the OLEDropMode properties of PictureBox1 and PictureBox2 to accomplish this automatically?(A) PictureBox1: OLEDragMode = Manual OLEDropMode
View page << Previous 2 3 4 5 [6] 7 8 9 10 11 Next >>

Go Top