MozNET:  (02/17/2012)
.Click() is coming!
Starting with R19.3, MozDomElement and derivatives will support their own .Click() method!


MozNET:  (12/17/2011)
MozNET R19.2 is available! Recommended update.
Incremental bug fixes and enhanced inline CSS access on elements.
New Software:   
Win7Lib is the newest member of the Se7en Soft title line-up. This programming library gives you access to some of Windows 7's most secret of secrets!
New Software:  
Note Magic has just been released. Enhance your Windows 7 Sticky Notes experience!
MozNET:  
New MozNET tutorial posted!
Use MosStringBundleService to localize your applications.
 
Follow Se7en Soft On Twitter:
     Twitter.com/Se7enSoft

Did You Know...
... bananas contain no fat, cholesterol or sodium?
MozNET : Technical Issues

This page contains common solutions to some technical issues you may have when first getting up and running with MozNET.


MozIncrementalDownloader Not Working

MozIncrementalDownloader does not work with XulRunner 1.9.2.21 and above. This is not a bug with MozNET but, rather, a short-coming in XulRunner, itself. If you use a version lower thatn 1.9.2.21, MozIncrementalDownloader will continue working as it should.


General Compiling of Applications

If you are receiving errors similar to 'MozWebView is not defined', etc. please ensure that your application is targeting a full framework edition and not a 'Client' edition. MozNET does not work with 'Client' framework versions.


File Downloading

One of the most common issues when starting out with MozNET is getting file downloads working properly. The problem with downloads not working has a very simple solution and you don't even need to edit any source code...

Open an Explorer window and navigate your way to the 'greprefs' folder, located in the 'XulRunner' directory your application is using. Next, open 'all.js' in your favorite text editor and ensure the following prefs are contained within it.

pref("browser.download.manager.addToRecentDocs", true);
pref("browser.download.manager.alertOnEXEOpen", true);
pref("browser.download.manager.quitBehavior", 1);
pref("browser.download.manager.resumeOnWakeDelay", 10000);
pref("browser.download.manager.retention", 2);
pref("browser.download.manager.scanWhenDone", false); //true to a/v scan
pref("browser.helperApps.deleteTempFileOnExit", true);
pref("browser.download.dir","");
pref("browser.download.folderList", 1);
pref("browser.download.lastDir", "");
pref("browser.download.downloadDir","");
pref("browser.download.useDownloadDir", false);
pref("browser.download.manager.showAlertOnComplete", true);
pref("browser.download.manager.showAlertInterval", 2000);
pref("browser.download.manager.retention", 2);
pref("browser.download.manager.showWhenStarting", true);
pref("browser.download.manager.useWindow", true);
pref("browser.download.manager.closeWhenDone", false);
pref("browser.download.manager.openDelay", 0);
pref("browser.download.manager.focusWhenStarting", false);
pref("browser.download.manager.flashCount", 2);
pref("browser.download.SaveUnknownContent", true);
pref("alerts.slideIncrement", 1);
pref("alerts.slideIncrementTime", 10);
pref("alerts.totalOpenTime", 4000);
pref("alerts.height", 50);

Secure Login Feature

Another issue that seems to hit some developers is getting the 'Secure Login' feature working. While the example project does show, code-wise, how to setup and use the feature it doesn't plainly show how to get it working from the 'ground' level. The feature requires a certain pref to be setup in 'all.js', just as file downloading does.

The login manager, itself, requires a few preferences to be set in order for it to work as well. Below, you'll find the prefs needed for both the login manager and the 'Secure Login' feature.

// Login Manager prefs
pref("signon.rememberSignons",      true);
pref("signon.expireMasterPassword", false);
pref("signon.SignonFileName",       "signons.txt"); // obsolete
pref("signon.SignonFileName2",      "signons2.txt"); // obsolete
pref("signon.SignonFileName3",      "signons3.txt"); // obsolete

pref("signon.autofillForms",        false); //Required to be false for Secure Login - true otherwise

pref("signon.debug",                false); // logs to Error Console
SSL Logo
ASPCA.org
Visitor IP: 38.107.179.214
Copyright (c) 2009 - 2011 Se7en Soft   :  All Rights Reserved  |  Privacy Statement