Click here to Skip to main content
15,881,281 members

Comments by CodeGust (Top 4 by date)

CodeGust 29-Nov-15 6:23am View    
I know about JNI and Jline,JavaCurces but I have no idea how to use those for the described purpose...
It is a Console application so I cannot use KeyListener as it is meant for a Gui app...
CodeGust 18-Nov-13 6:54am View    
That is the task to have an application-viewer that opens a file and then copies itself together with that file (pdf, image or other file) to be later opened. Thus, a user without (for instance) an image viewer in their PC will be able to view an image/document by opening the exe that contains it (since the exe is a viewer that contains the file embedded in it).
It is a simple app, so there is no version control/revisions.
Maybe I can copy the app, the image/pdf/other into a folder and then somehow the running copy of app will wrap the folder into an exe? (kind of a shortcut that triggers the exe inside the folder but the user sees the shortcut as if it is a real exe?)
CodeGust 19-Sep-11 14:30pm View    
Hi,
No I couldn't make it work with .Net.
Instead, I user some workaround. I made a java app (it must run in background as console app or possibly as a service) and a c#.Net app. The java app sends the recognized data to c# app using sockets.

Here's my code for this:
http://www.codeproject.com/Answers/218336/Sockets-Send-strings-from-Java-to-Csharp.aspx#answer3

Hope that'll help you.
CodeGust 21-Apr-11 14:02pm View    
Please, anybody?