So I have a c# word interop program to open a document silently (the visible attribute is set to false) and check for certain words in the document which works fine. The documents are processed in the background, saved and closed and the user doesn't have to worry about it. The problem is that if the user has word open and then runs the program, the document appears in word and stays there. How do I prevent it from being shown from the user if they have word open already? At the very least, it should auto close the document but keep word open.
Word Interop - trying to keep the document hidden but opening word shows the document
555 views Asked by CephDigital At
1
There are 1 answers
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in MS-WORD
- VBA query - sort text in alphabetical order in Word
- Can you programmatically generate a link to open a Word document and navigate to a particular location within it (preferably a comment)?
- How can I create an automatic table of contents in docx without the text being bold?
- Does MS Word secretly upload my file to cloud?
- How to use VBA to bold just some text
- Find text and numbers Formatted: "Case: BE########" and format them, regardless of the number
- Access all documents for Word from multiple instance using Excel VBA
- Using document.Application.PixelsToPoints will give different results
- Error: "Document_KeyUp" event not working
- Word macro for reversing selected text
- Make a table of remarks/figures, and format it as a table
- Add custom ribbon button to dotm file that runs macro
- Inline pictures: Add margin
- Excel VBA: Action logging on label click (like Audit Trail)
- Custom referencing format in CSL document, Want to add whitespace into bibliography
Related Questions in WORD-INTEROP
- Count instances of a specific word and return new document up to up to a range (based on that word)
- Document.AcceptAllRevisions() in Word Interop did not work
- MS Word Interop: Group image and label
- C# restart list numbering after copying "Template-Pages" in word
- MS Word picture replacement with VB.NET, error message for empty clipboard
- mass removal of excel macros from files
- doc.Activate() set to an null reference in c# for Microsoft.Office.Interop.Word.Application word
- How to insert table in Word without clipboard using vb.net
- Where can I find the Qt operating Word document?
- Adding Watermark to Word Document for Odd/Even and First Pages
- VSTO comment RCW points to the wrong comment
- Why does Microsoft.Office.Interop.Word uses Aspose instead?
- TCL TWAPI - Replacing strings in Word Document
- How to add two pictures next to eachother in a line to a word file with vb.net
- Connecting Microsoft.Office.Interop.Word with DocumentOpenXml
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
First comment on the main post helped!
Setting the ActiveWindow.Visible to false does what I want it to do where the document isn't shown to the user and if the word document has active documents in it, it doesn't close!