Hello!
I have developed a function which create a word doc. It works fine for
smaller amount of text but when I want to create larger documents something
goes wrong!
The application stops at this line:
oWordDoc.SaveAs(ref fileName, ref missing, ref missing, ref missing, ref
missing, ref missing, ref readOnly, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing, ref
missing);
with the error message:
The message filter indicated that the application is busy.
How can I work around this problem? Is there any way to check if the
application is busy? 1 1232
COM automation to Word, such as you're doing, is not recommended from
ASP.NET.
Instead you could use one of these techniques: http://SteveOrr.net/articles/ExportPanel.aspx http://SteveOrr.net/Articles/ExcelExport.aspx
If you have more advanced needs, I'd recommend going with a 3rd party
component, such as one of these: http://www.SteveOrr.net/Reviews/AsposeWord.aspx http://officewriter.softartisans.com...riter-189.aspx
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"Meken" <Me***@discussions.microsoft.com> wrote in message
news:46**********************************@microsof t.com... Hello!
I have developed a function which create a word doc. It works fine for smaller amount of text but when I want to create larger documents something goes wrong!
The application stops at this line: oWordDoc.SaveAs(ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); with the error message: The message filter indicated that the application is busy. How can I work around this problem? Is there any way to check if the application is busy? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: sudha |
last post by:
Hi
I need to write a c# program which has to merge selected
word documents into one word document.
Kindly advise the efficient way to achieve this.
Thanks in advance
sudha
|
by: Steve |
last post by:
Can anyone point me to a primer for creating OCX controls in VB .net? In particular, I want to access a web service in a VB6 application (not an easy thing to do). So, if I can write an ActiveX...
|
by: questionr |
last post by:
There is a spell checker function which is written in VB Script. The
function works well when tested seperately. But when the function is
called from Java Script, the function shows an Error saying...
|
by: Ruby Tuesday |
last post by:
Hi, I was wondering if expert can give me some lite to convert my word table
into access database.
Note: within each cell of my word table(s), some has multi-line data in it.
In addition, there...
|
by: Neil |
last post by:
An article at http://news.com.com/2100-1012-991694.html?tag=fd_top states:
"XML would allow easier interchange of data generated in
Office documents with back-end systems or existing Web...
|
by: Fred Glickman via AccessMonster.com |
last post by:
I need to find a way to automatically create several Word docs from 1 access
query.
Example:
I have a query which has 40 records in it according to my criterea.
Let's say that it is employees....
|
by: Steve Barnett |
last post by:
Hi,
I'm attempting to automate word to load a document. I have no problem if
Word isn't loaded yet as creating a new Word.ApplicationClass() loads it for
me. However, there will be times when Word...
|
by: Howard Kaikow |
last post by:
MSFT KB article 302896 includes a step by step example demonstrating how to
build an Office COM in VB .NET,
Yesterday, I implemented the example and it works correctly when starting
each of the...
|
by: Eric Sabine |
last post by:
I'm running FX Cop on my assembly and on a form, tons of my labels and
buttons are being flagged with this error. I don't really get the error and
what I am supposed to do to resolve the error. I...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |