desktop-application

Solutions for distributing HTML5 applications as desktop applications? [closed]

落爺英雄遲暮 提交于 2019-11-27 16:38:14
What are some solutions for distributing an HTML5 based desktop application? I want to be able to distribute my HTML5 app as a standalone desktop application on Windows, OSX, and Linux. I would like for people to be able to double click my app icon shortcut to run my program. I don't want the browser window showing at all, just my app. Is this possible? Samuel Herzog HTML5 Apps in 2014 Frames by chrome/webkit Electron (former Atom Shell) Electron is an open source library developed by GitHub for building cross-platform desktop applications with HTML, CSS, and JavaScript. Electron accomplishes

Options for distribution of an offline Ruby on Rails application

杀马特。学长 韩版系。学妹 提交于 2019-11-27 12:23:01
问题 I am developing an application in using Ruby on Rails, mostly as an excuse to learn the language. This is not intended to be a web-based application - and perhaps I have chosen the wrong language, but... My understanding is, that in order to run an instance of this application on somebody else's computer, they would need to install ruby on rails, and a webserver (or webrick, perhaps), as well as my application code. I am just curious if there are any other options for distributing my

Executable directory where application is running from?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 12:09:40
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! Dim strPath As String = System.IO.Path.GetDirectoryName( _ System.Reflection.Assembly.GetExecutingAssembly().CodeBase) Taken from

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

自作多情 提交于 2019-11-27 12:05: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 option anymore. I could probably just create a different desktop/console application to do this, but that

How to fit Windows Form to any screen resolution?

北城余情 提交于 2019-11-27 11:31:29
问题 I work on VS 2008 with C#. This below code does not work for me. My form was designed in 1024 x 768 resolution. Our clients laptop is in 1366 x 768 resolution. To solve this problem, I set below code in Form Load event: this.Location = new Point(0, 0); this.Size = Screen.PrimaryScreen.WorkingArea.Size; but the form does not resize as per screen resolution and bottom of my form gets hidden or cut or I miss the scroll bar. Is there any way to solve this problem? Please show me the syntax.

How to build a SystemTray app for Windows?

眉间皱痕 提交于 2019-11-27 11:22:58
I usually work on a Linux system, but I have a situation where I need to write a client app which would run on windows as a serivce. Can someone help me or direct to, on how to build a MenuBar app ( for example like dropbox) for windows environment, which gets started on OS startup and the icon sits in the TaskBar and on clicking the app icon presents a menu. My scripting language is python. Thanks. SpliFF You do this using the pywin32 (Python for Windows Extensions) module. Example Code for Python 2 Similar Question To make it run at startup you could mess around with services but it's

Convert PHP-MySQL web application to desktop app (exe)

喜欢而已 提交于 2019-11-27 11:15:30
问题 I have developed a PHP-MySQL web application, which is a school-based project. My client wants this application to be converted into a .exe file such that it can be installed on his desktop and use it. How the PHP website can be converted to a .exe file and can it be run without the need of a database/server software? Please advice. 回答1: The convenient solution is not to convert the website to .exe. I think it will be better if you have portable server/php/mysql and make the website work from

Desktop application development with Javascript and HTML

最后都变了- 提交于 2019-11-27 10:10:58
问题 I am looking for Titanium Appcelerator alternatives for Desktop application development with HTML and JavaScript. I want to convert a web app to a desktop application. Hence, there will be a lot of server interaction. Appcelerator was a good choice, but it looks like the company is no longer interested in the Desktop SDK. Also, ajax request from Appcelerator does not retain cookies. I read that Adobe Air can be used for desktop app development, but I don't want to use flash. How good is

How to develop Desktop Apps using HTML/CSS/JavaScript? [closed]

落爺英雄遲暮 提交于 2019-11-27 09:57:31
First, I'm not interested in doing this professionally. I am a web developer, a coworker of mine recently left for Spotify and said he will be working mostly in JavaScript for the Spotify Desktop app. He said it uses "Chrome frame" and everything inside is done like a web app (HTML/JS/CSS). As a web developer who never built anything for Desktop, this is great news. If I can use the technologies I already know and implement them inside some sort of a "frame" and still be able to build a windows or better yet cross platform app. I know I didn't mention anything about the database, but even a

QScrollArea with dynamically changing contents

泄露秘密 提交于 2019-11-27 09:09:27
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 is free space on the right, so this should look like: If i increase once more to 10 for example, then