473,811 Members | 2,979 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I create a simple DCOM object in VB.NET??

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...

Thanks guys...
Jul 21 '05 #1
3 2187
There is a nice one at www.sysinternals.com

-José

"David Dolheguy" <Da***********@ discussions.mic rosoft.com> wrote in message
news:22******** *************** ***********@mic rosoft.com...
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...

Thanks guys...

Jul 21 '05 #2
Sorry, but do you have the link to where on the site the example is?? I have
look all over and found nothing...

"José Joye" wrote:
There is a nice one at www.sysinternals.com

-José

"David Dolheguy" <Da***********@ discussions.mic rosoft.com> wrote in message
news:22******** *************** ***********@mic rosoft.com...
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...

Thanks guys...


Jul 21 '05 #3
oops,

Sorry was a reply to another post....
"David Dolheguy" <Da***********@ discussions.mic rosoft.com> wrote in message
news:24******** *************** ***********@mic rosoft.com...
Sorry, but do you have the link to where on the site the example is?? I have look all over and found nothing...

"José Joye" wrote:
There is a nice one at www.sysinternals.com

-José

"David Dolheguy" <Da***********@ discussions.mic rosoft.com> wrote in message news:22******** *************** ***********@mic rosoft.com...
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...

Thanks guys...


Jul 21 '05 #4

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

Similar topics

1
15290
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
2
5857
by: David Olive | last post by:
Hi guys, I'm having a bit of a problem getting a VB .NET console app to run happily as a scheduled task. The app itself generates a bunch of word documents on a file share on another server by reading from a template file and inserting text at bookmark locations (with details pulled from a table in the database). I'm running the app under a regular domain account that isn't an administrator on the server. The read/execute permissions are...
0
1042
by: Paul Tomlinson | last post by:
How can I tell if a DCOM server I am connected to has been destroyed? All, I have a C# client app which connects to a C++/MFC DCOM server. The DCOM server implements a sink object aswell as an interface on which the C# client calls methods. I need to know in my C# app if this server has disconnected and I'm unsure of to how to do this. In C++ I could identify this in the destructor of the
4
14470
by: Heliotic | last post by:
Hi everyone, Currently I am working on an application that will perform a remote scan of a specified server using the following code: Type t = Type.GetTypeFromProgID( "Microsoft.Update.Session", "proact" ); UpdateSession UpdSess = (UpdateSession) Activator.CreateInstance(t); This code works quite well, as long as the user you are currently authenticated to also has administrative access on the target device. This
3
1512
by: Oleg Skopincevs | last post by:
Hi folks, I am stuck on a problem of creating an object via DCOM from a webservice component. Code: Dim sl As LogonSrv.SysLogon = CreateObject("LogonSrv.SysLogon", LogonServer) Is there some kind of security involved in accessing DCOM components? If yes, what kind? Is it configurable?
1
3211
by: Stuart Dee | last post by:
Hi, How do i create a dcom or com+ component with visual basic dot net. Ive actually created it but the article tells me to register tlb and insert into gac How do I put it into MTS as a dcom component Any good articles Tia
3
384
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
1137
by: =?Utf-8?B?Um9nZXJzIEZlaQ==?= | last post by:
Sample code like this: //ServiceConfig config = new ServiceConfig(); //config.Transaction = TransactionOption.Required; //ServiceDomain.Enter( config ); InvokeComponent obj = new InvokeComponent(); //Here's a DCOM which can be created and invoked correctly. But when I uncomment the preceding statements, this line wil throw an exception: "You made a method call on a COM+ component that has a transaction that has already committed or...
2
3443
by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= | last post by:
Hi, in a existing application (DCOM server and client, both in VC++) we have very often problems with the DCOM-configuration. Is the requiered configuration (open ports) in applications using .NET remoting much more easier than in DCOM applications? What is with the performance, if the DCOM server has a .NET remoting object client and the DCOM client (VC++) uses the .NET remoting object as the server?
0
9724
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
9604
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
10379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10127
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9201
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6882
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
5552
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
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.