word 2007: adding form fields
does anyone know how to add a TEXTBOX onto a word 2007 document. i need to gather user input and after the form is filled out, the data will be added into an access database thank you! ...
does anyone know how to add a TEXTBOX onto a word 2007 document. i need to gather user input and after the form is filled out, the data will be added into an access database thank you! ...
anyone have examples of sophisticated WORD 2007 forms that posts to access DB using ADODB connection? ...
i am filling out a form on a word document which posts to access database,. does anyone know if there a way to suppress the message "do you want to insert this record"??? raj mentioned that this is possible to do manually, uncheck ACTION QUERIES, but can i do this programmatically/???? ...
I spent a lot of time trying to figure out a good way to embed any file into Microsoft Word using OpenXml 2.0; Office documents are fairly easy but what about other file types such as PDF, TXT, GIF, JPG, HTML, etc.... What is a good way to get this to work for any file type, in C#? ...
Hello all. I'm developing a website which will receive MS Word documents, edit them and send them back to user. My question is this: do I need to pay a specific MS Office licence to do that? Thank you in advance. ...
Hi, I need to extract all VBA code from a Word 2007 document in c# without using office automation. What I have done so far is to open the Word document as a structured storage file in c#, and I receive a list of the following streams: Macros VBA dir ( stream ) Module1 ( stream ) ThisDocument ( stream ) _VBA_PROJECT...
I have a simple macro that creates a new document based on a template that's stored on a network share; this macro is stored in each user's Word\STARTUP folder as the file "macros.dotm" and is executed by a button added to their toolbar. The problem I have is that the template file gets locked as soon as the macro code (see below) is e...
In a Word 2007 macro that finds text using wildcards, how do I access the group match values? For example, if I script a macro that searches for DATE: (<*>)^13, how would I find the value of the match group (<*>)? Thank you, Ben Sub Search() Selection.Find.ClearFormatting With Selection.Find .Text = "DATE: (<*>...
Hi, the title may not be appropriate because I don't really know how I should put this. I have a template where I have a "Module1" module and a "ThisDocument" code. Module1 contains the following code to pick up values from the registry. I pick up these values from ThisDocument code. What I want is to move the code from ThisDocument ov...
Hi, I am looking for a C++ / Java SDK for manipulating .docx documents. I need to read the text, add a new page at the beginning, add footer and header etc'. Not one that works with COM / OLE Automation for Word. But a real SDK. Thanks ...
I am working on a document management program. I want to open up a Word document with the click of a button and according to the permissions to the user whoever logged in will be given certain permissions (like read-only, edittable). I tried with this code: object missing = System.Reflection.Missing.Value; Microsoft.Office.Interop.Wor...
Hi, i need to create a .doc file that has more than one page. I want to create the doc file from html (setting the headers so that it is interpreted as a doc file) but i don't know how to add a page break in html that is correctly recognized from word. Thanx in advance ...
MsWord uses Wingdings and Symbol characters for bullets, by default their hex values are F0A7 and F0B7. I want to convert the bullets to their Unicode equivalents. Of course, it depends on the actual font used, so F0A7 Wingding would become Unicode 25AA (●). I've found a partial mapping from Wingdings to Unicode and from Symbol to Uni...
Starting with content in Microsoft Word, what are some good tools available that can create a SCORM compliant e-Learning course out of it. Also, do these tools work just with styling cues present in the MS-Word document, or can they do some kind of intelligent inferencing, as to what is a multiple-choice question etc, from the text alone...
I've trying to simplify a script and it's routines and I'm not quite sure what's the best way of doing it. I want to repeat code as little as possible. So below is my current code. This is the Filename function that basically checks if an ini-file exists. It should probably just run once. The way it's now, it's run everytime the string ...
I have recovered some Word documents from a corrupted hard drive using a piece of software called photorec. The problem is that the documents' names can't be recovered; they are all renamed by a sequence of numbers. There are over 2000 documents to sort through and I was wondering if I could rename them using some automated process. Is ...
Is there a macro, VBA code or VBScript that I can write to edit the urls of all the hyperlinks in my Word document? Either Word 97-2003 or docx format. ...
Hi, I'm implementing ms word document generation using content controls and OpenXML SDK. I'd like to have some automated testing for that code (unit tests or some easy UI automation tests). Does anyone has expericnce with testing MS Word document generation? What are the possible options? Thanks in advance! ...
To store the word doc in SQL I have this: byte[] bytes = new byte[uploader.UploadedFiles[0].InputStream.Length]; var storedFile = new email_attachment(); string strFullPath = uploader.UploadedFiles[0].FileName; string strFileName = Path.GetFileName(strFullPath); storedFile.email_attachment_id = G...
When I copy the clipboard data in C# using Clipboard.GetData(DataFormats.Html).ToString();, there are ".wmz" files getting stored in the "temp" path. (it's present in the v:imagedata src section) There are math symbols like delta in the original Word file. And these are not "Windows Media Player" video files (which also have the extens...