?
Solved

How to copy path from FileUpload to textbox in VB

Posted on 2013-05-14
3
Medium Priority
?
481 Views
Last Modified: 2013-05-16
I'm creating a web page using VS Web Express and I'm wanting to use the FileUpload to browse to a file and have the path to the file copied over to a text box. This should be pretty easy, I'm just not familiar with the FileUpload. Any help would be appreciated. I can use a button to do the copy or it can happen on change, it doesn't matter.
0
Comment
Question by:laskydiver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Expert Comment

by:Jerry Miller
ID: 39166970
You can use the HttpPostedFile.FileName value and assign it to your textbox.text.


http://msdn.microsoft.com/en-us/library/system.web.httppostedfile.aspx
0
 
LVL 82

Accepted Solution

by:
David Johnson, CD, MVP earned 1000 total points
ID: 39167080
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39167478
>I'm wanting to use the FileUpload to browse to a file and have the path to the file copied over to a text box.

The file has to be uploaded to the server first. You can not access it on the client directly.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question