Tip

Reg-Free COM, ClickOnce ease app deployment

Back in VB 6, Windows applications were built atop the COM component model, which required global registration and, as a result, a watchful eye to make sure nothing odd happened over the application's lifecycle.

Two changes have emerged to simplify this process.

First, the .NET Framework does not require the registration of components. Instead, Windows XP allows for registration-free COM, which takes registration information and stores it in the same folder as the application itself.

Second, Visual Studio 2005 offers new Reg-Free COM support. Applications can now be deployed with models such as XCOPY and ClickOnce, which itself is an update to the .NET Framework that gives Windows Forms apps the same ease of deployment and update as Web Forms.

In an MSDN article entitled Escape DLL Hell: Simplify App Deployment with ClickOnce and Registration-Free COM, David Templin provides an overview of Reg-Free COM and demonstrates how to isolate and run COM components in VS 2005. Click here to read the article.


More on this topic from SearchVB.com

News: ClickOnce among additions to WinForms 2.0
Expert Advice: Does VB.NET provide a better package and deploy setup feature?
Tip: COM components in VS.NET



This was first published in March 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.