| Author |
Message |
Harry
Guest
|
Posted:
Wed Jan 19, 2005 4:15 am Post subject:
Newbie: Using vb.NET Windows forms to programmatically acces |
|
|
Hi,
I hope someone can help me. I've written an app (based on SDK code)
which lists all SPS sites, very simple and works fine when run on the
SPS server. When I run it from a client machine I get various errors
depending on how I try to access the site. Could someone kindly give
me some boilerplate code in vb.NET to correctly access a site
collection from a client side application? Are there any resources
that I could refer to?
Any help appreciated
Regards
H |
|
| Back to top |
|
 |
Mike Walsh
Guest
|
Posted:
Wed Jan 19, 2005 6:49 am Post subject:
Re: Newbie: Using vb.NET Windows forms to programmatically a |
|
|
Please post future SPS-specific questions like this one in future to the SPS
newsgroup at microsoft.public.sharepoint.portalserver
This newsgroup is for WSS questions common to all WSS implmentations only.
The SPS newsgroup is there for SPS questions.
(Bil is also there so you *would* get answers there too.)
Also note that programming questions in both WSS and SPS cases go to the
respective .development newsgroups
microsoft.public.sharepoint.windowsservices.development
and
microsoft.public.sharepoint.portalserver.development
and not to the main newsgroup(s).
Mike Walsh, Helsinki, Finland
WSS FAQ at http://wss.collutions.com
Please post questions to the newsgroup only.
"Harry" <flipper@tropicalhut.co.uk> wrote in message
news:f538e95d.0501181415.c6175c0@posting.google.com...
| Quote: | Hi,
I hope someone can help me. I've written an app (based on SDK code)
which lists all SPS sites, very simple and works fine when run on the
SPS server. When I run it from a client machine I get various errors
depending on how I try to access the site. Could someone kindly give
me some boilerplate code in vb.NET to correctly access a site
collection from a client side application? Are there any resources
that I could refer to?
Any help appreciated
Regards
H |
|
|
| Back to top |
|
 |
Bil Simser [MVP]
Guest
|
Posted:
Wed Jan 19, 2005 6:49 am Post subject:
Re: Newbie: Using vb.NET Windows forms to programmatically a |
|
|
Hi Harry,
You cannot create a Windows Forms app that uses the SharePoint object
model and run it anywhere but a fully functioning SharePoint install
(i.e. Windows 2003 server). You can access functions via Web Services
and create a reference in your client app (or any app for that matter,
including a web app running on a non-SharePoint server). The functions
are different (you're dealing with web services and not SPSite type
objects). You're also more limited in what you can do but for the most
part you can do things like enumerate sites and get information or
whatever, it's just not as nice as the Object Model provides.
--
Bil Simser
http://weblogs.asp.net
"Harry" <flipper@tropicalhut.co.uk> wrote in message
news:flipper@tropicalhut.co.uk:
| Quote: | Hi,
I hope someone can help me. I've written an app (based on SDK code)
which lists all SPS sites, very simple and works fine when run on the
SPS server. When I run it from a client machine I get various errors
depending on how I try to access the site. Could someone kindly give
me some boilerplate code in vb.NET to correctly access a site
collection from a client side application? Are there any resources
that I could refer to?
Any help appreciated
Regards
H |
|
|
| Back to top |
|
 |
|
|
|
|