Click here to Skip to main content
16,016,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can any one please help me,
How to Browse a File without using FileUpload button or OpenFileDialog using vb.net
Posted
Comments
Zoltán Zörgő 29-Oct-12 3:35am    
FileUpload button? How that?
You want web forms or win forms?
What do you mean exactly by "browsing" in your case?
SathishMS 29-Oct-12 3:40am    
It is web form.. if i click the button means, it shows the Dialog box to browse a file.
Zoltán Zörgő 29-Oct-12 3:47am    
Than it has nothing to do with VB.NET. You want to "browse" on the client not on the server - right?
SathishMS 29-Oct-12 4:52am    
Thankyou zorgo!
Is it possible to write code in javascript?

1 solution

As I know, accessing client file system for JavaScript is a new feature in HTML5[^], but some browsers had similar features in the past also.
In general you will have to use a plugin, or control an existing plugin - and I mean a Java applet, a Flash applet or a Silverlight one.

See some samples:
Silverlight: http://www.wintellect.com/CS/blogs/jprosise/archive/2009/12/16/silverlight-4-s-new-local-file-system-support.aspx[^]
Java: http://www.developer.com/java/other/article.php/3303561/Creating-a-Trusted-Applet-with-Local-File-System-Access-Rights.htm[^]
Adobe AIR: http://www.jabit.com/2011/04/01/reading-and-writing-to-a-local-file-in-adobe-air/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900