It is currently Mon Dec 10, 2018 9:49 am

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.

Joe
Read more : nw_elf.dll missing | Views : 1106 | 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 : 3486 | 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 : 1612 | 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 : 1590 | 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 : 3247 | 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 : 4289 | Replies : 0


close application programmatically

close application programmatically :

1-st way
javascript code
process.exit(code=0);


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

win.close();
Read more : close application programmatically | Views : 3155 | 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 : 3741 | Replies : 0


File read/write

As i understood Node.js can be used:

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


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


bug when creating new empty project

Hi

I have version 1.22

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

Image


here the debug.html


<!DOCTYPE html>
<html>
<head>
<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 : 5253 | Replies : 5


 

Login  •  Register


Statistics

Total posts 998 • Total topics 335 • Total members 40

cron