GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Certification  >  Microsoft  >  070-176
Go To First  |  Previous Question  |  Next Question 
 070-176  |  Question 352 of 359    Print  
You have a Visual Basic application in which your own error handler. You create variables
to needed to display your own error message. Which code fragment will invoke your error?
(A) Err.Number:=vbObjectError + intCustom, Source:=strErrSource,
Description:=strErrDescription, HelpFile : =strHelpFile, HelpContext : =conContext
(B) Err.HelpContext:=vbObjectError + intCustom, Source:=strErrSource,
Description:=strErrDescription, HelpFile : =strHelpFile
(C) Err.SourceNumber:=vbObjectError + intCustom, Source:=strErrSource,
Description:=strErrDescription, HelpFile : =strHelpFile, HelpContext : =conContext
*(D) Err.Raise Number:=vbObjectError + intCustom, Source:=strErrSource,
Description:=strErrDescription, HelpFile : =strHelpFile, HelpContext : =conContext

  
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

ODP.NET - Working with Bind Variables together with OracleParameter

ODP NET Working with Bind Variables together with OracleParameter With the help of OracleParameter you can include bind variables within any SQL statement These bind variables are nothing but run time query parameters The values in the SQL statement are bound at run time when we use bind variables m
 

jQuery Table Row Finished Code

jQuery Table Row Finished Code The Finished Code Our second example page has demonstrated table row striping highlighting tooltips collapsing expanding and filtering Taken together the JavaScript code for this page is mosgoogle geshibot lang php" document ready function var highlighted
 

jQuery Interacting with Other Code

jQuery Interacting with Other Code We learned with our sorting and paging code that we can t treat the various features we write as islands The behaviors we build can interact in sometimes surprising ways; for this reason it is worth revisiting our earlier efforts to examine how they coexist with t
 

jQuery Completed sorting and paging code

Learning jQuery The Finished Code The completed sorting and paging code in its entirety follows mosgoogle geshibot lang php" fn alternateRowColors function tbody tr odd this removeClass even addClass odd ; tbody tr even this removeClass odd addClass even ; return this; ; document
 

jQuery - Basic Alphabetical Sorting

Learning jQuery Basic Alphabetical Sorting Now let s perform a sort on the Title column of the table We ll need a class on the table header cell so that we can select it properly geshibot lang html" Title Author s Publish Date Price geshibot mosgoogle To perform the actual s
 

code

geshibot lang javascript" head This is a JS snippet from Geshi Bot" Replaces the geshi default classes with mambo joomla classes function replaceGeshiWithMamboClasses if document document getElementsByTagName Category
 

Microsoft AJAX Library - Functions as Variables

Functions as Variables In JavaScript functions are first class objects This means that a function is regarded as a data type whose values can be saved in local variables passed as parameters and so on For example when defining a function you can assign it to a variable and then call the function thr
 

Application Development in .NET

ASP NET 2 0 Tutorials Application development in NET Client Side Application Development Client applications are applications that run on the client system or the desktop of the user They are closest to the traditional windows based applications and they display forms or windows on the desktop enabl
 

N-Tier Application Partitioning

N Tier Application Partitioning Application partitioning is a vital process as it provides one with the opportunity to clearly define an even distribution of an application s presentation process and key data components without which you may find yourself feeling quite lost The components may be dis
 

N-Tier Application Manageability

N Tier Application Manageability While it is a fact that N Tier applications tend to provide almost limitless scalability the desire to change or add new forms of functionality can present a challenge in more than one arena Growth on a large scale can make capacity planning quite hard When available
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape