System Error &H8001010D (-2147417843) An outgoing call cannot be executed

PaxMundi

New Member
Joined
Feb 5, 2011
Messages
8
Hi everybody, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
I've developed an EXCEL-VBA application (originally in MS Office 2007 Professional SP2). It executes smoothly in XP and Vista (MS Office 2007 Professional SP2).<o:p></o:p>
The application uses the MSCAL.OCX (calendar control 12.0, which is part of ACCESS 2007). <o:p></o:p>
When trying to install the software on another PC (VISTA Office 2007 without Access and without MSCAL.OCX - I had to copy the file and register it via regsvr32.<o:p></o:p>
After that, the application runs also on that configuration.<o:p></o:p>
<o:p> </o:p>
However, the problem arose when I had to install my software on another PC (Windows7 & Office 2010), since Microsoft removed MSCAL.OCX from Office 2010. Microsoft says (and I quote):
"Calendar control<o:p></o:p>

Calendar control (mscal.ocx) was a Microsoft Access feature that could be used in Access worksheets. Calendar control is removed in Access 2010 and is not usable for Excel 2010."<o:p></o:p>

<o:p> </o:p>

I did manage to install the calendar control 12.0 on that machine, but since then my application encounters the following error every once in a while:<o:p></o:p>

<o:p> </o:p>

System Error &H8001010D (-2147417843)
An outgoing call cannot be executed because the application is
forwarding an input-synchronized call.<o:p></o:p>


<o:p> </o:p>

Well, after this long prelude I have two questions:<o:p></o:p>

1. Is MSCAL.OCX the "culprit" for the error in the program?<o:p></o:p>

2. If it is, then what can be done to bypass this error? what is the best alternative?<o:p></o:p>
 
You can only post code inside a post here - file attachments are not allowed. You can post the files on a free hosting site if you are allowed, or if you can email the files, I will PM you an address and take a look when I have time, and post any findings back here. Obviously a public file gives you more people looking at it though.
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi, rorya.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
As I've already mentioned, the program runs flawlessly on my computer (as well as on other machines). On the other hand, you are right when you point out that
" The fact that it works a couple of times [and then crashes] makes it sound like a code problem." <o:p></o:p>
IMHO, however, I think that in order to find the cause of the problem, the best thing to do is to run the program in its "environment". For that, you'll need both the entire program (.xlsm) file, and the 3 input (.xlsx) files.<o:p></o:p>
Now, since I'm not subscribed to any free hosting site, whom should I mail the files to? <o:p></o:p>
 
Last edited:
Upvote 0
No need - I see you have posted them on one of the other sites you linked to, so I'll get them from there when I have time (assuming you don't get an answer elsewhere in the meantime)
 
Upvote 0

Forum statistics

Threads
1,217,371
Messages
6,136,175
Members
449,996
Latest member
duraichandra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top