[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to copy path from FileUpload to textbox in VB

Posted on 2013-05-14
3
Medium Priority
?
490 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 83

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…

649 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