473,799 Members | 3,416 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Classic ASP and COM / COM+ / DCOM examples

Hello, folks!

Does anyone have URLs to some good tutorials / examples of usign
Classic ASP with COM, COM+, etc?

TIA...

Apr 10 '06 #1
6 6038

"Blue Streak" <rd********@hot mail.com> wrote in message
news:11******** **************@ j33g2000cwa.goo glegroups.com.. .
Hello, folks!

Does anyone have URLs to some good tutorials / examples of usign
Classic ASP with COM, COM+, etc?

TIA...


That's rather a lot of nuances you're asking for.

DCOM is death. COM+ is nice for database transaction management or for
specific threading sync needs, and COM is alive and kicking. If you compile
a VB6 activex object, you have already simple ready to use object.

What are you exactly trying to accomplish? (because getting info on death
technology is waste of time).

Apr 11 '06 #2
Well, my new employer is still using it. I need to get up to speed
with their old code before I can help upgrade it to .NET.

Apr 11 '06 #3

"Blue Streak" <rd********@hot mail.com> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.com.. .
Well, my new employer is still using it. I need to get up to speed
with their old code before I can help upgrade it to .NET.

So do you use C++ and DCOM or is it all VB6?

Apr 11 '06 #4
At this point I don't know what this company is using for their COM
objects. I just wanted to go through a crash-course to get up to speed
with this kind of programming.

Apr 12 '06 #5

"Blue Streak" <rd********@hot mail.com> wrote in message
news:11******** **************@ i39g2000cwa.goo glegroups.com.. .
At this point I don't know what this company is using for their COM
objects. I just wanted to go through a crash-course to get up to speed
with this kind of programming.

Sorry, there is no such thing.

DCOM is a separate theme, and because DCOM was so difficult to implement
(all about marshaling and networking protocols) COM+ was made, so if you
'configure' a simple COM component, the COM runtime (that is COM+ as well)
will do it all for you.
And if you use C++ 6 up to 8, and you write ATL COM components, it's very
easy to support COM+.

Now comes the difficult part, that is doing it all without COM+ but through
DCOM.
I think you --really-- should focus on your target by getting some samples
about the current enviroment before jumping 'wildly' in all those subjects.
I know through some experience that COM+ can be very widely spread with
possible technologies and settings etc, and the same applies to DCOM.

I would just advise you to use ebay and find a second hand book about COM+
and DCOM.

Regards
Apr 12 '06 #6
Thanks,

I found what I needed at http://www.codeproject.com/

Apr 13 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4718
by: srijit | last post by:
Hello, I am looking for examples of simple DCOM server and client in Python on Win 2K or Win XP. I could not find anything worth mentioning during Google search. I am also interested to learn whether ctypes module can be used for writing DCOM server and client. Best regards, Srijit
1
15283
by: Prashanth Uppunda | last post by:
Hello, Does anybody have an idea on how to instantiate a DCOM server residing in another machine using C#? Thanks Prashanth
3
2187
by: David Dolheguy | last post by:
I have been using VB.NET for some time now and now have to create a DCOM Server which contains interfaces for which DCOM client's can talk too. My initial problem is that I'm not 100% sure where to start!! I believe I need to create a Class which contains the interfaces then create a CCW wrapper... My problem is how do I create Interface Pointers in VB.NET?? Any examples would be great...
0
2355
by: David Dolheguy | last post by:
I am in desperate need to get help in answering some questions in regards to building a DCOM Server using C#. I need to create a DCOM server using C#.NET, I realise that you first need to create the managed code, attach interfaces and use the CCW command line tool to add a COM wrapper to the assembly. The server will be communicating with a DCOM client which I didn't write, but I have all the documentation on what interfaces and...
1
2085
by: Gabby Shainer | last post by:
Hello, I've written an ATL web server that implements a HelloDCOM method which then calls a DCOM EXE server only to return the bstrInput prefixed by a "Hello " string. When calling the DCOM interface, I get an E_ACCESSDENIED (0x80070005) error code in return. What am I doing wrong? my WebService method code:
3
2040
by: Alex | last post by:
I'm having a problem porting an ASP solution to ASPX. In the ASP solution I'm accessing a DCOM server, create sub DCOM objects and call functions from VB script on the ASP pages. The DCOM object handles are stored in session variables. This works fine without a problem. Ported it to ASPX, accessing the same DCOM server from code behind pages. Still, usually no problems. However sometimes I'm seeing an error stating that the DCOM handle...
13
5459
by: Kyle Adams | last post by:
I don't know where is the right place to ask this so I will start here. Can someone explain to me what these represent? I think they all have to do with the middleware level, but I really don't understand what a DCOM Server is or a Microsoft Transaction Server, etc. I have no idea.... Kyle
1
3511
by: =?Utf-8?B?Q2hyaXMgTGFtb250IE1hbmtvd3NraQ==?= | last post by:
Does anyone know where I can find an example of calling a DCOM object from a ..NET client? All the examples I'm finding are telling me to use Activator.Getobject, but I can't figure out which URL to use. Thanks
0
1265
by: Skylark | last post by:
Hi Everyone! The problem seems followig way: there is a client application, which connects to server by 1. DCOM, if such dcom component have been found on the remote computer (either computer's name or ip-address is refer in ini-file). We know only com-component name, but don't know GUID, so I think, it is to list all of the registered dcom components and choose one with the proper name from them. 2. COM, if dcom-component haven't been...
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9544
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5589
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4145
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.