desktop-application

How to build native C++ apps with HTML/CSS UI?

谁说我不能喝 提交于 2019-12-02 13:53:13
Is it possible to develop a C++ program while using HTML and CSS for the user interface? I know about programming with Javascript using a Webkit container, but I am really interested in C++ development. I felt in love with C# WPF when I developed under Windows, but now I moved to Linux and I haven't found a good tool for using markup for interfaces. For this, I would like to mix HTML and CSS, which are very lightweight and easy to use, with C++ code, with something like WPF. Oh, one more thing: I'm looking for desktop development, not web. Yes, it is possible. What you want is a C++ web

Working with both adobe flex web and desktop application

╄→尐↘猪︶ㄣ 提交于 2019-12-02 09:13:48
I need to develop an application using flex. The requirement is to develop both a web app and a desktop application. I need to use a database for this application. I learned that there is a local database which can be used for air application. I do not want to end up writing two applications, hence would like to reuse as much code as possible. So, here is my plan for this: make a library project. write a httpservice like class for interacting with local db in air. a middle layer which takes care of calling the correct service (httpservice or the custom service). UI which interacts only with

MS ACCESS with desktop application over LAN

半城伤御伤魂 提交于 2019-12-02 08:32:56
What is the best way to host MS ACCESS with desktop application over LAN without using shared folder? You can use some Terminal Server (TS). For example Microsoft's Terminal server. It is a feature of server versions of ms windows OS. There are other TS available: Citrix, Nomachine. When you use msaccess desktop application located at TS, your users connect to TS by some client ("Remote desktop connection" for microsoft TS) and works just like they are sitting at the server. The only way I would consider doing it is with replication. However, you should really try to use a shared network

Set focus to Data Grid View Text Box Column Cell

时光怂恿深爱的人放手 提交于 2019-12-02 08:31:51
问题 I have a gridview of type datagridview text box column, in that following columns are there: SrNo | Description | HSNCode | Qty | Rate | Amount I am generating amount in my program automatically, but I want to check if the user has entered to amount field without entering data in "Rate" then I want to set focus back to the "Rate" field in my program: I have tried following code: private void grdData_CellLeave(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == 4) { if(grdData

Set focus to Data Grid View Text Box Column Cell

做~自己de王妃 提交于 2019-12-02 06:42:07
I have a gridview of type datagridview text box column, in that following columns are there: SrNo | Description | HSNCode | Qty | Rate | Amount I am generating amount in my program automatically, but I want to check if the user has entered to amount field without entering data in "Rate" then I want to set focus back to the "Rate" field in my program: I have tried following code: private void grdData_CellLeave(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == 4) { if(grdData.Rows[e.RowIndex].Cells[4].Value== null) { grdData.CurrentCell = grdData.Rows[e.RowIndex].Cells[4]; } } }

How do I port a Java Desktop Application to Netbeans 7.1

半城伤御伤魂 提交于 2019-12-02 06:06:14
问题 In Netbeans 6, I wrote a fairly complex application based on the java desktop application (org.jdesktop.application. SingleFrameApplication). The Swing Application Framework has been removed from 7.1 and I now cannot edit the forms. I have been through the the examples of porting to the Netbeans Platform but they don't seem to cover migrating from a desktop application. Any help would be welcome. 回答1: Unfortunately the Swing Application Framework was deprecated and removed. It never became a

Dotnet :- How to achieve windows authentication in window form application?

自作多情 提交于 2019-12-02 05:39:36
I want to make a windows form application and want to use windows authentication to log in the user, it has to be used in intranet. the applcation should accept the user name and password from user and should authenticate it. how to achieve this. You can achieve this using Interop Services. Use the below Code. [System.Runtime.InteropServices.DllImport("advapi32.dll")] public static extern bool LogonUser(string userName, string domainName, string password, int LogonType, int LogonProvider, ref IntPtr phToken); public bool IsValidateCredentials(string userName, string password, string domain) {

How do I port a Java Desktop Application to Netbeans 7.1

帅比萌擦擦* 提交于 2019-12-02 01:43:22
In Netbeans 6, I wrote a fairly complex application based on the java desktop application (org.jdesktop.application. SingleFrameApplication). The Swing Application Framework has been removed from 7.1 and I now cannot edit the forms. I have been through the the examples of porting to the Netbeans Platform but they don't seem to cover migrating from a desktop application. Any help would be welcome. Unfortunately the Swing Application Framework was deprecated and removed. It never became a final JSR, and at this point is fully dead (since JavaFX is considered the future of Java UIs). To make your

Regex in class name to identify controls

笑着哭i 提交于 2019-12-02 01:42:47
问题 A certain program's control ClassnameNN was identified by AutoIt Window Information Tool as: WindowsForms10.BUTTON.app.0.24f4a7c_r27_ad19 in a previous version. In the current version it changed to: WindowsForms10.BUTTON.app.0.24f4a7c_r13_ad19 (notice the changes after r ). How to use a regular expression to solve this problem for future versions? Any workaround too is highly appreciable. 回答1: How to use a regular expression to solve this problem for future versions? Documentation - Intro -

View PDF through java App

拥有回忆 提交于 2019-12-02 01:09:54
问题 I want to know how I can view a PDF through a Java App. I am trying to create a application to view PDF using NetBeans 6.8 There are few pdf reader libraries such as iText pdfBox. But they didn't help me Please help me! any help is appreciate Thank You! 回答1: Check PDF renderer 回答2: There is also an Open Source PDF viewer plugin for NetBeans here http://www.jpedal.org/support_siNetBeans.php 来源: https://stackoverflow.com/questions/4874354/view-pdf-through-java-app