Print Page | Close Window

TaskDialog with JScript

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=11956
Printed Date: 23 May 2024 at 7:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TaskDialog with JScript
Posted By: AndreasM
Subject: TaskDialog with JScript
Date Posted: 25 August 2008 at 6:11am
Hi,
we purchased the Controls (ActiveX) and I'd like to use the TaskDialog from JScript. I tried the following simple test code:
try
{
  var TaskDialog = new ActiveXObject("Codejock.TaskDialog.12.0.1");
  TaskDialog.ShowDialog();
}
catch(e){

 WScript.Echo("Error: " + e.description + " No: " + e.number);
}

But I always get the error -2147418113
Has anybody an idea what's wrong here?

Thanks, Andreas





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net