The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  Creating Office Managed COM Add-Ins with Visual Studio .NET
Time: 03:33 EST/08:33 GMT | News Source: Microsoft | Posted By: Alex Harris

In last October's column, I demonstrated how to use Microsoft® Visual Studio® .NET to create console applications, Windows Forms applications, Web Forms applications, and XML Web services that interact with Microsoft Office. In this month's column, I will show you how to create an Office managed COM add-in using Visual Studio .NET.

Before COM add-ins were invented, you could only create Office application-specific add-ins (except Microsoft Outlook® and Microsoft FrontPage®). These application-specific add-ins have file extensions such as .mda, .pwz, .wll, and .xla; some examples of Office application-specific add-ins are the Analysis ToolPak and the Solver Add-In for Microsoft Excel. Starting with Microsoft Office 2000, COM add-ins allow you to create add-ins that span multiple Office applications. This allows you to write code that is common across many applications, yet at the same time allows you to write code specific to each application that hosts the COM add-in.

A COM add-in is a dynamic-link library (DLL) that contains not only your custom code, but also special registry entries. These registry entries are used by Microsoft Office applications to determine the COM add-in's behavior at run time.

As its name implies, a COM add-in uses Component Object Model (COM) technology, and not managed (.NET) code. However, you can create a managed COM add-in using Visual Studio .NET; although the resulting managed COM add-in created by Visual Studio .NET is a .NET assembly with the file extension .dll and is not truly a COM DLL. However, there is enough information added by Visual Studio .NET to mimic a COM add-in at run time when loaded by Office applications. I will use the terms managed COM add-in and Shared Add-In project interchangeably throughout the rest of this month's column as I describe how to create a managed COM add-in using Visual Studio .NET.

Write Comment
Return to News

  Displaying 701 through 703 of 703
Prev | First
  The time now is 7:50:49 PM ET.
Any comment problems? E-mail us
#701 By 4240821 (82.115.4.230) at 11/24/2025 6:25:35 PM
https://sexonly.top/activ45ghfhhbg3
https://lustful.su/activf53dbff2ch
https://nsfw.su/activ5e34g1fe14
https://smutty.su/activd11bdfhfec
https://lustful.su/active2c41b21ed
https://smutty.su/activ5fh3ahb1a2
https://sluts.su/activbdf1h2d2a2
https://nsfw.su/activ3af5ddb4df
https://smutty.su/activ525f43a3a2
https://sexonly.su/activd5ehbadhe4

#702 By 4240821 (82.115.4.230) at 11/25/2025 10:17:16 AM
https://smutty.su/activg3hdf5a21c
https://lustful.su/activ5bf13h1fgb
https://nsfw.su/activ135d455fa1
https://nsfw.su/activ22adb32eac
https://sexonly.top/activ435d4fg1eg
https://sluts.su/activgdcb113eeg
https://sluts.su/activ5125fdbbh5
https://smutty.su/activ4dedd442eg
https://sluts.su/activgeahcfg41f
https://lustful.su/activaeahdcb541

#703 By 4240821 (82.115.4.230) at 11/25/2025 11:36:02 AM
https://telegra.ph/Inquiry-About-Harry-Todd-Park-Events-05-29
https://telegra.ph/Harry-Todd-Park-Guardian-of-the-Past-05-29
https://telegra.ph/Bryan-Cranstons-Dark-Acting-Secret-05-29
https://telegra.ph/The-Punishers-Bloody-War-on-Crime-05-29
https://telegra.ph/Teen-Jet-Ski-Accident-on-Lake-Serene-05-29
https://telegra.ph/Bryan-Cranston-Announces-New-Acting-Project-05-29
https://telegra.ph/Ezra-Miller-Finds-Truth-in-Mirror-05-29
https://telegra.ph/A-tabloid-style-story-about---Or-05-29
https://telegra.ph/Stranger-Things-Cast-Reunites-for-Final-Season-05-29
https://telegra.ph/Fifth-Harmonys-Surprise-Reunion-at-VMAs-05-29

Write Comment
Return to News
  Displaying 701 through 703 of 703
Prev | First
  The time now is 7:50:49 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *