473,394 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to browse My Network Places in vb

27
I'm using the native DriveListBox and DirListBox to allow the user to find
and display the location of a file. I need to be able to allow them to select
My Network Places in addition to the local drives on the machine. Is there
a way to do this with the native DriveListBox or DirListBox controls? If
not, any suggestions for which ActiveX control(s) to use to accomplish
this??
Thanking you!
Aug 21 '08 #1
3 2654
Swan
27
I'm using DriveListBox to allow the user to find and display the location of a file. I need to be able to allow them to select file from My Network Places in addition to the local drives on the machine.But DriveListBox allows to select only local files.Is there a way to do this?I want inbuilt browse control.I got code to browse,but I don't want to use Shell.If
not, any suggestions for which ActiveX control(s) to use to accomplish
this??
Thanking you!
Aug 21 '08 #2
QVeen72
1,445 Expert 1GB
Hi,

Use a "Microsoft Common Dialog Control"
add this thru projects >> Add components.
Place it on the form, use this code:

Expand|Select|Wrap|Line Numbers
  1. Commondialog1.ShowOpen
  2. MyFileName = Commondialog1.FileName
  3.  
REgards
Veena
Aug 23 '08 #3
Swan
27
Hi,

Use a "Microsoft Common Dialog Control"
add this thru projects >> Add components.
Place it on the form, use this code:

Expand|Select|Wrap|Line Numbers
  1. Commondialog1.ShowOpen
  2. MyFileName = Commondialog1.FileName
  3.  
REgards
Veena
Hi,Thanks 4 reply but it can'nt work.Becoz I want to browse My Network Places,but I need inbuilt control i.e no separate dialogbox.Common file dialog opens separate dialog box.I want something like FileListBox(not this,it does not allow 2 browse My Network Places).
Aug 25 '08 #4

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

Similar topics

0
by: Jason Kendall | last post by:
I am trying to write a super simple tool to backup the documents on my department's Sharepoint Site because, frankly, I can't rely on a timely response if someone accidentally deletes a file from...
3
by: Michael A. Covington | last post by:
In a C# program, how can I obtain the contents of My Network Places (i.e., a set of UNC paths) in order to use them in a menu of my own design? My Network Places does not appear to be a folder of...
3
by: Todd | last post by:
I have been a VB programmer for about 2 years. I'm a new user to VB.net, about two weeks; I'm trying to write just a small App to start with, that will do a Net send function. I would like to...
0
by: Chad Dollins | last post by:
This is technically my first full scale VS project, so I may be way off base. I would like to develop an application that can import, export, combine, and edit distribution list from outlook. ...
3
by: Highlander | last post by:
Hello all. Consider the following HTA: <HTML> <HEAD> <TITLE></TITLE></HEAD> <BODY> <SCRIPT LANGUAGE="VBScript"> Sub ButBrowse_onclick() '-- show browse window and Get file path:
0
by: wardley | last post by:
Browse Internal URL through Server from Web Address Not sure how to ask this.. but, I have internal IPs that have web content. That I want to be able to browse from a real world web address. ...
4
by: DMG | last post by:
I have <identity impersonate = "true" /& <authentication mode="Windows"/in the web.config. This is a 2.0 site. My Goal: I want to simply have the user browse to a file on a mapped drive and get...
3
by: Juano | last post by:
Hello everyone, i was wondering if someone would know why one of my computers disappear after 15 to 20 minutes in my network places, i can still access it by using start -> run --> \\pcname. its...
0
tjc0ol
by: tjc0ol | last post by:
Hi guys, I'm a newbie of this stuffs, We had a small office network (1 Windows 2K - Server) and (3 Windows XP - Client). I am testing to 1 PC (Windows 2K) installed with Licensed Wingate...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.