473,395 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Porting VB6 ActiveX EXE Component to dotNET

Hi everyone,

I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes
various public methods that can be called by several other independent
Windows EXE applications (also written in VB6).

I would like to port the ActiveX EXE component it to dotNet. What type of
project that I should port it to? A Windows Service or what? Please suggest.

The thing is that I will not be porting the existing Windows EXE
applications to dotNet yet. So if I port the VB6 ActiveX EXE to a Windows
Service (or anything that is appropriate) will VB6 applications still be
able to communicate with the new dotNet Windows Service (just like they
could with ActiveX EXE)?

Thanks,
David
Jul 21 '05 #1
5 2346
There's no general rule as such for porting from VB6 to VB.NET. I would
suggest reading this first:
http://msdn.microsoft.com/vbasic/usi...g/default.aspx
That should give you some details on migrating from VB6 to VB.NET.

Also, check this out:
http://www.microsoft.com/israel/vbas...h/default.mspx
It contains slides/presentations about why to migrate, when to migrate, etc

hope that helps a bit..
Imran.
"David" <no******@mailingspam.com> wrote in message
news:uA**************@TK2MSFTNGP12.phx.gbl...
Hi everyone,

I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes
various public methods that can be called by several other independent
Windows EXE applications (also written in VB6).

I would like to port the ActiveX EXE component it to dotNet. What type of
project that I should port it to? A Windows Service or what? Please
suggest.

The thing is that I will not be porting the existing Windows EXE
applications to dotNet yet. So if I port the VB6 ActiveX EXE to a Windows
Service (or anything that is appropriate) will VB6 applications still be
able to communicate with the new dotNet Windows Service (just like they
could with ActiveX EXE)?

Thanks,
David

Jul 21 '05 #2
On Thu, 9 Sep 2004 14:59:14 +1200, David wrote:
Hi everyone,

I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes
various public methods that can be called by several other independent
Windows EXE applications (also written in VB6).

I would like to port the ActiveX EXE component it to dotNet. What type of
project that I should port it to? A Windows Service or what? Please suggest.

The thing is that I will not be porting the existing Windows EXE
applications to dotNet yet. So if I port the VB6 ActiveX EXE to a Windows
Service (or anything that is appropriate) will VB6 applications still be
able to communicate with the new dotNet Windows Service (just like they
could with ActiveX EXE)?

Thanks,
David


Hmmm, well I would say to look at remoting in the documentation - since
that would roughly corrispond to an activex exe. But, since you aren't
converting the clients to .NET - I would say you're better off not
converting the activex exe. In fact, I would port the clients first - and
let them continue to use the activex exe via interop. After they were
ported, I would port the activex exe and use remoting. That way, you could
convert the applications one at a time - and they should still work :)

--
Tom Shelton [MVP]
Jul 21 '05 #3
Hi Tom,

Thanks for the reply.

The problem is that I've created the clients in VB6 and I have not created
the ActiveX EXE application in VB6 yet! It's still in the design phase and I
was wondering would it be better off to create that ActiveX EXE in dotNet
equivalent (because I have plans to port VB6 clients to dotNet in the
future).

Any suggestions?
David

"Tom Shelton" <to*@YOUKNOWTHEDRILLmtogden.com> wrote in message
news:ec*****************************@40tude.net...
On Thu, 9 Sep 2004 14:59:14 +1200, David wrote:
Hi everyone,

I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes
various public methods that can be called by several other independent
Windows EXE applications (also written in VB6).

I would like to port the ActiveX EXE component it to dotNet. What type of
project that I should port it to? A Windows Service or what? Please
suggest.

The thing is that I will not be porting the existing Windows EXE
applications to dotNet yet. So if I port the VB6 ActiveX EXE to a Windows
Service (or anything that is appropriate) will VB6 applications still be
able to communicate with the new dotNet Windows Service (just like they
could with ActiveX EXE)?

Thanks,
David


Hmmm, well I would say to look at remoting in the documentation - since
that would roughly corrispond to an activex exe. But, since you aren't
converting the clients to .NET - I would say you're better off not
converting the activex exe. In fact, I would port the clients first - and
let them continue to use the activex exe via interop. After they were
ported, I would port the activex exe and use remoting. That way, you
could
convert the applications one at a time - and they should still work :)

--
Tom Shelton [MVP]

Jul 21 '05 #4
Hi Tom,

Thanks for the reply.

The problem is that I've created the clients in VB6 and I have not created
the ActiveX EXE application in VB6 yet! It's still in the design phase and I
was wondering would it be better off to create that ActiveX EXE in dotNet
equivalent (because I have plans to port VB6 clients to dotNet in the
future).

Any suggestions?
David

"Tom Shelton" <to*@YOUKNOWTHEDRILLmtogden.com> wrote in message
news:ec*****************************@40tude.net...
On Thu, 9 Sep 2004 14:59:14 +1200, David wrote:
Hi everyone,

I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes
various public methods that can be called by several other independent
Windows EXE applications (also written in VB6).

I would like to port the ActiveX EXE component it to dotNet. What type of
project that I should port it to? A Windows Service or what? Please
suggest.

The thing is that I will not be porting the existing Windows EXE
applications to dotNet yet. So if I port the VB6 ActiveX EXE to a Windows
Service (or anything that is appropriate) will VB6 applications still be
able to communicate with the new dotNet Windows Service (just like they
could with ActiveX EXE)?

Thanks,
David


Hmmm, well I would say to look at remoting in the documentation - since
that would roughly corrispond to an activex exe. But, since you aren't
converting the clients to .NET - I would say you're better off not
converting the activex exe. In fact, I would port the clients first - and
let them continue to use the activex exe via interop. After they were
ported, I would port the activex exe and use remoting. That way, you
could
convert the applications one at a time - and they should still work :)

--
Tom Shelton [MVP]

Jul 21 '05 #5
On Thu, 9 Sep 2004 16:10:32 +1200, "David" <no******@mailingspam.com> wrote:

¤ Hi Tom,
¤
¤ Thanks for the reply.
¤
¤ The problem is that I've created the clients in VB6 and I have not created
¤ the ActiveX EXE application in VB6 yet! It's still in the design phase and I
¤ was wondering would it be better off to create that ActiveX EXE in dotNet
¤ equivalent (because I have plans to port VB6 clients to dotNet in the
¤ future).
¤

There isn't a direct equivalent, however you could develop a .NET web service (or use binary
remoting) and use SOAP to communicate with the VB 6.0 application.

http://support.microsoft.com/default...b;en-us;325248
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #6

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

Similar topics

2
by: Berata | last post by:
Hello all, in VB6 we were able to create ActiveX-DLL's (In Process Components) and ActiveX-Exe's (Out of Process Components). We habe build up an application that exists of an main module...
3
by: adam | last post by:
hi is it possible to write activeX controls in C# and if so any suggestions of links to sample code would be appreciated? thanks Adam
3
by: EJ1003 | last post by:
Hello I would like to create Activex Control uisng C# and use it in ASP.Net webform. User Control is not solving my requirement so I am going for Activex Control. Please guide me on this, how...
3
by: Jeffery Franzen | last post by:
Anyone know where the documentation is regarding Activex controls in asp web forms? I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app. I do the add...
3
by: John | last post by:
anyone?
5
by: David | last post by:
Hi everyone, I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes various public methods that can be called by several other independent Windows EXE applications (also written...
1
by: ReidarT | last post by:
I have a windows project with an activeX web-browser. This works fine, but I can't get rid of the borderline on the activeX component. regards reidarT
0
by: saravana via DotNetMonster.com | last post by:
HI I like to know the difference between ActiveX control and Com Component whether its possibleto create ActiveX control in .net Framework -- Message posted via DotNetMonster.com...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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,...

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.