0

I am very basic in VB6 so sorry if I am asking an obvious question!

We have an old VB6 application and currently we need to do some re-enhancements in it. I want to somehow connect it to a WCF webservice to send and get files (WCF will take care of loading and storing them in DB).

Based on my researches, it is possible based on This article and some others, Now I am wondering if is it required to have .NetFramework installed on systems to do this?

Community
  • 1
  • 1
amir moradifard
  • 353
  • 1
  • 8
  • 26

2 Answers2

1

You can use RESTFUL WCF Service and set the UriTemplate attribute for the method(OperationContract).

Full article for creating REST service

Chirag Vidani
  • 2,519
  • 18
  • 26
1

The article you have linked suggests that the VB6 code should call a .Net wrapper for the WCF service.

If you do that, then yes, certainly you will require the .Net framework to be installed on the machine that runs the VB6, because that machine will also have to run the .Net wrapper.

Community
  • 1
  • 1
MarkJ
  • 30,070
  • 5
  • 68
  • 111
  • Thanks @Mark, Could you suggest a better and easier way to do so. Installing .Net framework for all of them is somehow impossible (there are over 2 hundreds of customers) – amir moradifard Jul 08 '13 at 12:30
  • @amirmoradifard I don't know of one myself. You could post this as another question - `How to communicate with a WCF Windows Service in VB6, without a dependency on .Net` – MarkJ Jul 09 '13 at 11:52