开发者

How can I write a VB5 app to consume a web service?

I'm working with one legacy application written in VB5, and I need to give it the ability to consume a web service.

Anyone know how this can be done? I've heard 开发者_开发知识库that it can be done for VB6, but I don't have any detail on that either.


Don't bother.

I don't mean that if they can't be bothered to upgrade the app from VB5 to VB6, then why bother adding web service functionality. I mean, just write a class in VB.NET to consume the web service and to expose it as a COM object. Then consume the COM object in the VB5 program.

I'm not sure web services even existed when VB5 was released - don't tempt fate by trying to get VB5 to deal with something it's never heard of.


Also, consider the following suggestion:

It may have been thought that there was no point in upgrading the VB5 application to VB6. Maybe it was thought that the application wasn't going to change much before it was replaced.

But the fact that you're here on SO talking about web services shows that the VB5 application still has some life left in it. You should consider at least the upgrade to VB6.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜