473,387 Members | 1,535 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,387 software developers and data experts.

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

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 -
Nov 6 '06 #1
3 2302
Is anyone here accessing Web Services from ActiveX (e.g. VB6) client? How do
you set this up?

Thanks for your advice.

- Joe Geretz -

"Joseph Geretz" <jg*****@nospam.comwrote in message
news:el**************@TK2MSFTNGP04.phx.gbl...
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 -

Nov 8 '06 #2
Have a look at this post:

http://msdn.microsoft.com/newsgroups...bf4&sloc=en-us

--
rgds.
/Claus Konrad
MCSD.NET (C#)
"Joseph Geretz" wrote:
Is anyone here accessing Web Services from ActiveX (e.g. VB6) client? How do
you set this up?

Thanks for your advice.

- Joe Geretz -

"Joseph Geretz" <jg*****@nospam.comwrote in message
news:el**************@TK2MSFTNGP04.phx.gbl...
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 -


Nov 8 '06 #3
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 -

"Claus Konrad [MCSD]" <Cl*************@discussions.microsoft.comwrote in
message news:9E**********************************@microsof t.com...
Have a look at this post:

http://msdn.microsoft.com/newsgroups...bf4&sloc=en-us

--
rgds.
/Claus Konrad
MCSD.NET (C#)
"Joseph Geretz" wrote:
>Is anyone here accessing Web Services from ActiveX (e.g. VB6) client? How
do
you set this up?

Thanks for your advice.

- Joe Geretz -

"Joseph Geretz" <jg*****@nospam.comwrote in message
news:el**************@TK2MSFTNGP04.phx.gbl...
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 -



Nov 9 '06 #4

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

Similar topics

6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
2
by: DD | last post by:
I have developed a a nice little software package(Packaged with Wise and SageKey) My product works great in a clean enviroment on Win98 and Win2k and XP As soon as i introduce Office 2000 Pro onto...
12
by: Johnny Meredith | last post by:
Hi all, I have a database that tracks equity compensation (Stock options, stock units, etc.) For every issuance/exercise/disposition of these instruments, I need a high stock price and low...
17
by: Joe | last post by:
Hello All; I can't access System.Web.HttpServerUtility from within a Class. I want to have access to MapPath. What I get are three options. They are: AspNetHostingPermission...
6
by: Woody Splawn | last post by:
It is real important to choose the right tool for a given problem and it is not clear to me just what the advantage of VS.net is over Access, for example, when writing a non-web applicaiton. I see...
3
by: Dave | last post by:
Please - anyone that can help. I am getting confusing results while trying to expose a collection from a web service. I have a webservice in which a web method accepts a collection as a...
9
by: JT | last post by:
Here is the overall structure I will be referring to: End-program ProvideWorkFlow.dll Forms and methods that properly manipulate calls to methods in AccessUtils AccessUtils (a web service)...
3
by: =?Utf-8?B?QS4gUm9iaW5zb24=?= | last post by:
I have been looking high and low and can't seem to find anything a little more detailed on the whole RS utility. What I'm looking for specifically is some type of programming reference. Also, I...
7
by: bhavin30 | last post by:
Is there a way to obtain user information (using LOGON_USER server variables) when you have set up the security to Anonymous Access? I have tried setting the security to both Anonymous + Window...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
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
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...

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.