Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / December 2007

Tip: Looking for answers? Try searching our database.

VB6 Web Service?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pbd22 - 10 Dec 2007 05:52 GMT
Hi.

I just got a project that is taking me into previously uncharted
territory.
I have a reasonably large VB6 project and need to "turn it into a web
service".
I know this isn't immediately possible. The two main options seem to
be:

1) convert the code to .NET and then create a web service.

I have heard that moving from VB6 to .NET for any significant project
is a major pain.

2) wrap the project in COM Interop which will act as a middleman
between a .NET project and the original VB6 project.

I am guessing #2 is the path of least resistance? I would really love
it if somebody
here could tell me if a) I am right that number 2 is a better way to
go and b) what is the best
way to go about implementing option 2? Has anybody here used a VB6
project and implemented it as a web service that is callable from
a .NET project?

Please help... new territory for me.

Thanks.
Johannes Passing - 11 Dec 2007 08:30 GMT
If your software is "reasonably large", 1) is indeed unlikely to be a
viable short-term solution and 2) sounds more promising. If your VB6
project is COM-based (or could be wrapped by a COM DLL), another option
might be to put it into COM+ and use the facilities provided by WCF for
COM+ integration (I have never tried that, but it seems to work). In
both of the latter cases, the degree of 'resistance' will most likely
depend on the complexity of your interfaces. For reasonably complex
interfaces, Interop (done manual or by WCF) can easily become a pain, too.

--Johannes

> Hi.
>
[quoted text clipped - 24 lines]
>
> Thanks.

Signature

Johannes Passing - http://int3.de/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.