NewToJava
09-19-2006, 01:46 PM
I am new to Java.
I am working on a browser base navigation system, that will be used to access files on a windows NT network.
This navigation system will run on an intranet and not on a webserver.
I would like to able to retrieve the users "WIndows NT" user name behind the scenes.
I will be storing custom databases on the users machines in same directory.
The path would be something like this
"C:\Documents and Settings\Username\My Documents\Database"
I would like the user to be able to click a button and open a specific file.
I know how to retrieve the "WIndows NT" user in VBA.
It is done using a call to Windows API.
Is that possible to do using java?
I am working on a browser base navigation system, that will be used to access files on a windows NT network.
This navigation system will run on an intranet and not on a webserver.
I would like to able to retrieve the users "WIndows NT" user name behind the scenes.
I will be storing custom databases on the users machines in same directory.
The path would be something like this
"C:\Documents and Settings\Username\My Documents\Database"
I would like the user to be able to click a button and open a specific file.
I know how to retrieve the "WIndows NT" user in VBA.
It is done using a call to Windows API.
Is that possible to do using java?