<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [SOLVED] TaskDialog doesn&#039;t support automation?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : [SOLVED] TaskDialog doesn&#039;t support automation?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 11:29:32 +0000</pubDate>
  <lastBuildDate>Thu, 06 Oct 2011 09:50:51 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=18254</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? : Never mind - it appeared to be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=66513&amp;title=solved-taskdialog-doesnt-support-automation#66513</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 06 October 2011 at 9:50am<br /><br />Never mind - it appeared to be a problem with my license information (forgot newline characters between lines). Problem solved.<br><br>]]>
   </description>
   <pubDate>Thu, 06 Oct 2011 09:50:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=66513&amp;title=solved-taskdialog-doesnt-support-automation#66513</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? : Note: I&amp;#039;d rather not add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=66512&amp;title=solved-taskdialog-doesnt-support-automation#66512</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 06 October 2011 at 9:18am<br /><br />Note: I'd rather not add a hidden form with just a TaskDialog if at all possible]]>
   </description>
   <pubDate>Thu, 06 Oct 2011 09:18:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=66512&amp;title=solved-taskdialog-doesnt-support-automation#66512</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? : I&amp;#039;m still trying to get the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=66510&amp;title=solved-taskdialog-doesnt-support-automation#66510</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 06 October 2011 at 9:16am<br /><br />I'm still trying to get the CreateObject method to work, but it is failing on Windows 7 - has any body got this working?<br><br>Whether I've added the Suite Controls OCX as a Reference or as a Component, I get errors. In the case of Reference, the error is ActiveX can't create component, in the case of Component, the error is Type Mismatch Error.<br><br>My current code:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Public Function libnewTaskDialog() As XtremeSuiteControls.TaskDialog<br>&nbsp;&nbsp; Static s_LicenseSet As Boolean<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; On Error GoTo ErrorHandler<br><br>&nbsp;&nbsp; If Not s_LicenseSet Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SuiteControlsGlobalSettings.License = &lt;MY LICENSE INFO&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s_LicenseSet = True<br>&nbsp;&nbsp; End If<br><br>&nbsp;&nbsp; Set libnewTaskDialog = CreateObject("Codejock.TaskDialog." &amp; XtremeSuiteControls.Version)&nbsp;&nbsp; <br>End Function<br></pre></td></tr></table><br><br>Thanks for any help/advice.<br>]]>
   </description>
   <pubDate>Thu, 06 Oct 2011 09:16:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=66510&amp;title=solved-taskdialog-doesnt-support-automation#66510</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? :   Aaron wrote:Hi,   Gibra:   I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64568&amp;title=solved-taskdialog-doesnt-support-automation#64568</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 24 May 2011 at 5:20pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Aaron" alt="Originally posted by Aaron" style="vertical-align: text-bottom;" /> <strong>Aaron wrote:</strong><br /><br />Hi, <DIV>&nbsp;</DIV><DIV><strong><FONT color=#0000ff>Gibra:</FONT></strong></DIV><DIV>&nbsp;</DIV><DIV><DIV>I tried on <strong>XP</strong> and in IDE <strong>and</strong> exe run properly</DIV><DIV>&nbsp;</DIV></DIV><DIV>Dim oTaskDialog As Object</DIV><DIV>&nbsp;&nbsp;&nbsp; Set oTaskDialog = CreateObject("Codejock.TaskDialog." &amp; XtremeSuiteControls.Version)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oTaskDialog.ContentText = "test"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oTaskDialog.ShowDialog</DIV><DIV>&nbsp;</td></tr></table> </DIV><DIV>&nbsp;</DIV><DIV>Then?</DIV><DIV>I specified that&nbsp; doesn't work on <strong>Windows 7 64bit</strong>.</DIV><DIV>&nbsp;</DIV><DIV>My customer also own Windows 7 64bit.</DIV>]]>
   </description>
   <pubDate>Tue, 24 May 2011 17:20:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64568&amp;title=solved-taskdialog-doesnt-support-automation#64568</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? : Why declare as object? You can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64566&amp;title=solved-taskdialog-doesnt-support-automation#64566</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3745">JantjeKeizer</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 24 May 2011 at 4:45pm<br /><br /><p>Why declare as object? You can still embed the typelib and create the object dynamically against the hard referenced variable.</p><p><table width="99%"><tr><td><pre class="BBcode"></p><p>Dim bla as TaskDialog</p><p>Set bla = CreateObject("Codejock.TaskDialog." &amp; XtremeSuiteControls.Version)</p><p></pre></td></tr></table></p><p>You'll need to recompile anyway when you upgrade your Codejock for the next reason, which is probably also why it only works on your dev machines:</p><p>You need to include license info when creating Codejock controls dynamically via the Globalsettings object.</p><p>Also, this way you'll have your intellisense back.</p>]]>
   </description>
   <pubDate>Tue, 24 May 2011 16:45:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64566&amp;title=solved-taskdialog-doesnt-support-automation#64566</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? :   jpbro wrote:I did declare it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64562&amp;title=solved-taskdialog-doesnt-support-automation#64562</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 24 May 2011 at 2:38pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br /><FONT color=#666666>I did declare it as a module level variable, same problem - </FONT>did you try running the EXE on a computer that hasn't had the suite installed using the Codejock installer (that is, installed using your own installer<FONT color=#666666>)? I don't have a problem when I run compiled on my development machine, just on one of my test deployment machines</FONT>.</td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi Jason,</DIV><DIV>&nbsp;</DIV><DIV>I haven't installed V15.0.2 on my Office PC so if I register only SuiteControls.OCX on that PC (registering is enough?) you say it won't work? OK, I will try that and report back inhere.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 24 May 2011 14:38:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64562&amp;title=solved-taskdialog-doesnt-support-automation#64562</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? : I did declare it as a module level...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64561&amp;title=solved-taskdialog-doesnt-support-automation#64561</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 24 May 2011 at 2:19pm<br /><br />I did declare it as a module level variable, same problem - did you try running the EXE on a computer that hasn't had the suite installed using the Codejock installer (that is, installed using your own installer)? I don't have a problem when I run compiled on my development machine, just on one of my test deployment machines.]]>
   </description>
   <pubDate>Tue, 24 May 2011 14:19:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64561&amp;title=solved-taskdialog-doesnt-support-automation#64561</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? : Hi,  Gibra:   I tried on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64559&amp;title=solved-taskdialog-doesnt-support-automation#64559</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 24 May 2011 at 1:24pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV><strong><FONT color=#0000ff>Gibra:</FONT></strong></DIV><DIV>&nbsp;</DIV><DIV><DIV>I tried on <strong>XP</strong> and in IDE <strong>and</strong> exe run properly</DIV><DIV>&nbsp;</DIV></DIV><DIV>Dim oTaskDialog As Object</DIV><DIV>&nbsp;&nbsp;&nbsp; Set oTaskDialog = CreateObject("Codejock.TaskDialog." &amp; XtremeSuiteControls.Version)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oTaskDialog.ContentText = "test"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oTaskDialog.ShowDialog</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><DIV>&nbsp;</DIV><DIV><strong><FONT color=#0000ff>Jason:</FONT></strong></DIV><DIV>Did you declare object as "global" ?</DIV><DIV>&nbsp;</DIV><DIV>If you create object it's lifecycle is within the function you declare the object. My best guess would be that "Windows Garbage Collector" destroying the object right after the function or sub ends</DIV><BR>&nbsp;&nbsp;&nbsp; Set oPopup = CreateObject("Codejock.PopupControl." &amp; XtremeSuiteControls.Version)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oPopup.ShowDelay = 5000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oPopup.Animation = xtpPopupAnimationFade<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oPopup.AnimateDelay = 15000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oPopup.Show<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#006600>'this will prevent the popupControl from closing immediately when function or sub ends</FONT></DIV><DIV><FONT color=#006600>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'if you comment MsgBox the Popup control won't show (maybe as a flicker)&nbsp;</FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox ""</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Option Explicit<BR>Dim oPopup As Object <FONT color=#006600>'This would hold the object as long as you don't destroy it</FONT></DIV><DIV>&nbsp;</DIV><DIV>Private Sub Command1_Click()<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Set oPopup = CreateObject("Codejock.PopupControl." &amp; XtremeSuiteControls.Version)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;oPopup.ShowDelay = 5000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oPopup.Animation = xtpPopupAnimationFade<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;oPopup.AnimateDelay = 15000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;oPopup.Show<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>And again both run properly in IDE and exe</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 24 May 2011 13:24:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64559&amp;title=solved-taskdialog-doesnt-support-automation#64559</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? : Yeah, I&amp;#039;m using a PopupControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64556&amp;title=solved-taskdialog-doesnt-support-automation#64556</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 24 May 2011 at 9:52am<br /><br />Yeah, I'm using a PopupControl on a form now too - unfortunately not the same as creating it from code only, but I guess it will have to do.<br><br>]]>
   </description>
   <pubDate>Tue, 24 May 2011 09:52:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64556&amp;title=solved-taskdialog-doesnt-support-automation#64556</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] TaskDialog doesn&#039;t support automation? : However I solved the problem using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64555&amp;title=solved-taskdialog-doesnt-support-automation#64555</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 18254<br /><strong>Posted:</strong> 24 May 2011 at 9:15am<br /><br />However I solved the problem using the TaskDialog1 control contained in my frmMain. <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /><DIV>&nbsp;</DIV><DIV>&lt;from modMain.bas&gt;</DIV><DIV><FONT face="Courier New, Courier, mono">Public Sub Main()</FONT></DIV><DIV><FONT face="Courier New, Courier, mono"></FONT>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; Dim oTaskButton As TaskDialogCommonButtons<BR>&nbsp;&nbsp;&nbsp; Dim oTaskDialog As Object</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; <FONT color=#006600>' this doesn't work</FONT></FONT></DIV><DIV><FONT face="Courier New, Courier, mono"><FONT color=#006600>&nbsp;&nbsp;&nbsp; Set oTaskDialog = CreateObject("Codejock.TaskDialog." &amp; XtremeSuiteControls.Version)<BR></FONT>&nbsp;&nbsp;&nbsp; </FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; <FONT color=#006600>'this work</FONT></FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; Set oTaskDialog = </FONT><FONT face="Courier New, Courier, mono"><strong><FONT color=#0000ff>frmMain.TaskDialog1<BR></FONT></strong>&nbsp;&nbsp;&nbsp; With oTaskDialog</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' my code</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; End With</FONT></DIV><DIV><FONT face="Courier New, Courier, mono"></FONT>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">End Sub</FONT></DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></DIV>]]>
   </description>
   <pubDate>Tue, 24 May 2011 09:15:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18254&amp;PID=64555&amp;title=solved-taskdialog-doesnt-support-automation#64555</guid>
  </item> 
 </channel>
</rss>