Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 17th, 2007, 04:12 PM
Authorized User
 
Join Date: Dec 2006
Location: Fort Collins, Colorado, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to maxl
Default Some sharepoint programming

Hey all,

Im currently writing a program thats installed on a USB stick and started automaically when plugged in. Then its supposed to contact a remote sharepoint server and grab all the documents that a particular user has stored in their account. Im not familiar with sharepoint at all, im learning as time passes. what i want to happen is for a the program to contact a webservice on the remote machine and have the webservice mount a webfolder for whatever user is logged in. How can i achieve this in Visual Basic code? Mounting a web folder? Or is there an easier way to access these files other than mounting a web folder, still through VB code?

Thanks in advance.

  #2 (permalink)  
Old January 18th, 2007, 04:45 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

How far in this story board have you gotten?
Where is your current sticking point?
  #3 (permalink)  
Old January 18th, 2007, 06:31 PM
Authorized User
 
Join Date: Dec 2006
Location: Fort Collins, Colorado, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to maxl
Default

Thanks for the response BrianWren,

Its a very new project, started about a month and a half ago. Im the only developer working on it. If 'Sticking Point' means where my progress is currently, then i'd have to say somwhere in the land of WebDAV. I think i've figured out by now that it would be best to mount this web folder on the client side so that RSYNC (what im using to sync all the users documents) can perform. I've got three scenarios in my head, two of which involve the web folder option; the other is XML serialization and its probably something i shouldn't worry about right now.

Right now, the program just calls 'cmd.exe /c rsync -av servername::dirname localdest' and syncs a test folder on the sharepoint server with a folder on the USB stick. I've been hunting around for some info on how to harness the WebDAV dll file(i think its MSDAIPP.DLL), is this the right route to take?

  #4 (permalink)  
Old January 26th, 2007, 01:53 PM
Authorized User
 
Join Date: Dec 2006
Location: Fort Collins, Colorado, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to maxl
Default

Update for all still interested:

I haven't found functionality to mount a web folder programmatically in VB.NET yet, however i have found a work around that works pretty well for now. I found a WebDAV API for VB.NET that enables you to communicate with these folders throught the WebDAV protocol. Its made by Independent Software: www.independentsoft.de called WebDAV .NET. It has enabled me to communicate with pre defined paths and grab all the file info i need like Size, Fullname(the address), file name, date modified, etc. There are lots of useful properties. This has helped me to build my file lists and figure out what files need to be updated. after this i will use the provided download methods to get updated files. Rsync has been ruled out for now.

Hope this info helps anyone, its new to me!



Similar Threads
Thread Thread Starter Forum Replies Last Post
device DLL programming in client side programming hendyhanusin ASP.NET 1.0 and 1.1 Professional 2 February 19th, 2009 12:01 PM
Sharepoint Jayarajmrj SQL Server 2000 1 July 30th, 2007 10:16 PM
device DLL programming in client side programming hendyhanusin ASP.NET 1.0 and 1.1 Basics 0 March 21st, 2007 08:05 AM
device DLL programming in client side programming hendyhanusin ASP.NET 2.0 Professional 1 March 21st, 2007 08:04 AM
Qt programming, bugs in first programming sateeshgalla BOOK Beginning Linux Programming, 3rd Edition 0 October 14th, 2005 08:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.