471,831 Members | 777 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,831 software developers and data experts.

Create File window

Hi: Can any one please tell me how to i create a button which open a
file window from where i select any file and then it pass the file
data into the list box. Basically in this file i have only 6 digit
numbers which i need to process into the listbox. Needs help

Thanks,
Anna.

Mar 29 '07 #1
1 1393
co*********@gmail.com wrote:
Hi: Can any one please tell me how to i create a button which open a
file window from where i select any file and then it pass the file
data into the list box. Basically in this file i have only 6 digit
numbers which i need to process into the listbox. Needs help
Where is this file? On the server? Then you need to use AJAX or
similar to request the file from the server.

On the client? From the c.l.j FAQ:

4.3 How can I access the client-side filesystem?

Security means that by default you can't. In a more restricted
environment, there are options. For example, using LiveConnect to
connect to Java with Netscape, and using the FileSystemObject in IE.
Check http://groups-beta.google.com/group/...ascript/topics
for previous posts on the subject.

http://msdn.microsoft.com/library/de...926cd4d2e8.asp
http://www.javaworld.com/javaworld/j...pptowin32.html
Mar 29 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by banba_ca | last post: by
6 posts views Thread by moondaddy | last post: by
NeoPa
reply views Thread by NeoPa | last post: by
aboka
reply views Thread by aboka | last post: by

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.