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 / November 2006

Tip: Looking for answers? Try searching our database.

How to Access Web Service from VB6 with Intellisense in the IDE?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joseph Geretz - 06 Nov 2006 18:21 GMT
Our application is primarily VB6, however we are migrating toward .NET and a
newer architecture. For the time being though, we're stuck with a hybrid
approach with our ActiveX client application accessing .NET Web Services
provided by the new server-side application.

We like the benefits of Intellisense in the IDE. Visual Studio .NET will
provide Intellisense for a .NET client which references and accesses a Web
Service. Unfortunately though, the VB6 IDE doesn't recognize Web Services
natively. In order to address this we've developed the following paradigm
for any VB6 client which accesses a .NET Web Service:

ActiveX Client -> Interop -> .NET Broker Class -> .NET Web Service

By interposing a .NET broker class between the ActiveX client and the Web
Service, we achieve Intellisense at all application layers. However, the
overhead of the additional broker classes plus the need to deploy these for
Interop is starting to add up. Is there a better way of engineering

Active X Client -> .NET Web Service

in such a way that we'll see Intellisense whe nbinding to the Web Service
from within the VB6 IDE?

Thanks for your advice!

- Joe Geretz -
Joseph Geretz - 08 Nov 2006 01:12 GMT
Is anyone here accessing Web Services from ActiveX (e.g. VB6) client? How do
you set this up?

Thanks for your advice.

- Joe Geretz -

> Our application is primarily VB6, however we are migrating toward .NET and
> a newer architecture. For the time being though, we're stuck with a hybrid
[quoted text clipped - 22 lines]
>
> - Joe Geretz -
Claus Konrad [MCSD] - 08 Nov 2006 20:53 GMT
Have a look at this post:

http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.dotnet.fra
mework.webservices&mid=1603af55-3816-4c62-836d-7779aebb3bf4&sloc=en-us


Signature

rgds.
/Claus Konrad
MCSD.NET (C#)

> Is anyone here accessing Web Services from ActiveX (e.g. VB6) client? How do
> you set this up?
[quoted text clipped - 29 lines]
> >
> > - Joe Geretz -
Joseph Geretz - 09 Nov 2006 23:51 GMT
Hi Claus,

Thanks for the link. I reviewd the conversation, but I'm not sure if this is
what I'm already doing.

ActiveX -> Interop -> .NET Class (Proxy) -> Web Service

Or are you saying that it's possible to set it up as:

ActiveX -> Proxy -> Web Service?

If so, where can I find out more about how to construct this proxy between
an ActiveX client and a Web Service?

Thanks!

- Joe Geretz -

> Have a look at this post:
>
[quoted text clipped - 44 lines]
>> >
>> > - Joe Geretz -

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.