Gaston Milano's WebLog

About something...

News

General

Usability

VS Automation

VSIP

May 2005 - Posts

DeKlarit 3.5 released

DeKlarit 3.5 is released!!!

Integration with Microsoft Enterprise Library and major improvements in UI customization, Addi-in creation and Customization made easy, auto-filtering for related foreign keys, .... If you have some comment about the Visual Studio Integration of Deklarit let me know your comments.

You can download a free trial from www.deklarit.com

 

 

Posted: May 26 2005, 09:56 AM by GMilano | with 2 comment(s)
Filed under: ,
How to add a reference to a website project by automation

In a previous post I explained how to add a reference to a project by automation.

http://weblogs.asp.net/gmilano/archive/2004/09/23/233494.aspx

This method is not going to work with a website project, for website projects you should:

  • Add a reference to VsWebSite.Interop dll
  • Now you can do something like this:

Imports VsWebSite

Dim project As Project

Dim site As VsWebSite.VSWebSite

project = DTE.Solution.Projects.Item(1)  ' I suppose it is a website project

site = CType(project.Object, VsWebSite.VSWebSite)

site.References.AddFromGAC("System.Data.dll")

This sample add a reference to the first project in the solution to System.Data.dll.

Posted: May 18 2005, 03:42 PM by GMilano | with 5 comment(s)
Filed under:
Using interfaces in C++

My good friend Jose Lamas start blogging, he is a C++ and C# expert. I have learnt a lot from him !!  

His first post  is an old technique that we use internally in order to “extend” the C++ language.

 

Welcome to the blogging world Jose !!

Posted: May 12 2005, 10:16 AM by GMilano | with 2 comment(s)
Filed under: ,
More Posts