Group:  Microsoft Word ยป microsoft.public.word.oleinterop

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Threads Replies Last Post
5 Pages: 1  2  3  4  5  
.NET Interop and PrintOut
Hello, I'm using the interop-interface to use office documents from my C#-Code. I'm writing a converter that converts any Office-Document into a pdf-file by using a "pdf-printer". This task should be done by a service installed on a machine... The problem is that when printing starts I get a "printer status dialog" indicating how many pages are send to the printer. This is very bad, be...
2 25.04.2006 13:21:45
Make Money From Google
Google AdSense is a fast and easy way for website publishers of all sizes to display relevant, unobtrusive Google ads on their website's content pages and earn money AdSense for search results pages use Google's search to provide relevant results, and the search results pages are customizable to fit with your site's theme https://www.google.com/adsense/?ai=BRRgZ9XRNRM...
1 25.04.2006 06:54:48
Cannot save Normal.dot due to Outlook
My application opens a new copy of Word 2003 to generate and save a document. Everything works fine after a fresh boot of Windows, but when my clients have created an e-mail in Outlook there is a second copy of Word open. In that case, when I call the Quit method of the Word object I get the "already open" save failure for Normal.dot. I have stepped through my code to ensure that oWor...
4 20.04.2006 17:38:37
for sale: internetDotComs.com
domain for sale: internetdotcoms.com http://www.afternic.com/name.php?id=11866440 ...
1 16.04.2006 13:45:28
Slow updates
I have a C# program that is creating a blank document, inserting a table and then inserting data into the table. This process is very slow and I would like to speed it up. If I use the Screen Updating() function, Word still seems to step through each cell, it just isn't updating the screen. You can tell this by watching the ruler at the top/bottom of the page. I would probably be con...
2 12.04.2006 13:55:57
MS Word OLE Copy Chinese Text Doesn't Work
Hi, i have an apparent problem with MS Word OLE which i'm hoping someone would know the answer to. i have the following code (using Delphi 7.1 and Word 2000 running in Windows 2000 Pro): function ReturnDocParagraphString: widestring; const {Constants for enum WdUnits } wdCharacter = $00000001; wdParagraph = $00000004; {Constants for enum WdMovementType} wdExtend = $00000...
1 12.04.2006 06:33:53
Selecting area between bookmarks
I know this is probably an easy question for those who are experienced at Word Interop development. I'm new to Word development. Here is the basic outline to my problem: Want to take an existing MSWord document, say 500 pages, and break it into smaller documents based on headings (using Heading styles). Based on example code I picked up here http://groups.google.com/group/microsoft.public...
3 11.04.2006 20:42:36
Inserting more than 1 row by way of macro
Hi all, just learnt a few basics working with templates. I am creating templates and working with access DB - vba. I am exporting data from access to templates and also from templates to access. I found this example from one of the Dian's tutorial sites - www.mousetrax.com Well, it seems strange way of doing it but ' never mind there is reason for this' . When I create a new doc. from m...
4 10.04.2006 10:10:57
how to conditionally show a picture in a document in function of a certain field when merging with a database
Hi I know how to conditionally show text (without using VBA) and I know VBA/VB6 from using it in MS Access , is there anybody that knows how to conditionally show a picture in a document in function of a certain field when merging with a database query with/or without using VBA? Thanks for your help! ...
3 09.04.2006 17:32:42
Excel Sheet will not insert int a Woord document
When I try to insert an Excel Sheet in a Wood 2003 doucument the Excel sheet opens in a new window instead of embedding into the Word document. Do you have any suggestions to fix this problem ?...
2 09.04.2006 17:32:41
How to get the stream of the currently opened word document in an Addin
Hi, I want to get the stream of currently opened word document. It is not saved. Is it possible. Thanks Anil Kumar Gupta ...
2 09.04.2006 17:32:41
document.SaveAs changes to normal view
Hi, I am using OLE interop to save a word document as XML (from C#) - something like: doc = app.Documents..Open(...); doc.SaveAs(...,WdSaveFormat.wdFormatXML, ...) The original document is in page layout view, but the saved XML document is in normal view. This works fine (i.e. the view is preserved) when doing it interactively. Any ideas please? Andy ...
6 09.04.2006 16:06:53
Context for Temporary files in case of MSWORD
Hi All, I am writing a file system driver for logging purpose. In it, i need to save the context of all the intermediate files formed in case of MS Officce Document. For example in case of MS Word alot many temporasry files with name as ~wr*****.tmp are formed. Now i need to save the refernce that all these files are formed by this particular word document that i have created. So my quest...
1 07.04.2006 09:18:07
Word Add-In Deployment Error Code 2902
I'm developing an Add-In for MS Word 2003 with C# VS 2005, every I attempt to build kicking off the wizard that will add-in registers the .NET class with the COM interop I'm getting an error: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2902." I've attempted to just install an empty add in, ...
3 03.04.2006 16:20:45
Office SDK samples fail after Office SP2 installed
I used the video "Office 2003 Video: Building Managed Solutions Behind Word 2003 Documents" and the "Understanding the Word Object Model from a .Net Developer's Perspective" from the Office SDK 3.0 to write a VB and C# program that creates a Word document containing a table. It works fine until I install Office Service Pack 2 and Update KB9074517 as recommended on the Office Update sit...
1 03.04.2006 02:20:03
File Compare with automation
I know little about Word automation, but I'm trying to make a simple program I can call from a version control system to display differences in Word.doc files. Here's what I'm trying to accomplish, and what I've run into. I know the solution is embarassingly simple<g> but I haven't stumbled on it yet. File1: path and file for source 1 File2: path and file for source 2 Tem...
3 31.03.2006 22:46:04
Exporting / linking word to database
I have templates connected to access database(forms). From the forms with a click of a button I export customer address to a address bookmark in the template. Other bookmarks in the template Iinclude: date, bmkProductno, bmkType bmkPrice, bmkDate. I need to export the new information from template - new word doc. to a table in access. By click of a button the data should be exported / save...
2 25.03.2006 16:25:42
Ink
Sorry guys. The spam stuff was not my intent. I do oppoligies and won't happen again. I have never been on newsgroups before and not sure how to work them. I hope you guys can forgive a bad choice. Murphey...
1 20.03.2006 12:28:08
BECOME A DOT.COM MILLIONAIRE WITH ONLY $5.99Cents or $1K.
...
1 09.03.2006 20:46:06
How to open a file using Interop.Word.dll easily?
Hi, friends, We are trying to use Word OLE component in our C#.net app. I played with the following code: Word.ApplicationClass mswd = new Word.ApplicationClass(); Word.DocumentClass msdoc = mswd.Documents.Open("c:\\happy new year.doc"); Of course, I got an error since no Documents.Open() function takes 1 parameter. It requres so MANY parameters: public abstract new Word.Documen...
2 07.03.2006 21:59:59
Is there a way to easily convert html to wordml?
I Googled this topic last night and discovered that many people have encountered this problem. However, I didn't find any references to an easy solution (or, oddly enough, a product). I'm trying to do it from a VSTO solution created in C# .NET using the primary interop assemblies. I'm attempting to translate html that incorporates standard formatting tags (e.g. <b/>,<u/>,<i/&...
1 02.03.2006 12:57:57
EARN $3,000.00 A DAY. OPEN AN INCOME-DAILY ACCOUNT WITH US
<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control"> <TITLE></TITLE> </HEAD> <BODY> <P>YOU COULD BE EARNING OVER $3K A DAY , $100K A MONTH.INCOME. CHECK IT OUT. Investment is only $5. 99cents a month.</P> <P><A href="http://www.vosar.net">www.vosar.net</A></P> <P>Tel: 775-333-11...
1 01.03.2006 07:16:26
How to make Word past a range with "Past link:" as with "Past:"?
Hello I'm trying to past an Excel range of cell values in to a Word table with a link to the Excel range of cells, but Excel pasts the range in to only one cell. I select a range with the same orientation, configuration and same number of cells in the Word table, click "Past special" and "Past link:" for this. Word 2003 sp2 pasts the range in to a range of the same size if I click "Past spec...
7 28.02.2006 10:24:01
How to make Word past a range with "Past link:" as with "Past:"?
Hello I'm trying to past an Excel range of cell values in to a Word table with a link to the Excel range of cells, but Word pasts the range in to only one cell. I select a range with the same orientation, configuration and same number of cells in the Word table, click "Past special" and "Past link:" for this. Word 2003 sp2 pasts the range in to a range of the same size if I click "Past speci...
3 28.02.2006 10:22:28
Word Automation
Hi there, I have followed the steps in the MS article 288367 to enable Word to run from a web page. I have done this several times and it has worked OK. However, at a customer site I am getting the following error: Access denied attempting to launch a DCOM Server. The server is {000209FF-0000-0000-C000-000000000046}. This AppId is the Word.Application object which the artic...
1 13.02.2006 09:05:08
5 Pages: 1  2  3  4  5  

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net