desktop-application

What language or technology was used to develop the Spotify desktop application?

旧时模样 提交于 2019-11-26 18:45:41
问题 Does anybody know which language or technology was used to develop the Spotify desktop application? It's stable, good-looking and lightweight. 回答1: From here: http://www.quora.com/What-is-the-technology-behind-the-Spotify-desktop-app Dated: 2014-09-09 Andreas Blixt, 5-year Spotify employee: The core of all our clients is C++, but that core has since Rasmus's post gotten condensed, with functionality split out into modules. As Spotify becomes available on more and more platforms as well as

QScrollArea with dynamically changing contents

跟風遠走 提交于 2019-11-26 17:48:30
问题 I have a QScrollArea with some buttons in it, like shown on the picture. The idea of the layout is: 1. The left and right button should be used for scrolling the buttons when they are too wide 2.The numbers of buttons in the scroll area can be changed dynamically 3. Any free space should be used to expand the scroll area as much as possible. If no such space exist navigation buttons should be used for scrolling. With my current implementation when i increase the buttons i have this: But there

Writing custom code for PowerPoint using leap motion?

て烟熏妆下的殇ゞ 提交于 2019-11-26 17:48:13
问题 I am trying to make a gesture based PowerPoint slideshow . JavaScript would certainly not work here as I want my slideshow to work when that particular PowerPoint file (.ppt) is opened for windows. I googled, posted a question on the Leap Motion forum, but in vain. My primary concerns are: I am unsure about what to use here. Are there some SDKs for this purpose? In simple words, how do I write some custom code for a PowerPoint file on our system? Leap Motion apps can be developed with C#, C++

Desktop API is not supported on the current platform

痴心易碎 提交于 2019-11-26 17:36:29
问题 I have encountered this error: java.lang.UnsupportedOperationException: Desktop API is not supported on the current platform I would open a file from my java application. I use this method: Desktop.getDesktop().open(new File(report.html")); How can i solve this problem? 回答1: Basically, the problem is that Java Desktop integration doesn't work well on Linux. It was designed to work good with Windows; something works on other systems, but nobody really cared to add proper support for those.

Using ELMAH in a console application

送分小仙女□ 提交于 2019-11-26 17:03:48
I just started using ELMAH and am a fan. My team supports a large number of web applications and I'm particularly excited that ELMAH lets us save exceptions from each application to the same MS SQL database table. We also support a few console, DLL and desktop applications. Is it possible to use the ELMAH DLL to log exceptions in these apps to that same location? We have exactly the same situation here. Running ELMAH for all our web applications. A few of them have console based schedulers. After doing some digging through the source code, the following code seems to work: ErrorLog errorLog =

Take screenshot of multiple desktops of all visible applications and forms

夙愿已清 提交于 2019-11-26 16:29:23
问题 I'm working with a system that has 4 outputs (monitors) with e.g. 1280x1024 pixels for each output. I need a screenshot of the whole desktop and all open applications on it. I tried GetDesktopWindow() (MSDN) but it doesn't work properly. Some forms don't shown on the captured picture. 回答1: i tried GetDesktopWindow() function but it doesn't work properly. Of course not. The GetDesktopWindow function returns a handle to the desktop window. It doesn't have anything to do with capturing an image

Executable directory where application is running from?

一曲冷凌霜 提交于 2019-11-26 15:57:56
问题 I need to get the path (not the executable) where my application is running from: System.AppDomain.CurrentDomain.BaseDirectory() When I run the above statement with & "/images/image.jpg" on my local machine it works fine but when I install the application on another machine it says it cannot find the file and there is a lot of extra path information some. I just need the directory of where the app is running. I am coding in VB.NET with Visual Studio 2008. Thanks! 回答1: Dim strPath As String =

What's the best way to watchdog a desktop application?

自古美人都是妖i 提交于 2019-11-26 15:54:50
问题 I need some way to monitor a desktop application and restart it if it dies. Initially I assumed the best way would be to monitor/restart the process from a Windows service, until I found out that since Vista Windows services should not interact with the desktop I've seen several questions dealing with this issue, but every answer I've seen involved some kind of hack that is discouraged by Microsoft and will likely stop working in future OS updates. So, a Windows service is probably not an

Packaging a node.js webapp as a normal desktop app [closed]

孤者浪人 提交于 2019-11-26 11:46:12
问题 I\'ve searched a bit but can\'t find an existing tool for this. I have a node.js web server that is designed to run on your own computer that does some snazzy things for you. It would be pretty aswesome if I could double click MySnazzyThing.app instead of installing nodejs, and npm and running node mysnazzyapp.js on the command line. The .app executable would spool up the node server and open a simple native webkit window which would show what would normally be on localhost:3000 if I were

“Automatic updates” for Java (desktop) application?

…衆ロ難τιáo~ 提交于 2019-11-26 11:05:21
问题 What system do you recommend for implementing \"automatic updates\" for some java (desktop) application? I\'d also want to have module/plugin installation and update. Think Eclipse and Firefox. I\'m aware of Eclipse RCP\'s OSGi stuff, and also NetBeans RCP has something here. Do one have to buy wholly into their respective RCP stuff to use their module and automatic update systems? Are there other options? 回答1: Have you looked at the Java Web Start? It checks for updated module on the server