+ 2
How to use winapi like "User32.dll" in javascript
I would like to know how to use dll files on a user's computer. run functions like getting printers, print, desktop users name. and more. I know it has something to do with activex
2 Answers
+ 2
As far as I know you can not normally access that type of files / information with JS. I know there is a method to execute something similar, but it depends on IE.
https://searchdomino.techtarget.com/tip/JavaScript-to-find-the-operating-system-user-name
https://stackoverflow.com/questions/9518092/javascript-how-to-get-the-name-of-the-current-user
+ 1
Try electron.js. It uses Node.js libraries to access local resources and compile into desktop applications.