Hi
I am trying to access a web method which is on my local server from a vb.net
client which is also on the same server. In client I am using the below code
to access the web method. The problem is that I get an 'Object reference not
set to an instance of an object.' error on the indicated line when I run the
code. What am I doing wrong?
Thanks
Regards
Dim ws As localhost.StaffDiary
Dim ds As DataSet = ws.GetStaffDiary ' <=== error on this line
DalePres - 26 Jun 2004 03:17 GMT
I think you have to use
Dim ws As New localhost.StaffDiary
Dale
> Hi
>
[quoted text clipped - 10 lines]
> Dim ws As localhost.StaffDiary
> Dim ds As DataSet = ws.GetStaffDiary ' <=== error on this line