o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

How can I open a Word Document in Word Pad using VB/VBA -

Hi all,

I need to open my Word document in Wordpad (which comes with Windows operating system for some specific purposes) and save it as Word 6.0 document / Rtf format. So, How can i do that?

Pls help me.

Thanks,

CS.

 

Problems with word -
I am developing a COM AddIn for Microsoft Word using Visual Basic .NET. 1) How can I open an existing document or add a new document without getting a new word instance? My code looks like the following at the moment: objWordInstance.Documents.open(Filename:=mstrDateinameMitPfad


Inserting a word document into a form -
I have a form (part of an MDI project) on which I want a word document. I put an OLE object on the form and inserted the word document but when the form is opened there is no word document. I guess I'm doing it wrong. Can someone please tell me how to properly add this word document


Help required in opening word document from ASP.NET(VB.NET) application -
Hi, We are working on an ASP.NET (VB.NET) application and we have a problem opening a word document from our application. When we try to open the word document, we do not get any error message but the system hangs. Our requirement is to open a word document on the server


Getting hold of Currently Open Word Doc -
I am writing an application in which i need to get hold of the currently Active Word document. At no point will a word document be opened by the program, always! by the user directly, by opening microsoft word themselves. I have tried to do this using CreateObject() but when i tr


Tricky VB Question -
Hi, Does anybody know how to open a Word document in Word via a hyperlink in IE? The scenario would be a user clicks on a hyperlink to a word document in IE which would then fire up Word and open the document within Word itself. NOT within that instance of IE, which it normally d


A load of printing questions -
I want to print out my document from word in vb. I want to: open an instance of word open a template in word Pass some variables to replace text in the template Print the template Close word However, If I open word up in vb, it compains that the document is already open. I


Javascript Microsoft word -
Hi, does anyone have any knowledge of how to open a word application and put content into the document? Basically I will have a ( hidden ) text box on my form with HTML content in it. I want to open a word document and add the content of the text box onto the word document.


Word document inside IE !!!!!! -
How do we get the word functionalities when I open a word document through an IE?? I am able to view all the menus and work with the file same way as a standalone word document. Is it possible to get anyother application like Notepad or wordpad documents inside IE like word??


How can I open a Word Document in Word Pad using VB/VBA -
Hi all, I need to open my Word document in Wordpad (which comes with Windows operating system for some specific purposes) and save it as Word 6.0 document / Rtf format. So, How can i do that? Pls help me. Thanks, CS.


Open word files without errorus templates -
Hi. I have tried to create an application that will open word document that have a template on a old server, if you open the document in word i takes several minutes to open it and it's the same for when I open it in my VB. net application. part of the code looks like this: Dim


Creating a Word document -
I need to create a word document without just populating a bookmarked existing template file - I need to create one from scratch. 2 ways I was thinking. One is to open Word, and somehow send strings and formating into to a word object. If you can give me a link on how to do this, great


Word documents - opening and closing -
From my database application I need to open and save a Word document. I activate the document from my app so that the user can amend it. I need to make sure I close Work if they haven't - and not mess things up if they have. Also I would like to only start an instance of Word if the


Word AddIn will not start in second document -
Hi, Hi, I wrote a word addin (Office Developer 2000 - VBA) that loads at startup of Ms Word. In the document with which Ms Word starts (document 1) everything is OK. I can also run the addin several times within Document 1. When I open another (new or saved) document, document 2,


Imbed a Word Document On a Form. -
I am trying to set up a form with an MS-Word Document. The word document will be on the form and not a stand-alone application. To set this up I selected components, then insertable objects, and added a Microsoft Word Document. Now I added the new object to the form. I also have s


Wierd happenings opening Word through Object Library -
I use the MS Word object library to open up a Word document through my VB app. With no pattern at all, sometimes the Word application is ok, other times it appears without any drop-down menus or toolbars. The call to open Word is through the same point in my app, and any parameters are


AutomationError while attempting to open a file with Document.open -
I am getting an AutomationError while attempting to open a file with Document.open method with the word.application object. Below is the code I am using. Oooo its frustrating when something as easy as opening a file gets you. Dim wb As New Word.Application 'Notice here I att


Create Word Document from VB -
On click event I need to: 1) Open MS Word. 2) Type a sentence to Word. 3) Save the Word document (giving it a specific name) to a specific location. 4)Close Word. Can it be done? I hope so or I'm in trouble. Any assistance appreciated. thx.


Opening Word and Documents,,, Automation Error -
I am having trouble opening Word and a document from VB (and Access for that matter) I copied the following code from the MSKB Q313193. Private Sub Command1_Click() Dim oWord As Word.Application Dim oDoc As Word.Document Dim oTable As Word.Table Dim oPara1 A


MS word in VB -
I do not have installed Ms word on pc, but I want to open ms word document Using VB. what i did. using standard exe, i have included microsoft word document using project->references. In form load event i am opening the document using documents.open. i am creating the instanc


Hooking Up To Word -
Does ANybody have a copy of some code I can use to hook to my app to a Document in Word??? So to open Word from VB. I also want to paste some fields from a DB into the Word document so any samples to look at of that would be excellant to! Thanks.


searching for word in word doc -
I want to write code so that if a word in a variable in the vba behind word is equal to a word in the word document, it changes that word in the document to bold. How would i do that?


MS Word support -
hi ppl can somebody tell me how to display all my text in vb app in word document. Example i have phonebook and when i push some command button to open word and all informations (name,address, phone) to be dislayed in Word document. Thanks for ur time


Trying to run WORD macro from Excel -
Hello, I have an EXCEL spreadsheet that hyperlinks to a bunch of WORD documents. When i select any one of the WORD documents, it links to that document and brings it up ok, but when i then try to run a WORD macro when in that document, i get a popup window saying 'The macros in t


close window -
is there a way of finding out that there are more than one active window open, what i need to do is close a word document that i am working on. which it does. but if it is the only word document open then it will only close the document, but if there is another word document open it


Detecting if a Word doc is open -
I'm looking for a way to look for open Word docs from VB. I have a program that opens and closes word documents, and at times I need to make sure there are no open docs before triggering an event. I tried simply using appWord.Documents.Close, but Word doesn't like that if the open docu


[2008 VSTO] Word Add-in not showing on New Document -
Hi, I have created my own Word 2007 Add-In using VSTO in VisualStudio 2008. When I compiled the project and ran it from VS (debug) it opens Word and loads my add-in (I told it to load a CustomTaskPane during AddIn_Load). When I then close VisualStudio altogether and start a new i


ShellExecute (not what you think) -
Hi all. When using ShellExecute, is it possible to open a program using the same window that another program of the same typed used with a prior ShellExecute? For example, I have 2 command buttons that both open Word documents. If I click the first one to open the document in Wo


How to tell if word is open -
How can I tell if a Word document, or word itself is open or running. I would like to close the document or word if there is an error with the document I am writing to. Thanks


open word-document in word-document -
How can i load the text from a word document in a word-document that is allready opened? dont want to a second word-document. Code: Dim objWord As Word.Application Set objWord = New Word.Application objWord.Visible = True objWord.Documents.Open "C.doc", , , True,


Open a document -
Hello, How can I open a document (a word-document, image, txt-document, ...) whithout knowing the path to its application. For instance: I have a document 'test.doc' How can open this document? I don't know where Word.exe is located? The same problem is it with all the o


open word document with common dialog box -
In a VB program, I am showing the common dialog box to retrieve a word document. Then the user clicks on which word document to open. The document opens but it opens minimized on the task bar. Does anyone know how to have the word document maximized when it opens. My code is: Dim str


Word document inside form -
What is the component (activeX) that adds an area for WORD document in the form? and how can I open Word document with this activeX? I need to display the content of the word document without allowing editing..


How to Open a Word Document -
Hi Guys, I am trying to open a word document from within my windows form application and am unsure how to do this. I know i need to add the microsoft word reference but when i do i receive the following error: Warning 1 Cannot find wrapper assembly for type library "Word&


resolved Word AddInn in second document problem -
I have very simple add-inn button working fine if only one document open. If new blank document is open in the same Word appl., the add-inn is sill there, but click event does not fire. Any thoughts why? Resolution: If your add-in will run in Word, you also must set the T


Loading Word doc To RichTextBox -
Hi all, Does anyone know how 2 load a word document into a RichTextBox control and keep the format of the word document. I've tried LoadFile but certain parts of my RichTextBox lose some of the formatted data of the Word document. Also have tried saving the Word document as a rich


VBA & Word (again) -
I would like to open document 'a' in Word. I would like to open document 'b' in word. Both of the above I can do. What is the syntax for selecting all of document 'b' (copy all) and pasting it into document 'a'. Any help would be most appreciated. G.


Detecting if Word has password to open -
Hi, Is it possible to detect if a word document has a password to open it at the time of opening the actual document? I have a java application which is using jacob (java com bridge) to open word documents. If a document has a password to modify it is possible to open it in read-on


Can I Open MS Word Document With C# -
Is there a way with C# (im new to C#, coming from VB) to parse a MS Word Document? Currently i have a VB app that opens a document up, converts it to html via the MS Office HTML Converter, and parses the HTML data. Then slaps it into a SQL DB, I want to do it with C#, but i cant figure


Word2000 Problem -
I have a specific problem regarding Word 2000 the description as follows. In VB Application I have used OLE Container. I am embedding Word Document in Ole Container. The situation is Word Application is running but there is no document open in Word. Now when I am double click on


need to read from word document!! Help me!!! arrghhh (desperate plea (Please)) -
Hey people Heres my problem I am trying to read the first line from every word document that I find on a hard drive. I have tried using open for input as but there is so much crap that is contained in a word doc that i had to write a routine to decipher it all but when i ran t