It is currently Tue Oct 22, 2019 10:24 pm

News News of CrossUI for Desktop Apps

Site map of CrossUI for Desktop Apps » Forum : CrossUI for Desktop Apps

Develop and Deploy Native Apps for Windows, OS X, Linux, Unix ...

nw_elf.dll missing

Running CrossUI SPA Builder 1.42 LTS.

Tried (for the first time) to build a desktop version of my web app for Windows 32 and Windows 64. It runs fine on my development machine, however it won't load on any other machine, with error that nw_elf.dll is missing.

Read more : nw_elf.dll missing | Views : 2953 | Replies : 1

Desktop App Icon

I want to change the icon associated with the exe file created when you compile a desktop app. Can I do this within the IDE or do I have to swap out a file? Which file?
Read more : Desktop App Icon | Views : 4611 | Replies : 3

Reload desktop app from new IP address

I want to deploy my industrial instrumentation app, which was developed as a web app, so that it runs as a desktop app. The web app loads from an embedded server into the browser, connects to a websocket at the embedded server address and then continuously retrieves data that gets displayed on the browser's CrossUI gui. When the user enters a new server address in the browser's address window, the web app restarts and reloads ...
Read more : Reload desktop app from new IP address | Views : 2439 | Replies : 1

location.protocol problem

I have a comprehensive web app developed in CrossUI Ver 1.4 that I want to also deploy as a desktop app. The location.protocol property, which in Ver 1.3 and earlier used to return "file:" when deployed as desktop app, now returns "chrome extension" when deployed as desktop app. Any idea what's going on?
Read more : location.protocol problem | Views : 2384 | Replies : 1

Load new url in desktop deployment version

I have an app that I have to deploy as either a web version (runs in browser) or as a desktop exe. In the desktop version, the app still has to work in conjunction with a user-defined server, so I added an input box where the user can enter the url of the server. The server destination can be changed at any time by typing a new url in the box. I'm doing this using ...
Read more : Load new url in desktop deployment version | Views : 4149 | Replies : 2

Show debug window programmatically

Show debug window

javascript code
if(typeof(require)=='function') require('nw.gui').Window.get().showDevTools();
Read more : Show debug window programmatically | Views : 5045 | Replies : 0

close application programmatically

close application programmatically :

1-st way
javascript code

2-nd way
javascript code
var win=require('nw.gui').Window.get();

Read more : close application programmatically | Views : 3875 | Replies : 0

shell execute

shell execute:

javascript code
var childProcess = require('child_process');
childProcess.exec('wscript.exe C:\\test\\1.vbs',
function (error, stdout, stderr) {
xui.echo('stdout: ' + stdout);
xui.echo('stderr: ' + stderr);
if (error !== null) {
xui.echo('exec error: ' + error);
Read more : shell execute | Views : 4504 | Replies : 0

File read/write

As i understood Node.js can be used:

javascript code
fs = require('fs');
fs.readFile('c:\\test.txt', 'utf8', function (err,data) {
if (err) {
return console.log(err);

javascript code
var fs = require('fs');
fs.writeFile("c:\\test.txt", "Hey there!", function(err) {
if(err) {
} else {
console.log("The file was saved!");
Read more : File read/write | Views : 4465 | Replies : 0

bug when creating new empty project


I have version 1.22

when creating new blank project, and try to run it in debug a got blank program


here the debug.html

<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="keywords" content="GUI design,GUI builder,web UI,RAD,RIA,development tool,multi-platform,cross-platform,web app" />
<meta name="description" content="Built by CrossUI RAD Tools - Develop Once,Deploy Anywhere, HTML5, CSS3 and JavaScript for all platforms" />
<meta name="copyright" content="[email protected]" />
<meta http-equiv="imagetoolbar" content="no" /> ...
Read more : bug when creating new empty project | Views : 6537 | Replies : 5




Total posts 1003 • Total topics 337 • Total members 42