Search found 17 matches

by woowil
Tue Aug 27, 2013 4:10 pm
Forum: Other Scripting Languages
Topic: HTA JS Framework Library
Replies: 0
Views: 41936

HTA JS Framework Library

Continuing a five year old topic: http://www.sapien.com/forums/viewtopic.php?f=20&t=2680 I have been away from HTA programming for many years, but decided to publish my HTA JavaScript Framework Libray ( HUI-Professional ). You are able to include other web "AJAX" frameworks in the Plug...
by woowil
Fri May 29, 2009 8:35 pm
Forum: Other Scripting Languages
Topic: Using AJAX Frameworks, JavaScript prototype in HTA
Replies: 0
Views: 9531

Using AJAX Frameworks, JavaScript prototype in HTA

Most scripters are unaware that JavaScript prototypes used in AJAX Frameworks (jQuery, Dojo, YUI, etc) actually works i HTA as well. You will quickly realize that you can use any AJAX framework you want in HTA. In my case I've created my own HTA Framework with compatibility to other AJAX framework m...
by woowil
Fri May 29, 2009 7:38 pm
Forum: PowerShell
Topic: How to change printer driver without reinstall
Replies: 2
Views: 3704

How to change printer driver without reinstall

I will try to simulate the problem.1. Login on a Windows 2003/2008 server or Windows XP/Vista2. Navigate to Printer and Faxes3. Click: File - Server Properties - Drivers (tab)4. Click: Add to install two different drivers: Lexmark Optra and Lexmark Optra T610 PS5. Click: OK to close the Server Poper...
by woowil
Fri May 29, 2009 6:08 pm
Forum: PowerShell
Topic: How to change printer driver without reinstall
Replies: 2
Views: 3704

How to change printer driver without reinstall

I'm using the command rundll32 printui.dll,PrintUI Entry /? for installation of printers in an enterprise environment. I am a pretty much advanced scripting person but there is one graphical printer change am not able to do either through WMI or through the rundll32 command.The ProblemI am convertin...
by woowil
Fri May 29, 2009 6:08 pm
Forum: PowerShell
Topic: How to change printer driver without reinstall
Replies: 2
Views: 3704

How to change printer driver without reinstall

I'm using the command rundll32 printui.dll,PrintUI Entry /? for installation of printers in an enterprise environment. I am a pretty much advanced scripting person but there is one graphical printer change am not able to do either through WMI or through the rundll32 command.The ProblemI am convertin...
by woowil
Sun Aug 31, 2008 6:02 pm
Forum: Other Scripting Languages
Topic: Remotely deleting computers from Active Directory
Replies: 2
Views: 3403

Remotely deleting computers from Active Directory

Hello!

The DS* suite are pretty powerful commands indeed. But in this case I'll use netdom remove /? from Support tools / Reskit for removal om computer acounts.
by woowil
Sun Aug 31, 2008 2:25 pm
Forum: Other Scripting Languages
Topic: Compressed HTA ?
Replies: 2
Views: 3250

Compressed HTA ?

Bob: I don't know about PrimalScript since I stop using it for a couple of years ago. But I do know that Microsoft have for some reason chosen not to expose the res:// protocol in DLL file combined with HTA file structure for the public. Maybe I haven't seen it. However, that technique has been arou...
by woowil
Fri Aug 29, 2008 2:33 am
Forum: Other Scripting Languages
Topic: Alert with Yes No in Jcript
Replies: 2
Views: 5246

Alert with Yes No in Jcript

// Hello!// You can use the Popup method in WSH, JScript or HTA Applicationsvar oWsh = new ActiveXObject("WScript.Shell");function popup(sMessage,iIdleSec,sTitle,nType){ if(typeof(sTitle) != "string") sTitle = "Popup"; iIdleSec = typeof(iIdleSec) == "number" &...
by woowil
Thu Aug 28, 2008 9:18 am
Forum: Other Scripting Languages
Topic: mysql + javascript
Replies: 5
Views: 6545

mysql + javascript

//Prevents ADO message like: Safety settings on this computer prohibit accessing a data source on another domain.// Workaround// http://www.jsifaq.com/SF/Tips/Tip.aspx?id=5130// IE -> Security -> Custom Level -> Internet|Local Intranet: Access Data Sources Across Domains// This must be set, or it ge...
by woowil
Thu Aug 28, 2008 9:08 am
Forum: Other Scripting Languages
Topic: mysql + javascript
Replies: 5
Views: 6545

mysql + javascript

Step 1MySQL ODBC driver for Windows http://dev.mysql.com/doc/refman/5.0/en/myodbc-examples.htmlStep 2var oConnect = new ActiveXObject("ADODB.Connection");// ADO connection strings// http://www.connectionstrings.comvar sConnect = "Driver={mySQL};Server=myServer;Option=131072;Port=3306;...