GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Certification  >  Microsoft  >  070-176
Go To First  |  Previous Question  |  Next Question 
 070-176  |  Question 4 of 359    Print  
You are asked to use Visual Basic to create a Human Resources application that will maintain, among other things, employee information. In designing application, you delete to encapsulate the business logic into a COM EXE named HRManager.exe. Within the user interface portion of your application, you want to create an instance of the Employee object exposed by HRManager.exe
Which two code fragments will instantiate an Employee object variable? (Choose two)
A. Set oEmployee = New HRManager.Employee
B. Set oEmployee = CreateObject ("HRManager.Employee")
C. Set oEmployee = GetObject ("", HRManager.Employee)
D. Set oEmployee = GetObject (, HRManager.Employee)
Answer: A, B.



  
Total Answers and Comments: 0 Last Update: N/A   
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

You use Visual Basic to create a COM DLL project hat contains an ActiveX control named Car View and a class module named sales. You are debugging the interaction between the ActiveX control and a host container. During a debugging session, you want to examine the contents of variables that are only in Car View. How can you accomplish this?A. Set the module context in the Add Watch dialog box to Car View. B. Set the instancing property of sales to private. C. St the public property of Car View to
Answer: A.  

You create a Visual Basic application that uses the Microsoft Internet Explorer object model. You include the following code in the General Declarations sections of a form-level module: Private oIE As new Internet Explorer.When will Visual Basic instantiate this object? A. When the form is loaded. B. When the form is displayed on the screen. C. When the declaration is executed. D. When the object is first referenced in your code.
Answer: D.  

You use Visual Basic to develop a reusable component. To make classes in your project easier to use, you intend to add descriptive text and context-sensitive help for each of the properties, methods, and events in the classes. Which procedure must you follow to add descriptive Help information for each class? A. Open the code Window for the class module. In the procedure Attributes dialog box, enter a description and a HelpcontextID for each procedure. B. Open the code Window for the class module.
Answer: A.  

You are asked to use Visual Basic to create a Human Resources application that will maintain, among other things, employee information. In designing application, you delete to encapsulate the business logic into a COM EXE named HRManager.exe. Within the user interface portion of your application, you want to create an instance of the Employee object exposed by HRManager.exe Which two code fragments will instantiate an Employee object variable? (Choose two) A. Set oEmployee = New HRManager.Employee
Answer: A, B.  

You use Visual Basic to create a form with an ADO Data control named ADODC1 and a TextBox control named Text1. The TextBox control must be bound every time the form is loaded. You want to dynamically bind data from the CustomerID field to be displayed in the text box. Which code fragment can you use to accomplish this? A. Set Text1.DataSource= "ADODC1" Text1.DataField = "CustomerID" B. Set Text1.DataSource= ADODC1Set Text1.DataField = "CustomerID" C. Text1.DataSource=
Answer: D.  

You decide to use a remote server component in your Visual Basic application. You create an installation routine by using the package and deployment wizard. You want to place an entry in the Setup.lst file to mark the appropriate file as a remote server component and specify the connection information. Under which section within the Setup.lst file must you make these changes? A. The setup section. B. The Setup1 Files section. C. The BootStrap section. D. The BootStrap Files section.
Answer: B  

You want to use Visual Basic to package and deploy your ActiveX control. You also want to restrict the use of your control at design time to authorized developers only. How can you do this?A. Before compiling your control, set the version Compatibility option to No Compatibility. B. Using the package and deployment Wizard, digitally sign your ActiveX control. C. Include licensing with your ActiveX control. D. Set your ActiveX control to read-only.
Answer: C.  

You create a multi-user Visual Basic application that interacts with a database. You are using ADO and need an updatable, disconnected recordset. You need to offer users the ability to add, update, and modify records. What must you do to accomplish this? A. Set the CursorType property to adOpenStatic, and set the LockType property to adLockBatchOptimistic. B. Set the CursorType property to adOpenDynamic, and set the LockType property to adLockPessimitic. C. Set the CurcorType property to adOpenDynamic
Answer: A.  

You are using Visual Basic to create an ActiveX control that will provide a banner at the top of the container in which it is placed. When the developer adds your control to a container, you want to set the caption displayed in the lblCaption constituent control to match the name assigned to the control itself. Which code fragment should you use? A. Private Sub UserControl_InitProperties ()On Error Resume Next LblCaption.Caption = Extender.NameEnd Sub B. Private Sub UserControl_AmbientChanged (
Answer: A.  

You decide to distribute your Visual Basic application over your corporate intranet. Using the package and deployment wizard, you compress your application files into .cab files that are placed on your internal web server. How should users install this application to their hard drives? A. By using Microsoft Windows Explorer to copy the .cab files from the Web server to their hard drives. B. By using FTP to transfer the .cab files from the Web server to their hard drives. C. By using Microsoft Internet
Answer: C.  


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Business Intelligence Key Performance Indicators

Business Intelligence Key Performance Indicators What are Key Performance Indicators Key Performance Indicators are also known as Key Success Indicators they help an organization to better define and measure their progress toward professional goals Once an organization has clearly identified its nee
 

How to Best Use Business Intelligence to Your Advantage

How to Best Use Business Intelligence to Your Advantage It is no big secret that today s businesses rely heavily on data and the information it delivers about their companies Whether it is for the purpose of customer acquisition improving operational performance or understanding competitors all of t
 

Business Intelligence in Information Technology

Business Intelligence in Information Technology IT stands for Information Technology Information Technology is a system designed to gather process or distribute information IT can be inspected in terms of the following three groupings; the data gathering the data processing and the data distribut
 

Accessing Repository Resources with SQL

Accessing Repository Resources with SQL In fact Oracle XML DB repository resources are stored in a set of database tables and indexes which can be accessed via SQL You are not supposed to access those tables directly Instead Oracle XML DB provides two public views RESOURCE VIEW and PATH VIEW through
 

Business Intelligence Integration

Business Intelligence Integration How to Integrate Business Intelligence within Your Organization Before you Integrate Business Intelligence into your Organization Business Intelligence has developed into strategic process over the years of its extraordinary growth even so it still needs to be incor
 

Business Intelligence Tips

Business Intelligence Tips Understand Your Organization first Truly understanding your company and how it works is perhaps one of the most important Business Intelligence tips anyone can offer This includes understanding the business itself the processes involved the data and how that data is used b
 

Business Performance Management

Business Performance Management What is Business Performance Management Business Performance Management is most commonly described as a set of processes that help companies or organizations optimize their business performance It is specifically designed to organize automate and analyze business meth
 

Business Intelligence Applications

Business Intelligence Applications In this article we are going to take some time to discuss the various applications that are normally provided with Business Intelligence Systems mosgoogle Tools Used to Analyze Performance Projects and Internal Operations First we will look over the tools most comm
 

ODP.NET - OracleCommand Object

ODP NET More About the OracleCommand Object Till now we have seen OracleCommand working with OracleDataReader OracleCommand is not simply meant for OracleDataReader It has got a lot of functionality for itself Let us see few of the most commonly used features of OracleCommand in this section We will
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape