Connecting Tech Pros Worldwide Forums | Help | Site Map

Web_Reference_Lists

=?Utf-8?B?QW5keQ==?=
Guest
 
Posts: n/a
#1: Aug 8 '07
I am trying to utilize some VB code snipets in MSDN to access a web service
to update a list. Here are the first two lines:

Dim listService As New Web_Reference.Lists()
listService.Credentials = System.Net.CredentialCache.DefaultCredentials

VS does like the New Web_Reference.Lists() as it is undefined.

Is there an Imports I need to include this TYPE definition?
John Saunders [MVP]
Guest
 
Posts: n/a
#2: Aug 8 '07

re: Web_Reference_Lists


"Andy" <Andy@discussions.microsoft.comwrote in message
news:84D1551B-D8A2-4CDB-97A8-2A5315F28E1B@microsoft.com...
Quote:
>I am trying to utilize some VB code snipets in MSDN to access a web service
to update a list. Here are the first two lines:
>
Dim listService As New Web_Reference.Lists()
listService.Credentials = System.Net.CredentialCache.DefaultCredentials
>
VS does like the New Web_Reference.Lists() as it is undefined.
>
Is there an Imports I need to include this TYPE definition?
Did you add the web reference? Did you name it "Web_Reference"?
--
John Saunders [MVP]

Closed Thread