473,406 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

ERROR : The callee (server [not server application])...etc while Printing

i have the Following method to Print an Html frames and if i ran this method
through a loop i get the follwing error....

Sub PrintFrame(toFrame, tnPrintOption)
Dim loWebBrowser
toFrame.focus

If Not IsNumeric(tnPrintOption) OR tnPrintOption < 0 OR tnPrintOption > 3
OR tnPrintOption = "" Then
tnPrintOption = 0
End If

loWebBrowser = "<OBJECT ID='WebBrowser' WIDTH=0 HEIGHT=0
CLASSID='CLSID:8856F961-340A-11D0-A96B-00C04FD705A2'></OBJECT>"
Document.body.insertAdjacentHTML "beforeEnd", loWebBrowser
WebBrowser.Silent = TRUE
WebBrowser.ExecWB 6, tnPrintOption
WebBrowser.outerHTML=""
End Sub

The callee (server [not server application]) is not available and
disappeared; all connections are invalid. The call did not execute.

Note: Also Note that this will happen only if the tnPrintOption = 2, Which
means to Promt before Printing....

Any Idia to solve this...?
Nov 20 '05 #1
0 2238

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: FaYYaZ | last post by:
Hi I have one link which is using window.open() function to open a new window. First time its working fine but second time when I am clicking the same link its giving javascript error "Error:...
2
by: TeknoCat | last post by:
Hey everyone, I may be repeating myself here, but if someone sent a reply then I missed it, and I can't get Outlook Express to download any messages more than 2 days old. Anyway, I'm having a...
1
by: Reshma Prabhu | last post by:
Hello, I am using a COM component in an ASP.Net application. I have properly registered it. But at some instances it throws follwoing exception: ) is not available and disappeared; all...
0
by: Tessa | last post by:
Is there any security reason why you cannot print to a network printer from ASP.NET under IIS6 on Windows 2003 server? I'm using ASP.NET code to print to a server print queue using...
1
by: kCura | last post by:
First off, I'm sorry if this isn't the write thread to post this message but I couldn't find one dedicated to System.Drawing. I'm developing an intranet application in VB.NET that uses a Hosted...
2
by: PJSimon | last post by:
I have an application written in VB6 that calls a DLL written in .Net. On the first run of the program, everything works fine. If I stop the program or close it, then run the program again, I get...
9
by: Csaba Gabor | last post by:
Inside a function, I'd like to know the call stack. By this I mean that I'd like to know the function that called this one, that one's caller and so on. So I thought to do: <script...
7
by: VK | last post by:
I was getting this effect N times but each time I was in rush to just make it work, and later I coudn't recall anymore what was the original state I was working around. This time I nailed the...
2
by: cmrhema | last post by:
Hi, I have a webservice, which works fine. I am working in windows xp. I hosted the webservice by integrating with .mpp file using COM component and it works successfully. Now I uploaded into...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.