473,834 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Browsing to web folder (MS-Sharepoint) in VB6

1 New Member
I've used Common Dialog Box in my VB6 program to let user browse to a desired file. However we use MS-Sharepoint to store many of our documents, so we reference them through MyNetworkPlaces which are linked to the appropriate webfolder. When the user browses to one of these folders (using my VB6 application using cd1.showopen), cd1.filename returns "“C:\Docume nts and Settings\<usena me>\Local Settings\Tempor ary Internet Files\Contents. IE5\XXXXXX\file name.doc” instead of "http://sharepoint.site .ca/group/folder/filename.doc"
It works fine for mapped network drives.

Is there another file browser that I can use in VB6 that will handle this?
I've tried VB's directory list box control and also library function SHGetPathFromID List. Neither of these accept webfolders.

Thanks.
May 24 '07 #1
1 3173
kbastow
1 New Member
Same problem. Any solution?

I've used Common Dialog Box in my VB6 program to let user browse to a desired file. However we use MS-Sharepoint to store many of our documents, so we reference them through MyNetworkPlaces which are linked to the appropriate webfolder. When the user browses to one of these folders (using my VB6 application using cd1.showopen), cd1.filename returns "“C:\Docume nts and Settings\<usena me>\Local Settings\Tempor ary Internet Files\Contents. IE5\XXXXXX\file name.doc” instead of "http://sharepoint.site .ca/group/folder/filename.doc"
It works fine for mapped network drives.

Is there another file browser that I can use in VB6 that will handle this?
I've tried VB's directory list box control and also library function SHGetPathFromID List. Neither of these accept webfolders.

Thanks.
Dec 17 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

26
2484
by: Dan Nash | last post by:
Hi guys I have a page that is *supposed* to list the directories on the server. Here's the code... folderspec = server.MapPath("./images/") set fso = CreateObject("Scripting.FileSystemObject") set fold = fso.GetFolder(folderspec) for each subfolder in fold.subFolders Response.Write(subfolder.name & "<br>")
3
2917
by: mallyonline | last post by:
Thank you for your previous help. I posted regarding listing the names of files held in a folder on the server and making the list appear clickable. This has now been accomplished. The files are listed - The files are clickable -
1
1806
by: S. van Beek | last post by:
Dear reader, For browsing to a file in a folder I am familiar with two windows, one with the following options on the left side of the window: · My Recent Documents · Desktop · My Documents · Computer.... · My Network Places
3
3909
by: Rajiv Das | last post by:
VS 2003, XP SP2 ------------------------------------------------------------ DirectoryInfo temporary = new DirectoryInfo( Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)); FileInfo files = temporary.GetFiles(); foreach(FileInfo fi in files) { Console.WriteLine(fi.FullName); }
4
1909
by: davidw | last post by:
For example, I have a virtual directory - "wfile", I would like user access http://mysite/wfile, but I want to handle it with my own code instead of turn on "Directory Browsing", how can I capture that request? IHttpHandler or IHttpModule? Thanks! --
4
3144
by: santel_helvis | last post by:
Hi there, I wanna open the folder using asp.net. I am using anchor link to do that. But in href part how shall I give the location. Anyone plz help me out. Thanks in advance
1
352
by: Nikolay Petrov | last post by:
I would like to replace the default page, which IIS shows, when a "folder browsing" i permited for some folder. I would like to use my own aspx page. Any ideas?
9
3716
by: Nick 'The Database Guy' | last post by:
Hi All, I want to browse to a particular folder, not a particular file. The reason for this is that I have a utility that asks people to browse to a certain file, and I want them to be able to choose the location that they start browsing. Thanks in advance.
2
3068
by: Joe Kovac | last post by:
Hi! I have a Web Site, where I turned directory browsing off. I want only one sub folder to be browsable: e.g. MyApp/Files/... How do I do that? Any setting in the web.config? Thanks Joe
1
2526
by: evenlater | last post by:
I have an Access 2007 application running on a terminal server. One of the features of the app is a wizard that allows them to create an Excel spreadsheet by querying the Access data. When they create the Excel spreadsheet, they have to be able to browse their folders to choose the file location the spreadsheet will be saved to. My concern is that when they are browsing for folder locations, they have the ability to browse to and open...
0
9800
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10802
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10516
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10557
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7763
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6961
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5630
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3085
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.