desktop-application

Front-End for MS Access migration? [closed]

不问归期 提交于 2019-11-29 22:52:55
Background I work for a large organization which has thousands of MS Access applications floating around. I didn't write any of these - in fact, most of the original authors have long since left the company - but from time to time another Access app lands on my desk for support. I would soooo love to replace access with a different solution. Requirement I know that there are several good alternatives for the database part of MS Access (the Jet database), such as SQLite, MySQL, VistaDB, etc. What I would like to know is: Is there anything that will replace the front end part of MS Access? I.e.

java background/daemon/service cross platform best practices

心不动则不痛 提交于 2019-11-29 20:58:38
I am looking for the best way to make my desktop java program run in the background ( daemon/service ?) across most platforms (Windows, Mac OS, Linux [Ubuntu in particular]). By "best way" I am hoping to find a way that will: require a minimum amount of platform-specific code. not require the user to do anything a general computer user couldn't/wouldn't do not be a resource hog. I understand that my requirements may be unrealistic but I am hoping there is some sort of "best practice" for this type of situation. How to go forward? OscarRyz You can use the SystemTray classes and install your app

System Tray (Menu Extras) icon in Mac Os using Java

醉酒当歌 提交于 2019-11-29 19:28:16
I'm developing a desktop application using Java. I want to put an icon (with a contextual menu) on the system tray (called Menu Extras in Mac Os). Java 6 comes with support for doing this in Windows and Linux, but it doesn't work in Mac Os. I have seen some applications doing what I want in all three operating systems (e.g. DropBox), but I don't know if they are made with Java. How can I achieve this? If it's not possible in Java, is there any other cross-platform language able to do that? Thanks. Powerlord AWT / Swing According to documentation , OSX 10.5 update 1 and newer support TrayIcon s

When Click on Hyperlinks in JavaFX ,a relevant URL should open in browser

拟墨画扇 提交于 2019-11-29 17:02:11
I am developing an application in which I have some links added to the Listview and these links will keep on adding at runtime on some condition.So what I can't find is a way to how to open a url when clicking on a particular link. This is the code for adding links into list view if(counter==1) { Task task2 = new Task<Void>() { @Override public Void call() throws Exception { Platform.runLater(new Runnable() { public void run() { link=new Hyperlink(val); link.setStyle("-fx-border-style: none;"); items.add(link); listview.setItems(items); } }); return null; } }; Thread th = new Thread(task2); th

Custom installer for application in Visual Studio 2017

三世轮回 提交于 2019-11-29 16:09:43
I need to generate an installer for my application but first I need to know if it is already installed on the system node.js, npm and other applications Is it possible to include the installation of node.js within the installation of my application and to know if it is already installed? I'm using Visual Studio 2017 and a WPF project for desktop applications When the application is already installed I need to execute npm commands in the console for this reason I need to install them before or verify if they are installed correctly I appreciate any help. UPDATE : Advanced Installer : How to

Dependency Injection

与世无争的帅哥 提交于 2019-11-29 15:40:21
We are builing a windows desktop application (not web based) and trying to come up with the best way to implement Repository and UnitOfWork Pattern. In a typical Asp.Net Mvc application your repositories are injected with data context, services are injected with repositories and finally controllers are injected with services and all is well if you don't hit any exception, you will commit the changes. In windows forms/wpf applications it is not advisable to use single datacontext ( Oren has a post on this on MSDN) so we have decided to create data context at the presenter. We are using Linq2SQl

Is it possible to use an existing Applet within a JavaFX application (desktop)

耗尽温柔 提交于 2019-11-29 11:35:48
I can't seem to find anything on this - other than it can't be embedded in a web view. I currently have an image viewing product which is accessed via an applet and controlled via JavaScript from an HTML page. I am investigating a client application using JavaFX and it would likely need to access that applet. I attempted to embed it into the WebView and that didn't work. Searching on this site stated that webview doesn't support plug in technology. This is to build an applet with Java FX - but rather to invoke and interact with an existing product. Therefore I am left wondering if there is

How to deserialize json string to object list in c# dot

天涯浪子 提交于 2019-11-29 09:31:45
I am working with the following JSON string { "transactions": [ { "paymentcharge":"0.0", "amount":352, "id":13418, "shippingcharge":35, "shippingtype":2, "status":2, "paymenttype":1, "date":"2012-10-06 16:15:28.0" }, { "paymentcharge":"0.0", "amount":42455, "id":16305, "shippingcharge":0, "shippingtype":2, "status":2, "paymenttype":2, "date":"2012-11-30 09:29:29.0" }, { "paymentcharge":"1.0", "amount":42456, "id":16305, "shippingcharge":0, "shippingtype":2, "status":2, "paymenttype":2, "date":"2012-11-30 09:29:29.0" } ], "count":3 } I have a class structure as follows for parsing and feeling

Why change from WPF to Silverlight 4?

扶醉桌前 提交于 2019-11-29 01:05:12
I'm working on an application we made WPF instead of Silverlight as we wanted a full blown desktop application with the whole unique feeling and advantages that gives. However, with the announcement of Silverlight 4 I hear there is a buzz about Silverlight mostly being the preferred choice also for desktop applications. So; why should I consider moving my WPF application to Silverlight 4 - given that I still want a desktop application? Keep in mind that Silverlight 4 is currently in Beta with no end-user client runtime available. Silverlight 4 shipped in April of 2010. If you are already

Send Keystrokes to a program even if its in background using c#

六月ゝ 毕业季﹏ 提交于 2019-11-29 00:25:41
I wanna send key stroke to a program even if it is running in background. But I can do this only for NOTEPAD like this, [DllImport("user32.dll")] protected static extern byte VkKeyScan(char ch); [DllImport("user32.dll", SetLastError = true)] protected static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow); [DllImport("User32.Dll", EntryPoint = "PostMessageA")] protected static extern bool PostMessage(IntPtr hWnd, uint msg, int wParam, int lParam); char Key = // key value to send IntPtr hWnd = FindWindowEx(_handle, IntPtr.Zero, "edit",