desktop-application

View PDF through C# .Net desktop App

怎甘沉沦 提交于 2019-12-23 19:29:44
问题 I want to know how I can view a PDF through a C# .net desktop App. I am trying to create a application to view PDF using visual studio 2008 There is a pdf reader libraries called iText(iTextSharp). But it didn't help me 回答1: You can host a ie web browser control in your application and that will allow the user to view a pdf if they have a reader installed. I can provide an example if you tell me whether you are using WPF or WinForms. Drag WebControl on to you form Set the path in code Done

NSSharingService set CC and BCC recipients in Default Email MAC OSX Application

别说谁变了你拦得住时间么 提交于 2019-12-23 15:22:04
问题 I am new to Mac OS X application development, My question is simple, i am able set recipients and body text in default mail application through my application, but i cannot set CC and BCC recipients in the mail application. Is there any way to set CC and BCC through code, i am using Swift. My Code for settings recipients and Body is here service!.recipients = [self.txtTo.stringValue] service!.subject = "Subject" Thanks 回答1: It's generally much easier to just use a mailto URL for this case -

How do I convert a php web application into a desktop application and retain database [closed]

梦想与她 提交于 2019-12-23 13:11:35
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . We have a web-application developed in PHP. But most of clients don't have internet connection all the time. So, is there way to convert the app into a desktop application so that it works stand alone and it syncs to web application whenever there is an internet connection?

Start another application on top most in tablet mode

对着背影说爱祢 提交于 2019-12-23 12:19:17
问题 When I run another .exe from my application it starts in the background and does not show the application on top of the screen instead shows tablet mode home screen , it's working fine in normal desktop mode but when I run it in Windows 10 Tablet mode then it does not show on top it starts in the background. I've used myWindow.TopMost = true; , but it does not work as intended in Windows 10 Tablet Mode. Code used to start exe file Process p = new Process(); p.StartInfo.RedirectStandardOutput=

Java 7 to be run in 32 bit on mac

一笑奈何 提交于 2019-12-23 08:53:30
问题 I am building a desktop Java application. It uses a third party framework for some low level work (it is in C and I have used JNA). On my Windows Machine, when I do Native.loadLibrary("EDSDK.dll", EdSdkLibrary.class, options); it works perfectly well. On Mac when I try to do Native.loadLibrary("EDSDK.framework", EdSdkLibrary.class, options); it threw UnsatisfiedLinkError saying: mach-o, but wrong architecture My java 7 version is 64 bit and the framework is 32 bit based. On a different mac

Numbers localization in desktop applications

我只是一个虾纸丫 提交于 2019-12-23 07:46:08
问题 In the number decimal category of Unicode, 460 decimal characters are defined (see this page for some examples). Unfortunately I could not find any character representing a digit regardless of its appearance. As a result, currently only Western Arabic numeral characters are understood by most software as digits. So you can not for example enter other number characters in the MS Excel. If Unicode had (at least) 10 code for digits 0 to 9 as pure numbers, not a glyph, we could use them in almost

How to screen scrape from another program

随声附和 提交于 2019-12-23 05:21:05
问题 I need to automatically get data from a software to a file. However, I only get search results for web scraping when I did my research. So, is there a way to get data from a local desktop application that does not have export function? I need some local-desktop-application sort of scraping. For example, since a local desktop application such as Windows media player (random example) does not have an export function to put its music library data to a file, what do you need to create a program

How do I limit the number of rows in a table while designing a rdlc report?

此生再无相见时 提交于 2019-12-23 04:52:38
问题 I am new to windows desktop application development. I am designing a report in an rdlc file in which I am using a table to display the items. The table expands automatically as per the number of records. I want to limit the display to a maximum of 10 record in that table. How do I achieve this? 回答1: You will have to follow few steps: Step 1: Right Click on your Table(that is next to First Column, Second Row) and Select Add Group Step 2: Under Add Group - Select Parent Group Step 3: There you

QTableView with multiline cell

喜欢而已 提交于 2019-12-23 02:56:13
问题 How can I create a QTableView multiline cell? I'm filling the table using the code bellow. But Whem GetDescription() returns a long string, the content is terminated with ... There is some way to automatic break the line? QStandardItemModel * model = new QStandardItemModel(logos.size(), 2, this); model->setHorizontalHeaderItem(0, new QStandardItem(QString(""))); model->setHorizontalHeaderItem(1, new QStandardItem(QString("Nome"))); model->setHorizontalHeaderItem(2, new QStandardItem(QString(

How to manage desktop file database versions?

不羁岁月 提交于 2019-12-23 01:37:07
问题 How to manage database changes while upgrading desktop applications? We have a SQLite database for one of our desktop apps. The uninstaller keeps the database to be used by the next install. But what if the next install has an updated version? How to keep the data but upgrade the tables? We use .NET and Linq2sql 回答1: Here is how I do this: In my code I define the version of the database #define DB_VERSION 2 This version number is incremented every time I make a change to the code that 'breaks