logo

CuriousTab

CuriousTab

Discussion


Home Certification Microsoft Certification See What Others Are Saying!
  • Question
  • You use Visual Studio .NET to create an assembly, called XYZAssembly, that will be used by other applications, including a standard COM client application. You must deploy your assembly on the COM application to a client computer. You must ensure that the COM application can instantiate components within the assembly as COM components. What should you do?


  • Options
  • A. Create a strong name of the assembly by using the Strong Name tool (Sn.exe).
  • B. Generate a type library for the assembly by using the Type Library Importer (Tlbimp.exe). Register the file on the client computer.
  • C. Generate a registry file for the assembly by using the Assembly Registration tool (Regasm.exe) Register the file on the client computer.
  • D. Deploy the assembly to the global assembly cache on the client computer. Add a reference to the assembly in the COM client application.

  • Correct Answer
  • Generate a registry file for the assembly by using the Assembly Registration tool (Regasm.exe) Register the file on the client computer. 

    Explanation

    The Assembly Registration tool reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently. Once a class is registered, any COM client can use it as though the class were a COM class..

     

    Incorrect Answers:

    Option A:
    The Strong Name tool helps sign assemblies with strong names.


    Option B:
    The Type Library Importer, tlbimp.exe, converts the type definitions found within a COM type library into equivalent definitions in a common language runtime assembly. It would not be useful in this scenario however.


    Option D:
    This would not allow the COM application to use the class.


  • More questions

    • 1. What are the minimum requirements to run an ad on the Search Network?
    • Discuss
    • 2. Why should you use the Ad Preview and Diagnosis tool to check if your ads are live and running on Google?
    • Discuss
    • 3. Why is it important to monitor ad campaign performance?
    • Discuss
    • 4. What is one way you can increase CTRs?
    • Discuss
    • 5. What is the effect of including both keywords and placements in an Ad Group on the Display Network?
    • Discuss
    • 6. How does the AdWords system decide which ad language to target?
    • Discuss
    • 7. Explain Given the following SQL statement: GRANT REFERENCES ON TABLE tab1 TO USER usera.Which of the following describes what USERA is allowed to do?

    • Options
    • A. Create a read?only view using TAB1.
    • B. Alter TAB1 to add a check constraint.
    • C. Define a primary key or unique constraint on TAB1.
    • D. Define a dependent table where TAB1 is the parent.
    • Discuss
    • 8. Where is fragment information stored?

    • Options
    • A. in the physical logs
    • B. in the reserved pages
    • C. in the system catalog tables
    • D. in the first page of the database tblspace
    • Discuss
    • 9. Which of the following tools can be used to identify inefficient SQL statements without executing them?

    • Options
    • A. QMF
    • B. Task Center
    • C. Visual Explain
    • D. Development Center
    • Discuss
    • 10. Which of the following is Not a Function?

    • Options
    • A. Incident Management
    • B. Technical Management
    • C. Service Desk
    • D. Application Management
    • Discuss


    Comments

    There are no comments.

Enter a new Comment