单项选择题
You plan to deploy a new Microsoft Visual Studio Tools for Office(VSTO) add-in for Excel.You need to ensure that the VSTO add-in is deployed appropriately.What should you do?()
A.Use the ClickOnce technology.Include the .Net FrameWork 3.5 as a requirement
B.Use the Windows Installer deployment.Include a deployment manifest that has been signed by using Authenticode certificate.
C.Use the ClickOnce technology.Include the Microsoft Office 2007 Primary Interop assemblies as a prerequisite.
D.Use the Windows Installer deployment.Inclued a deployment manifest which specifies that only administrative permission are requied.
相关考题
-
单项选择题
You are creating a Windows component by using the .Net Framework 3.5.the component will be used in Microsoft Word 2007 by using a ribbon button.The component is used for uploading files. You find that Word 2007 becomes non-responsive during the upload. You need to ensure that the application completes the upload efficiently. What should you do?()
A.Use the AsyncResult.SyncProcessMessage method.
B.Call the BeginInvoke method, perform the upload, and then call the EndInvoke method
C.Retrieve a WaitHandle from an implementation of the IAsyncResult interface before the upload.
D.Set the IsCompleted property on an implementation of the IAsyncResult interface before the upload. -
多项选择题
YoudiscoverthataparticulargroupofsettingsnamedUserPreferenceschanges.YouneedtostoretheUserPreferencesettingstopreventaffectingotherapplications.Whichtwoactionsshouldyouperform?()
A.Use the Properties.USerPreferences object
B.Use the Properties.Settings.Default.Userprefences object
C.Use the ConfigurationManager.AppSettings object during runtime
D.Create the settings by using Application scope
E.Create the settings by using User scope -
单项选择题
You create an isntance of a BackgroundWorker Component named backgroundworker1.You discover that when the application attempts to cancel the background process you get an exception from the following code segment: backgroundworker1.CancelAsync(); You need to configure the BackgroundWorker component appropriately to prevent to application from exception.What should you do?()
A.Cancel the background process in the backgroundworker1_DoWork event
B.Set the IsBusy property og backgroundworker1 to True before you attempt to cancel
C.Set the WorkerSupportsCancellation property of backgroundworker1 to true before the code
D.Set the DoWorkEventArgs Cancel property to true
