Hello,
I have a project that calls a web services but it needs to call a different version of the service based on the environment I'm working in. I have this working with the code sample below but doing it this way I lose the intellisense for the web service. Is there a way to do late binding and still use intellisense?
Dim wsVendPart As Object
If bTestEnviornment = False Then
wsVendPart = New VendPart.VendPartServiceWse
Else
wsVendPart = New VendPartTest.VendPartServiceWse
End If
I have a project that calls a web services but it needs to call a different version of the service based on the environment I'm working in. I have this working with the code sample below but doing it this way I lose the intellisense for the web service. Is there a way to do late binding and still use intellisense?
Dim wsVendPart As Object
If bTestEnviornment = False Then
wsVendPart = New VendPart.VendPartServiceWse
Else
wsVendPart = New VendPartTest.VendPartServiceWse
End If