<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Automation Error -2147417843 in ActiveX component' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Automation Error -2147417843 in ActiveX component' posted on the 'VBA' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 20 Nov 2009 20:30:49 -0700</pubDate>
    <lastBuildDate>Fri, 20 Nov 2009 20:30:49 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Automation Error -2147417843 in ActiveX component</title>
      <link>http://www.programmersheaven.com/mb/vba/390352/390352/automation-error--2147417843-in-activex-component/</link>
      <description>Hi All&lt;br /&gt;
&lt;br /&gt;
I trying to write an automation script to screen scrape a 3rd Party VB6 application.&lt;br /&gt;
&lt;br /&gt;
I am having difficulty trying to enter in data in an ActiveX Masked Edit Control (textbox).&lt;br /&gt;
&lt;br /&gt;
When I try using&lt;br /&gt;
call SendMessage(myHwnd1,&amp;amp;HC,0,"String")&lt;br /&gt;
&lt;br /&gt;
I get an Automation Error&lt;br /&gt;
"An outgoing call can not be made since the application is dispatching an input synchronous call"&lt;br /&gt;
&lt;br /&gt;
I have looked up the MSDN forums and knowledge base and it suggests using timers but I have tried that and it didn't make any difference.&lt;br /&gt;
&lt;br /&gt;
I have tried using other Win32 API such as SetWindowText but that didn't work for obvivous reasons.&lt;br /&gt;
&lt;br /&gt;
Does anyone know how to enter data into an activeX component using VBA and Win32 API calls and not get the automation error?&lt;br /&gt;
&lt;br /&gt;
Kind Regards&lt;br /&gt;
Charles						  &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/vba/390352/390352/automation-error--2147417843-in-activex-component/</guid>
      <pubDate>Mon, 04 May 2009 00:34:27 -0700</pubDate>
      <category>VBA</category>
    </item>
    <item>
      <title>Re: Automation Error -2147417843 in ActiveX component</title>
      <link>http://www.programmersheaven.com/mb/vba/390352/390457/re-automation-error--2147417843-in-activex-component/#390457</link>
      <description>I have worked this out, but using a combination of SendMessage to get focus and SendKeys.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/vba/390352/390457/re-automation-error--2147417843-in-activex-component/#390457</guid>
      <pubDate>Tue, 05 May 2009 18:28:56 -0700</pubDate>
      <category>VBA</category>
    </item>
  </channel>
</rss>