Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

An outgoing call cannot be made since the application is dispatching an input-synchronous call.

Posted on 2007-07-31
6
Medium Priority
?
2,316 Views
Last Modified: 2008-01-09
I have a visual basic.net program that prints two different labels to two Zebra printers. One of the labels prints fine. But the other label on and off throws an error.

Here is the error message:

An outgoing call cannot be made since the application is dispatching an input-synchronous call.

Here is where I get the error in VB program:

btApplicationRL = New BarTender.Application

Before this line I do a lot of database reads and writes. What should I do to fix the problem? And why am I getting this error? The other thing I dont understand is why I am getting the error sometimes and other times it works fine.

0
Comment
Question by:shamif
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:multithreading
ID: 19610232
Programmed directly, without using any third-party drivers, the Zebra works great. The problem isn't the printer, and it may not be your software. From your description and sample it sounds like the problem rests with the BarTender application itself. Your best bet would be to contact Seagull Scientific with this question.
0
 

Author Comment

by:shamif
ID: 19618374
I talked to Seagull tech support and their answer was we dont support automation. I can write to a small program just to print labels and it will work fine.

Now what I have done is put a button on the screen to manually print the label. So I clear the error, press the MANUALY PRINT LABEL button and will print the label fine.

But for some reason I cannot get it to print when I what it to print.
0
 
LVL 7

Expert Comment

by:multithreading
ID: 19636142
Bypass the Seagul driver. If you look at the underlying (Zebra) protocol, you will be amazed how simple it is.
0
 

Author Comment

by:shamif
ID: 19702137
I fix the problem. I called the first label pinting from one thred and other label printing from another thread and now the program works fine.
0
 
LVL 1

Accepted Solution

by:
Vee_Mod earned 0 total points
ID: 19729579
Closed, 250 points refunded.
Vee_Mod
Community Support Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Loops Section Overview
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question