Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Ken Levy's Blog
RSS 2.0
Atom 1.0
Home
Search
Tags
Community
Gadgets
Miscellaneous
Movies/Music
Travel
Ultimate Ears
Visual FoxPro
Visual Studio
VSX
Windows Live
Archives
July 2008 (1)
April 2008 (3)
March 2008 (1)
February 2008 (1)
January 2008 (1)
October 2007 (1)
September 2007 (1)
August 2007 (1)
July 2007 (2)
June 2007 (3)
April 2007 (3)
July 2006 (1)
June 2006 (2)
May 2006 (5)
April 2006 (16)
March 2006 (13)
February 2006 (1)
January 2006 (2)
December 2005 (2)
November 2005 (6)
October 2005 (13)
September 2005 (1)
August 2005 (1)
July 2005 (2)
June 2005 (5)
May 2005 (18)
April 2005 (7)
March 2005 (10)
January 2005 (1)
December 2004 (7)
September 2004 (1)
August 2004 (3)
July 2004 (3)
June 2004 (9)
Monday, March 13, 2006 5:51 PM
klevy
NET4COM - .NET Toolkit for COM
A few weeks ago I spoke at the
Seattle .NET Developers Association user group
. I did a demo-centric presentation (no slides) showing how to create a .NET wrapper class in Visual Studio 2005, expose them as COM objects with proper interface declarations, and then use it in Visual Basic 6.0 as well as in VBA-based Microsoft Office applications. Included in the demos will be a new utility preview download called NET4COM (included in the the
Sedna CTP1 download
), which are wrapper classes of many useful functions in Microsoft .NET Framework 2.0 classes, including features in the Visual Basic 2005 My object, and code snippets included in Visual Studio 2005. Many of these .NET wrapper classes for COM clients compliment ideas described in the existing documents found on the
Coexisting with Visual Basic 6.0
web page.
The NET4COM utility idea is to bundle up many functions that the .NET Framework offers and expose them as COM objects for use with VFP or other COM clients. Some of these features can be done with Windows API calls or other COM objects that exist, but in the future more and more functionality will be evolving on the .NET platform rather than the COM based Win32 platform. An example would be to use the NET4COM.RegEx class instead of using the CREATEOBJECT("VBScript.RegExp") COM object.
Cindy Winegarden blogged
about some additional information about NET4COM. The NET4COM existing and upcoming classes offer a toolkit to grow in that area as well as just being a good working sample of how to build your own .NET wrappers for COM.
Filed under:
Visual FoxPro
,
Visual Studio
Anonymous comments are disabled
About klevy
http://blogs.msdn.com/klevy/about.aspx