Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 31st, 2004, 06:27 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating a component

Can anyone direct me or get me started in creating a .Net component. I have created ActiveX in VB6 and sample programs in VB.Net, but cant seem to get started. All I am after is to create a simple component and assign some simple service to it such as queueing service.

Also can anyone coinfirm that .Net or COM+ components developed in .Net do not use the component services located in Administrative Tools> Component Services, becuase it seems you cant add a component once you create a application.
 
Old March 31st, 2004, 03:03 PM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A good book, is
ASP.Net
Server controls and components

by Nikhil Kithari
This is from Microsoft Press

intrader@attglobal.net
 
Old March 31st, 2004, 05:17 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I can confirm they *do* use the Component Services part of the OS.
In fact, at development time you can add all kinds of attributes for security, roles etc that end up in CS automatically, without the need to create a custom installer.

What makes you think that CS is no longe used?

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old April 1st, 2004, 03:22 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, i tried to Add a New application, which was fine, but if you try to add a .NET component, you get a error message.

I m refering to a quote i found in a forum that states:
 
Quote:
quote:There is no COM in .Net. You can create and use .Net components to do everything you used to use COM for. Also you do not need to register a .Net DLL (and it won't work if you try).


 
Old April 1st, 2004, 03:53 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Component Services is not the same as COM+.

Component Services is still used. Check out these articles:

http://msdn.microsoft.com/library/de...andcomplus.asp

http://msdn.microsoft.com/library/de...entsvcperf.asp (make sure you check out the part about .NET Attributes)

You can also check out the 101 VB.NET samples, here:
http://www.microsoft.com/downloads/d...displaylang=en

There are a few projects (like Creating an Enterprise Services Component) dealing with Component Services and Enterprise Services.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help for creating custom component chocolate Biztalk 1 March 23rd, 2006 06:21 AM
COM component with C# sangata General .NET 3 November 5th, 2004 04:10 PM
Creating Custom Menu Component in JSF.....Pls help Finny J2EE 0 September 10th, 2004 06:24 AM
Is there such a component? SqUaRe48 Classic ASP Components 0 July 12th, 2003 12:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.