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 try and return the currently active document it says that thier isn't one, even though i have opened word seperately, and have a doc open.
I assume that this is because using CreateObject() i have opened a seperate instance of word, but i don't now how to get a handle on the current already open instance of word.
Also a way of determining if Word is currently open, would be Equally usefull
Any tips would be Great ?????
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
VB Memory -
Is it possible to create a vb program which is able to hold a file and the file contents in memory. E.g. can vb hold a complete word document in memory without it being saved onto the harddrive.
Lets just say that a program exists which can create word documents just like msword, b
Bookmarks In Word -
I'm creating a template in Word that will be feed from a VB6 screen and a form letter produced.
I know how to create a Bookmark, and use that bookmark to hold information entered in a control in VB6.
However, when I open up the template, using Word itself, I can't see where I've
Reading from excel worksheet -
I've got a secty problem and I was wondering if anyone can help me out. First off here is my code:
servicemembers = 0
place = 1
Open App.Path & "\cocoa12.txt" For Input As #2
Do While Not EOF(2)
Line Input #2, items
servicemembers = servicemembers + 1
lenghtofline
open ms word doc -
I have done this before, but i cant remember how. I want to open a ms word doc through my program that I created with VB6. The user is able to save a word doc under any name. So when the user clicks open I wanted it to open a explorer window so that the user can locate their file to op
Word already open! -
2 quick questions: At least 1 of em is easy!
1) I can open up a word doc and save it but if it's already open how do i open it without displaying that anoying box already open choose read only or notify?
2)How do i find out if word is running?
thanks heaps again.
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
Open Word Doc from BLOB -
I have successfully stored a Word document to a SEQUEL Server Image Field
I'm wondering now what techniques I should use to retreive the BLOB and have Word open up to display.
Can I open Word directly from the Binary stored data or do I have to convert the data back to a file and th
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
Opening Word Documents - RESOLVED -
I have a number of links to Word documents on my Intranet but when I try to open these word documents from the links in my ASP page, they open in word but do not allow me to select any toolbars so that I can print or save the document.
Is there a way that I can force my hyperlink to
File protection -
I use a .dat file to hold numbers, however I do not want anyone to be able to open it in word or something. Can I save it as a different file name or is there some thing else I can do so that if they open it if will be unrecognisable?
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
Open a word doc and view it a frame -
Hi all,
I can open a word doc and put text in it, but how can I open a word doc. eg.
If I clcik on the open button I want to be able to explore to the doc I want to open when I find it double click on it, by doing this I want to display the doc in the frame.
I hope someone can
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
Word Automation -
I'm using the Word object's Open method to open a file, eg
Dim objWordApp as Word.Application
Dim objWordDoc as Word.Document
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 Open Word & PDF File in VB.Net -
I save File Path of either the Word or PDF file in sqlserver, then I want to open that...
steps.
1. I dentify if what kind of file is that (Word or Pdf)
2. Open an appropriate application to open the file (Microsoft Word / Acrobat Reader)
how can I do this in
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
Slow code/pauzed code when word subwindow is open -
I use Word Automation in my VB6 application
When Word doc is open and i open a word Subwindow (like textbox properties
or options window) the vb6 code pauzes especially in WInME, it does allso in
WinXP but less freguently.
Because of the pauze,
some of my codeevents (expl mouseup
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.
extracting text from a word doc -
I know people have asked this before, but the only replies I've found through searching use the word object to open the file. We have docs on our server, but cannot install word on the server. Yet, I'm supposed to write something that will open a word doc and extract all the text. D
Word Macros in VB -
I have a macro that i can run in word to produce a grid with hard coded data. What i whould like to do know is Create a word document in VB and populate it with a database. Can anyone give me a pointer as to 'How to kick this off' Also testing for word open and opening it if it is not
Documents.Open -
In my VBA word macro I want to open ASCII file which includes CE fonts.
I tried this:
Dim str As Document
Set str = Documents.Open("ce_text.txt", _ Encoding:=msoEncodingCentralEuropean)
It works fine in Word 2000, but it fails in Word 97 (parameter Encoding). I need a
word and visual basic [ How can I open the Save as window of word through vb ] -
Hi, I made a small program with Visual basic that fills a word file with some specific data
i used the following to make the connection to word
Dim oWord as new Word.Application
Dim oDoc as new Word.Document
Now I want through visual basic to open the saveAs window of word so
Problems with Word and Power Point -
Hi.
I need help in these topics:
For Word:
I make an add-in for MS Word and I want to load it automatically each time I open MS Word software or when I open a Word document.
For Power Point::
How could I quit the alert messages in Power Point 2000? I know that I could do 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
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
Open a word file in a Ritch Text Box Control -
Hello all
I have to open a microsoft word document in a ritch text box(RTF). but in my application it opens word file but in that it display's number of ascii characters. i want to open as it is. so how colud i open a word document .
plz reply me if any know's this
thanks
Dhanu_pat
Open/Print Word docs from VB app... -
How can I open a word doc (in Word) through a VB app?
And could I also print a word doc (from Word) automatically and perhaps without opening Word?
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
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
Running Macros in a Word Doc From VB.Net Application -
Hi Everyone,
I have created an Application in VB.Net which is like an add-in for Word.
What i would like to do is to be able to Run a Word Macro from the .net application, i need to be able to run a Word Macro in an open template, in a currently open Word Session.
Can this be
How to get a word where mouse over -
How to get a word where mouse over? (In Any where on Windows Screen)
For Example, When I hold a mouse over word "Example" in "This is Example Message." that is some text in Internet Explorer (or other program), I want to sent the word "Example" back to m
mail merge from excel to word -
I have a template workbook in Excel that will hold details that relate to accounts on our credit control system. This workbook will hold data such as Invoice Date, Invoice Amount, Invoice Number, etc in columnar form.
I want to present this data on a template word document to be se
Automation of Word with VB - release problem -
I am generating single Word 97 documents using a VB program.
When I have one doc open, everything is fine.
When I have multiple docs open, I go to the doc in Word and can't click on anything (nothing allows a click) but I can scroll. If I select a different doc and then come ba
open word in MDI -
Hi
I want to open 10 Word Documents at once in one MDI application in order to be able to read multiple word doc at the same time.I know the path of each document,what I want is to display them as MDI
can anyone help me out
thanks
Word Automation -
Hiya,
I've made an app that does a lot of Word Automation, but i made it to automate word 2000.
I've got it to check whether word is already open, if not open it and do loads of (looks nice) crap.
Problem is, it's going to be running on some machines with Office 2000 and some
Working with WORD and VB -
Hiii
i would like to open a word file using vb and that too in read mode only
or some improved ideas to open word with vb.
pls help me..
open word.doc from vb -
what is code to open an existing word document from command button...reference word is all I have at this time.
thanks