Article ID: 248501 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
OWebFolderSetup.exe is a sample application that is written in Microsoft Visual C++ 6.0. This sample application demonstrates how to read, write, delete, and enumerate files and folders that are on a Web server. You can do this by using Microsoft OLE DB Provider for Internet Publishing (MSDAIPP). The sample is similar to the Web Folders view in any Microsoft Office 2000 or Microsoft Office XP Open or Save dialog box. The sample is also similar to the view in My Network Places when you specify an HTTP resource as a network location.
The following file is available for download from the Microsoft Download Center:
OWebFolderSetup.exeRelease Date: Mar-2-2003
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on secure servers that prevent any unauthorized changes to the file.
(https://support.microsoft.com/kb/119591/EN-US/ )How to Obtain Microsoft Support Files from Online Services
Microsoft Data Access Internet Publishing Provider (MSDAIPP)OLE DB Provider for Internet Publishing, also known as the Internet Publishing Provider (IPP), permits you to use OLE DB interfaces to access files and folders on Web servers that support:
Office Web Folder Setup Sample (OWebFolderSetup.exe)The OWebFolderSetup.exe sample was written with Microsoft Visual C++ 6.0 Service Pack 5 (SP5). However, it can be compiled successfully with Microsoft Visual C++ .NET, which is included with Microsoft Visual Studio .NET. Because the MSDAIPP provider is designed to run with Microsoft Data Access Components (MDAC) 2.5 and later, you must have this version of MDAC to run the sample. Also, you must have the MDAC 2.5 headers and libraries so you can recompile the code. You can install the latest platform Software Development Kit (SDK) if you need a newer version of OLEDB.H.
The sample shows you how to use direct binding when you use the OLE DB interfaces of the provider. The core functions are encapsulated in two classes:
Both classes are called by the host application. The host application displays the folder contents in a list view that is similar to Explorer. The user can then upload, download, or delete items similiar to the Web Folder NSE, but with fuctionality that is more limited.
You have a royalty-free right to use, to modify, to reproduce, and to distribute this sample application, or any modified version in any way you find useful. You can do this provided that you agree that Microsoft has no warranty, obligations, or liability for the code or for the information provided herein. THE CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. The sample is for demonstration purposes only, and does not constitute "production-ready" code.
For additional information about how to use MSDAIPP from ActiveX Data Objects (ADO) instead of OLE DB, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/245359/EN-US/ )HOWTO: Open Documents Using the Internet Publishing Provider
(https://support.microsoft.com/kb/248255/EN-US/ )HOWTO: Use the ADO Recordset, Record and Stream Objects to Open Documents