Indexing Of Word Documents?...buena Idea?
I'm working on a CD project where we have 100 word documents that need to be searched. I began by working out a way to automate word so that it would open, then each document would open and find the first instance of the whatever the user searches for. This works, but it is takes a couple of minutes on slow machines. There are also issues with different versions of office and different platforms.
I'd like to take a different path. Does anyone know how to index word documents? I would like to index each file into an access database or XML file and search through that instead of processor intenisive searching through word documents by automating office. I know there are ways to do this with server-side scripts. Does anyone know of any activeX controls or ways to index a word document from word itself?
Thanks!
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Help! Indexing Documents
hi
in my applicatin stored any Document (.doc,pdf,..) to blob field id database
i want search in content of the file.
please help me
i want use Full text search in sql 2000
i think this file must be convert to text and store in another field.
but i dont know any way?
Word Indexing
Can someone please explain how a "word index" works?
(See my previeous post, something about a cookie.)
I kindof understand it, but my mind draws blanks when I start trying to figure out the actual functionality of it.
Appreciated.
Using MS Word To Do Full-text Indexing To A Document.
Hi.
I'm doing an EDMS application and I was wondering if it is possible for a VB application to do a full-text index/search on a document using MS Word?
For example, I scanned a document. Then I do a search using the VB application to search for any document containing the word "certificate". Is it possible for the VB application to use MS Word for this function?
Thanks.
Full Word Indexing Html Pages And Searching
hi
im having trouble figuring out how to do this, i have a visual basic program that has a search function in it and i want it to search html pages based on what page the user selects to search for certain text also i want it to be able to search a index of all the html pages in the case that the user doesnt select a certain page. im having trouble with this for 1 i dont know a whole lot about visual basic yet, 2 i dont know how to index html pages into one big index and also i dont know how to make it search just one html page for certain words. any ideas or help on this would be very helpfull. sorry for the non-puncuated sentences by the way =)
Embedded Word Documents And Word !?
I need to open an embedded word document (embedded in an access table) from vba access code , for editing in a word window ? can anyone help me with this ?
Need Help With Word Documents
Greetings!
This is my first post and I'm happy that I found this forum!
I'm working for an accounting company. Basically I'm filling different kind of forms.
Somebody before me created Word templates where you can enter the information and then print the form. We are still using this method and takes lot's of time and nerves
I want speed up this process and need your help. I will write a program where I can fill 5 fields and then by pressing the button Generate this program should create 3 different documents and print them.
The main problem here is that templates for these documents are already done and I don't know how to work them using Visual Basic.
Can you give me any recommendation on solving this problem?
Thanks in advance!
Word Documents
How would I go about loading a the text in a Word document into a textbox?
Word-documents
Is it possible to input text from a MS-word-document (like:
open "a:filename.doc" for input as #1
...
close #1
)
Or is there another way to do it?
Tnx in adv.
MS Word Documents
I'm writing a WAN web app that will have a function to retrieve/display existing Microsoft Word and Excel documents. I have the choice of storing these documents in native format in a file server directory or storing as BLOB/CLOB a database (initially MS SQL Server). Some of these documents will be relative large (>1MB). Are there efficiency issues when retrieving Word/Excel documents in a web environment over a WAN from a database? Any advice or experience with this issue would be greatly appreciated. Thanx!
Word Documents In VB
I have a word document in the root of the c:/ drive called TEST.
How can i open it in VB? (only to view).
Thanks for any assistance
MS Word Documents
Can someone get me started with how to read the contents of an MS Word document and display it in VB? I have searched the forums and Google, but I can't find anything precise. Any good references would also be appreciated.
Thanks!
Word Documents
I'm looking for an opinion mostly! I have some word documents that I want to bring up in VB. There's 3 of them. All users who will be using this program have Word already installed on there machines. Each document is at least 5 pages long. Would you think it was best to bring up word, or ....?
Word Documents
Is it possible to bring a written word document into a text box on a form? If so, how?
Word Documents
Please, everyone, this is VERY important, but simple. How can you make an OLE control with a Word Document scrollable? Also, how can you make the program open files from whatever drive the CD Rom is? Thanks in advance,
Alexander McAndrew
------------------
Regards,
Alexander McAndrew
VB Zone
http://gsenterprise.server101.com
Word Documents
We have an application which basically reads ascii files and populates Word documents through bookmarks in templates. When the volumes get high, the application crashes with an overflow error. The application is too large to post code but it crashes when the word document is opened. Clearing the temp directory alliviates the problem. Anyone got any ideas.
Regards,
Word Documents
We have an application which basically reads ascii files and populates Word documents through bookmarks in templates. When the volumes get high, the application crashes with an overflow error. The application is too large to post code but it crashes when the word document is opened. Clearing the temp directory alliviates the problem. Anyone got any ideas.
Regards,
Word Documents
What I am trying to do is assign a word document to each member of a table in Access. I have already set the field up to accept word documents in the database, but I cannot figure out how to be able to scroll through, add, delete, modify, the word docs through a GUI. Is this possible or can someone please recommend some other way of approaching this.
Viewing Word Documents Using VB
Hi.
Just a question: How do I view a word document using VB controls? What I want is, the user will only be able to view the word document and not be able to modify it while it is opened or in use by VB.
Also, Is there a way to open a document, then make some changes in it and save it as another file? What I'm thinking is like this: I open the word document using the richtextbox controls, then edit it from there, then save what is inside the richtextbox controls to another file.
Thanks.
Working With Word Documents
I've checked through most of the threads and i couldn't find the answer i was looking for. Being new to VB I have many questions and reading through the VB help only seems to confuse me more, because none of the examples seem to come even close to what I want to do.
Question 1. How can I take the results from my userform1 and have it sent to a textbox on my document.
If my question is confusing or requires more detail, let me and I'll refrase it or add more detail depending on the reponse. Thanks
Using VB To Merge Word Documents Into One
I have produced some simple VB script in Access, to output some data into two rich text format documents that now exist on my machine.
Is there any way that I can change the script so that it will produce one document via any of the following methods,
a) produce the two documents and then merge them together
or
b) produce one document from the two access reports that I have created.
Appreciation for any thoughts...............
Combining Word Documents Together
I have 5 or 6 documents. I want to combine that together & send that as one document.
Assume that I have 5 documents. Each has 10 pages. When Im sending to printer, my 11th page should be the second document's second page
I have some knowledge in Macro. But How to do this ?? Is there any method like "Merging"
Pls give some Ideas
Thanks & Regards
A.Rajeeshun
Merge Two Word Documents
I have a program that need to be able to Merge/Append one ducument to the end of the other (on the next page).
This is done all within the code, and nothing is saved to the hard drive prior to needing merged. I noticed a .Merge (like totalDoc.Merge) command, but it does not want a variable name, it wants a file name. I don't even know if this is what I need. I can't find very much information about this .Merge online (Most searches bring up Mail Merge).
So, I have two documents, TotalDoc and TempDoc that need merged together on seperate pages into one document.
What is the best (fastest) way to get this done?
Thanks.
Creating Word Documents
Hi all,
I'm sure this question has been answered about a kazillion times but after doing a few searches, I've not been able to find a step-by-step to what I'm looking for....
I want to be able to use a MS Word template I've created to print labels to my label printer.
The things I need to know are:[list=1][*]What project references do I need to add to use a Word Document (I'm running VB 6.0 Pro)[*]What code do I use to append to an already created Word document[*]What code do I use to select a specific printer to use?[/list=1]
I don't necessarily want to open the word document (unless that's necessary) instead, I'd just like to print it out after it's been created.
Basically, a user would click a command button in my project and a word document template, with code from my project, would be sent to the label printer.
If you can point me to a post where this has been answered or if you know how to do this, it would be greatly appreciated.
Thanks,
Tom
Creating Word Documents In VB
Dear All,
I need to create MS WORD Documents in VB
Please can you suggest me any good tutorial page
Thanks a lot
abhay
Opening MS Word Documents With VB
I'm trying to get a simple program running that is supposed to open a word document, retrieve its bookmarks and display them in a listbox. This shouldn't be a too hard task and it did work fine until a collegue ghosted my disk to another disk. I don't know if it's because of this or something else but since then my application hasn't been working. When trying to open the word document I get this error message: "ActiveX component can't create object". Ocationaly i also get "Permission denied".
Here's the code:
Private Sub btnOpen_Click()
Dim k As Integer
Dim temp As String
k = 1
lstBmarks.Clear
Documents.Open txtSrc.Text 'Here's where the error occurs
While ActiveDocument.Bookmarks.Count >= k
lstBmarks.AddItem ActiveDocument.Bookmarks(k).Name
k = k + 1
Wend
End Sub
Is this an error due to the ghosting (that's hard to believe) or have i made some newbie error (i'm pretty new to this)? If it's some setting i've accidently changed it's of course hard for you to debug the code but perhaps someone knows of some usual mistake leading to the mentioned error message.
I'm greatful for every kind of help. Thanks!
Problems With VB In Word Documents
Hi Everibody !! I really need help ASAP with this.
I just created a doc using control tolbox such as textbox and radio buttons. The problem now is that everytime i open the document It appears in design view rather that editable view. As the document has to be sent to many people it has to be seen as editable doc otherwise they can change, delete or move things in the document and I do not want that.
I tried to protect the doc as form but this does not allow to edit . Something that i do not understand why.
If someone can help me i will be very gratefull!!!
Thanks
Maria
Viewing Word Documents
Hi,
Anyone know of a third party product that I can use to view a word document without having to use the (useless) OLE container (i.e. doesn't even scroll without great effort)? It needs to be a control on a VB form.
Ideally I would also like the "control" to do print/mail merging with results from a SQL database efficiently.
Andy
Vb 6 Importing Word Documents
I need help please. I have a form in it i have 30 textboxes. i have a button print that when pressed it goes into a preview print and then to be printed. I want for all my 30 textboxes information to be added to a nice, clean format for printing. Can someone help me please...
like i said textboxes adds the infomation to the best way possible so it prints how can i do this please???
Openning Word Documents With VB
Does anybody know how I can open MS Word and load a file into it from a VB application
This is what I got right now:
Private Sub mnuRus_Click()
Dim Word As Object
Set Word = CreateObject("Word.Basic")
Word.FileNewDefault
Word.AppShow
'Dim myDoc As Object
Set Word = Documents.Open(fileName:=CurrDir + "AtlasTextText_rus.doc")
Anything wrong with this????
Any help is appreciated Thanks
Reading In Word Documents
I have a folder with many word docs. I want to compare the contents of the each word doc with a keyword and list those documents. How do I go about doing this?
Thanks
Compare Word Documents
Hello,
Is it possible to compare two word files without using MS Word's inbuilt Compare & merge option?
May be in VB way???
Could you please help me out on this.
Thanks,
Kanna.
Printing Word Documents
Hi guys, I have a program printing set of word documents (separate files) in a loop, funny thing happens in the print spooler, although the documents are in order, the last document goes into the queue starts printing before the first one. Any one knows any api calls to get a feedback from the print spooler so that I can get the program to wait until a document is spooled and printing before issuing another print. Greatly appreciated.
Thanks
WebViewer (*.Doc Word Documents)
I have decided to view word documents through the webviewer, It is a great idea. But the only problem is, that it wont let me edit the winword toolbar. I need that little "<abc>" function so i can search and edit bounded databases...
anyone have any ideas for customizing the toolbar?
Opening Word Documents In Vb
I've got some corrupted files, RTF (rich text format) ones that were saved as .doc. In my Vb project I need to make sure that a .doc file really is a .doc one and not an RTF one with the wrong extension. How can I do that?
Thanks
Kati
Variables In Word Documents Help Please!
Hi,
I need to replace text in a word document with variables passed in from VB and print the form. I can open a template word document ok but I need to know what format I need to enter the text into the word document to be replaced and what format I pass the variables from the VB app to replace them.
HELP!!!!
Andy
So far I have been doing this and it says the requested item does not exist.
Private Sub Command2_Click()
Dim Worddoc As New Word.Application
' Open Word with your template
Worddoc.Documents.Add ("c:irsirsquote.doc")
With Worddoc.ActiveDocument
.FormFields("yourfield1").Result = "12345"
' .FormFields(YourField2).Result = AVariable
' .FormFields.Locked = True
.PrintOut
End With
Worddoc.Quit
End Sub
The word document is called irsquote.doc and contains this text
The quote number is: yourfield1
How To Print Word Documents?
Hello all,
Im having problems printing from vb. I want to envoke a word template ("irsquote.doc") and swap some values on the template for my variables and print it out.
here is my code:
Private Sub Command3_Click()
Dim WordDoc As New Word.Application
' Open Word with your template
WordDoc.Documents.Add ("irsquote.doc")
With WordDoc.ActiveDocument
.FormFields(yourfield1).Result = "New quote Number"
.FormFields.Locked = True
.PrintOut
End With
WordDoc.Quit
End Sub
however, my application fails on the first line (dim WordDoc as new word.Application)
It says user defined type not defined
Any ideas?
Oh, and will the code work?
Shelling Word Documents
I'm trying to shell a word document from Access VBA, passing the path to the document in the command line. My problem is that some of the paths that are passed have spaces in them, and when you use command line parameters in this way it interprets a space as the end of the command line and thus fails to open the document. I've tried writing code to URLEncode it myself, but it doesn't like this. I've tried shelling Internet Explorer with the path in the command line, but this gives me file not found. Does anyone know of any other ways that I can open a document programmatically from Access VBA?
Word Documents With VB Field In Them
hello to all,
I've tried to use Alex's code above, but at line
Set wrdApp = New Word.Application
I got a message "The specified module could not be found".
I've made a reference to Microsoft Word 9.0 Object Library
any suggestions would be welcome. Thank you all
Hyperlinks To Word Documents
This isn't really a VB question, but hopefully someone might know -
Is it possible to link to a bookmark within a Word document, (without converting it to html and linking to the anchors that they turn into) . I am looking for the equivalent of
<A HREF="file.htm#anchorname">
I tried
<A HREF="file.doc#bookmarkname">
but the file wouldn't load at all.
Anyone???
Reading MS Word Documents
I just wanted to extract text out of a MS word document without any "extra" things. Just plain text. I'm making a program that keeps up a database of files in a certain drive. I need the info because I want to add a search routine to the program, so it's easier to look for documents related to certain thing.
Merging Word Documents
I've created individual one-page word documents using a template including fixed text & bookmarks OK but now the user wants me to merge several into one document (using VB6). How can I do that, please?
Hiding Word Documents
I use a few word document in my program, when you install the program onto a computer and go to say "Windows Explorer" you are able to open the word documents, this I don't want to happen.
How can I hid the extensions for these files, but still be able to open from my program.
Thanks in advance
Calling Word Documents
I am creating a program where a user will select a certain word document to be print along with a list of other relevant data. For example, I need to be able to select a specific word document that exists, (either in the Access database or on the user's computer).
How do I access a specific word document so that I can take the data off of it to create a new word document with additional data on it.
Help if possible
WebBrowser OCX - Word Documents
I'm using the WebBrowser control to open Word, Excel, and PowerPoint files. I want the loaded documents to be in a "read only" mode. However, the WebBrowser allows edits, context menus, etc. I've tried SubClassing the control, but have determined that this is impossible thru normal methods. I believe that there might be a way to SubClass within a Hook...
With a Word document loaded, SPY++ reveals that "_WwG" is the window doing all of the work. This window is in a different Thread and Process than the "Shell Embedding" window. Since the "Shell Embedding" window is the parent, and the child is in a different Process and Thread, how can you SubClass or use Hooks to trap MouseClicks and KeyPresses?
Thanks.
Embedded Word Documents
I am trying to create a application that allows me to click on a command button which lets me read an OLE object from an Access database. I then want to be able to store the document onto the form, edit the document using Word (97) and write the document back into the database as an OLE object.
In concept the above seems simple but I am having all sorts of difficulties with it.
Can anyone point me in the right direction or offer some code to help. I have read the MSDN information until it is coming out of my ears but it has not helped.
Thankyou in anticipation
|