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

Browse and Store fileaname

Bob
Greetings!

I need to use the windows browse dialog to select and store a
fileaname.

I can get the filename with the path no problem. But I ONLY want to
return the filename.

Does anyone know how I can just return the filename?

Thanks!

Bob

Dec 5 '05 #1
1 1148
You can parse the file name from the fully qualified path with InstrRev()
and Mid().

Alternatively, Dir() around the fully qualified path will return the file
name.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Bob" <st***********@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Greetings!

I need to use the windows browse dialog to select and store a
fileaname.

I can get the filename with the path no problem. But I ONLY want to
return the filename.

Does anyone know how I can just return the filename?

Dec 6 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: VB Joshua | last post by:
How do I call a browse for folder dialog? Dim oBrowseFolder As New System.Windows.Forms.FolderBrowserDialog oBrowseFolder.ShowDialog() But I can not show a form modal for some reason?
3
by: Wardeaux | last post by:
Hey all, need sample/article how to let user browse local drives to select a file and have the local drive location returned so I can store it in my db, similar to a file upload but without the...
3
by: Bob | last post by:
Greetings! I need to use the windows browse dialog to select and store a fileaname. I can get the filename with the path no problem. But I ONLY want to return the filename. Does anyone...
3
by: beary | last post by:
Sorry if this seems like a stupid question, but... The script I am currently using puts a number of input type=file boxes on the page, and then loops through and processes each uploaded file. It...
4
by: developing | last post by:
Hi All, I have a browse button that the user can click to select a file. The button then fetches the file path. This is all working fine except my boss wants some add functionality. I need it to...
1
by: developing | last post by:
Hello, This time I want to filter the 'browse for file' API so that certain drives/folders cant be accessed. Not sure how to go about this...here is the module I am currently using to browse...
1
by: ipa | last post by:
Hello, I made one browse button in asp form to store files. Now i am facing the problem is when i am editing that asp form. In that i call browse button during edit.but during edit, that...
13
Kosal
by: Kosal | last post by:
Dear Sir/Madam I would like you to help me as below detail. - I want to create music list in vb.net and store data in SQL Server, I create form and add gridview in the form and i want to load...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.