Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Where is Reference.vb in VB 2005?

Reply
Thread Tools

Where is Reference.vb in VB 2005?

 
 
Nab
Guest
Posts: n/a
 
      11-21-2006
Can someone please tell me how to access the proxy class in VB 2005 once a
web reference is created. In the previous version of VB (VB .Net) this was
Reference.vb

Many thanks for any suggestions.
--
UK
 
Reply With Quote
 
 
 
 
Dale
Guest
Posts: n/a
 
      11-22-2006
VS2005 creates the Reference.vb file and stores it in the WebReferences
folder just like VS2003; it just doesn't add it to the Project Explorer view
in VS2005. You can browse to the file manually.

Dale

--
Dale Preston
MCAD C#
MCSE, MCDBA


"Nab" wrote:

> Can someone please tell me how to access the proxy class in VB 2005 once a
> web reference is created. In the previous version of VB (VB .Net) this was
> Reference.vb
>
> Many thanks for any suggestions.
> --
> UK

 
Reply With Quote
 
 
 
 
Nab
Guest
Posts: n/a
 
      11-23-2006
It would help if you could tell where it is...as I have no idea where to look
for it! I need to open it and type this line of code in it:
Me.Credentials =System.Net.CredentialCache.DefaultCredentials

Thanks for your help.
--
UK


"Dale" wrote:

> VS2005 creates the Reference.vb file and stores it in the WebReferences
> folder just like VS2003; it just doesn't add it to the Project Explorer view
> in VS2005. You can browse to the file manually.
>
> Dale
>
> --
> Dale Preston
> MCAD C#
> MCSE, MCDBA
>
>
> "Nab" wrote:
>
> > Can someone please tell me how to access the proxy class in VB 2005 once a
> > web reference is created. In the previous version of VB (VB .Net) this was
> > Reference.vb
> >
> > Many thanks for any suggestions.
> > --
> > UK

 
Reply With Quote
 
Dale
Guest
Posts: n/a
 
      11-23-2006
You can open the file a couple ways. Double click the reference in your
project opens it in Object Explorer. Doubleclick an object in the class from
within Object Explorer should open the class file.

Otherwise, browse to your project folder, and look under the Web References
folder. There should be another folder named for your web reference. In
that folder is the Reference.vb.
--
Dale Preston
MCAD C#
MCSE, MCDBA


"Nab" wrote:

> It would help if you could tell where it is...as I have no idea where to look
> for it! I need to open it and type this line of code in it:
> Me.Credentials =System.Net.CredentialCache.DefaultCredentials
>
> Thanks for your help.
> --
> UK
>
>
> "Dale" wrote:
>
> > VS2005 creates the Reference.vb file and stores it in the WebReferences
> > folder just like VS2003; it just doesn't add it to the Project Explorer view
> > in VS2005. You can browse to the file manually.
> >
> > Dale
> >
> > --
> > Dale Preston
> > MCAD C#
> > MCSE, MCDBA
> >
> >
> > "Nab" wrote:
> >
> > > Can someone please tell me how to access the proxy class in VB 2005 once a
> > > web reference is created. In the previous version of VB (VB .Net) this was
> > > Reference.vb
> > >
> > > Many thanks for any suggestions.
> > > --
> > > UK

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments