473,382 Members | 1,814 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,382 software developers and data experts.

How can I load the 'Open Dialog Box' in my project

I want to put a 'Browse' button in my form to let the user to browse for his file and store the path in the database. How can I do this in VB6?
Nov 14 '08 #1
2 1623
debasisdas
8,127 Expert 4TB
you need to use common dialog control for that.
Nov 14 '08 #2
HI there.

First you need to put a Folder Browser Common Dialog into your form.

After that usually you will use the property Path of the Folder Browser to get the PATH of your choise.

Expand|Select|Wrap|Line Numbers
  1.         Me.FolderBrowserDialog1.ShowDialog()
  2.         Dim sPath As String
  3.         sPath = Me.FolderBrowserDialog1.SelectedPath
  4.  

From this point is just a matter of save into your data base.

I hope this help.

RPicilli
Nov 15 '08 #3

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

Similar topics

1
by: ASH | last post by:
Hello all, I'm using the "API: Call Windows File Open/Save Dialog Box" to source the name of a file to open. The Dialog Box when called opens in the top left hand corner of the screen. I have...
1
by: Alisha | last post by:
I'm trying to open the Common Dialog box to allow the user to navigate to a folder and select a file. The users are accessing the application on a single Citrix server, so the enviroment is the...
1
by: Jeremy Chapman | last post by:
How can I display a file open dialog by clicking a button in an aspx page, have the user select a text file then display the contents into a control such as a text box
0
by: Chen | last post by:
I do not know what's wrong with my computer setting. When I try to open a project from 'project from web'. If I type the computer name in the textbox of the dialog box: http://CompterA it will...
0
by: Dan | last post by:
I have a web solution with two projects. I tried to open a new web project in the solution and the "Opening project" dialog box came up and stayed up continuously (with the dots circling the...
0
by: Gancy | last post by:
Hi In my setup project I need a custom dialog box containing a drop down list box. Since this is not avaialble from standard user interface dialog boxes that visual studio supplies, I am using...
4
by: rdemyan | last post by:
I'm using code from the following web page to open the API Browse Folder dialog http://www.mvps.org/access/api/api0002.htm It all works fine. But if the dialog box is open and the user closes...
5
by: charles | last post by:
I have a question about the file Open dialog box. I would like to be able to make the dialog box bigger by selecting the bottom right-hand corner and dragging/expanding the box. I am told by...
3
by: bsturg21 | last post by:
Hello, I have a windows form that has a series of linklabels on it, and I need to have each linklabel, when clicked, open a separate windows form that has a single paramter passed into it. The...
6
by: joder2006 | last post by:
i'm writing a program that uses an open dialog box, i would like to create an open dialog box that behaves like ones in other programs such as word, that has it where the window behind the open...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.