473,326 Members | 2,102 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,326 software developers and data experts.

How to Send Enter key to MSWord Dialog Box

I'm trying to automate the creation of a MSWord document with C#;
however, when I start creating the MSWord document, I occassionly have a
MSWord dialog box displaying a warning of low memory and asking if I
would like to continue (Yes, No, Cancel).

Is there a way to send the "Enter" or mouse click to this MSWord Dialog
Box to invoke the "Yes" option, which will allow the MS Word to
continue?

I would appreciate any help... Matt

*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #1
1 2569
The application object has a property DisplayAlerts that can be set to three
levels - 0 means no dialogues & assume the default button is clicked.
Jun 27 '08 #2

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

Similar topics

2
by: Systemspecialist | last post by:
Hi All, I need to sent key code (for example, like enter) to the textbox control. I need to simulate press key. i think , solution can be by firing message, but i don't know how.... Thanks a...
4
by: Husam | last post by:
hi EveryBody: How can I click the Enter button automatically, how can I write code progrmatically that click the Enter Button ? Any help will be appreciated regard's Husam
2
by: xargon | last post by:
Hi everyone, I have a frustrating problem. I have a Windows dialog based application (non-MFC). So, I created the dialog in the resource editor. However, I want to precisely specify the size of...
2
by: mounilkadakia | last post by:
I have a CrystalReportViewer(crv) on my form. I also have a dataset (dtsReportData) populated with the required data and i have a ReportDocument (rdReport) object. The data source for the crystal...
2
by: ME | last post by:
I can not for the life of me figure out how to send the ENTER key to a RUNNING instance of the Console. I do not have access to the startup of the console in this case. I have found a way to...
2
by: mehdi_mousavi | last post by:
Hi folks, has got a button, that enabled user whether to send some sort of data (when an application crashes) to Microsoft. I would like to know that is there anyway to incorporate this...
14
by: favor08 | last post by:
How do I get remove the dialog box that pops up each time a fax is getting ready to be sent. I just want them to go. Right now the user would have to click the yes each time. I just want to have...
0
by: revacdm20635 | last post by:
hi, I am working in VB.NET 2003(.NET Framework 1.1). I want to send the key Enter or Space to the process. My code is <CODE>
10
by: Rob | last post by:
For example, how could you programatically "click" on a button in a Form ?
0
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...
1
isladogs
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...
0
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
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)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.