Can anyone please help with some VBScripting that would enable me to
search thru Word documents (Word 2000 format) and return the filenames
to use in a archive search on a legal website.?
TIA
.les.
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
Les Juby le*****@anti-spam.iafrica.co m
Webpro Internet - - - Prosoft Microsystems
Durban, KwaZulu-Natal, South Africa
P.O.Box 35243, Northway 4065, South Africa
Tel: +27 31 563-8344 Fax: +27 31 564-4928
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
(you *do* know to take "anti-spam" out the address....? 4 1401
Use Index Server.
--
Aaron Bertrand
SQL Server MVP http://www.aspfaq.com/
"Les Juby" <we****@webpro. co.za> wrote in message
news:40******** *******@news.uu net.co.za... Can anyone please help with some VBScripting that would enable me to search thru Word documents (Word 2000 format) and return the filenames to use in a archive search on a legal website.?
TIA
.les.
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o Les Juby le*****@anti-spam.iafrica.co m Webpro Internet - - - Prosoft Microsystems Durban, KwaZulu-Natal, South Africa P.O.Box 35243, Northway 4065, South Africa Tel: +27 31 563-8344 Fax: +27 31 564-4928 o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o (you *do* know to take "anti-spam" out the address....?
<%
iCount = 0
Dim FSO, Fldr, Fl
Set FSO = CreateObject("S cripting.FileSy stemObject")
Set Fldr = FSO.GetFolder(S erver.MapPath(" ./")) '// Current folder
For Each Fl In Fldr.Files
Response.Write Fl & "<br />"
iCount = iCount + 1
Next
Response.Write "<br /><b>There were " & iCount & " files found</b>"
Set FSO = Nothing
Set Fldr = Nothing
Set Fl = Nothing
%>
--
Regards
Steven Burn
Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
"Les Juby" <we****@webpro. co.za> wrote in message
news:40******** *******@news.uu net.co.za... Can anyone please help with some VBScripting that would enable me to search thru Word documents (Word 2000 format) and return the filenames to use in a archive search on a legal website.?
TIA
.les.
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o Les Juby le*****@anti-spam.iafrica.co m Webpro Internet - - - Prosoft Microsystems Durban, KwaZulu-Natal, South Africa P.O.Box 35243, Northway 4065, South Africa Tel: +27 31 563-8344 Fax: +27 31 564-4928 o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o (you *do* know to take "anti-spam" out the address....?
Forgot to mention. To filter it for certain file type's, you could just
change;
For Each Fl In Fldr.Files
Response.Write Fl & "<br />"
iCount = iCount + 1
Next
to
For Each Fl In Fldr.Files
If right(fl.name, 3) = "doc" Then
Response.Write Fl & "<br />"
iCount = iCount + 1
End If
Next
--
Regards
Steven Burn
Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
"Steven Burn" <pv*@noyb.com > wrote in message
news:Oh******** ******@tk2msftn gp13.phx.gbl... <% iCount = 0
Dim FSO, Fldr, Fl Set FSO = CreateObject("S cripting.FileSy stemObject") Set Fldr = FSO.GetFolder(S erver.MapPath(" ./")) '// Current folder For Each Fl In Fldr.Files Response.Write Fl & "<br />" iCount = iCount + 1 Next Response.Write "<br /><b>There were " & iCount & " files found</b>"
Set FSO = Nothing Set Fldr = Nothing Set Fl = Nothing %>
--
Regards
Steven Burn Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
"Les Juby" <we****@webpro. co.za> wrote in message news:40******** *******@news.uu net.co.za... Can anyone please help with some VBScripting that would enable me to search thru Word documents (Word 2000 format) and return the filenames to use in a archive search on a legal website.?
TIA
.les.
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o Les Juby le*****@anti-spam.iafrica.co m Webpro Internet - - - Prosoft Microsystems Durban, KwaZulu-Natal, South Africa P.O.Box 35243, Northway 4065, South Africa Tel: +27 31 563-8344 Fax: +27 31 564-4928 o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o (you *do* know to take "anti-spam" out the address....?
Les,
If you're searching content *in* the documents then you want to use Indexing
Service. This involves setting up a catalog which you can then link to from
SQL Server. The content of the catalog can then be queried using SELECT *
FROM (OPENQUERY (...)) syntax. There is some good information in BOL about
this.
Alan
"Les Juby" <we****@webpro. co.za> wrote in message
news:40******** *******@news.uu net.co.za... Can anyone please help with some VBScripting that would enable me to search thru Word documents (Word 2000 format) and return the filenames to use in a archive search on a legal website.?
TIA
.les.
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o Les Juby le*****@anti-spam.iafrica.co m Webpro Internet - - - Prosoft Microsystems Durban, KwaZulu-Natal, South Africa P.O.Box 35243, Northway 4065, South Africa Tel: +27 31 563-8344 Fax: +27 31 564-4928 o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o (you *do* know to take "anti-spam" out the address....? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jblazi |
last post by:
I should like to search certain characters in a string and when they are
found, I want to replace other characters in other strings that are at
the same position (for a very simply mastermind game) for my pupils.
This very simple thing does not seem simple at all.
If I use strings, I cannot replace their parts (though I can use
string.find for the searching). I think it is a bad idea that strings are
not mutable, but I suspect that...
|
by: googleboy |
last post by:
Hi there.
I have defined a class called Item with several (about 30 I think)
different attributes (is that the right word in this context?). An
abbreviated example of the code for this is:
class Item(object):
def __init__(self, height, length, function):
params = locals()
|
by: jayjay |
last post by:
I'm trying to help a friend setup a database to track resumes. The
candidates will submit their resume in a Word doc format, and I'd like to
make a search that will do a context search of the word files and generate a
report that matches the keyword search.
How would you do something like this in access?
|
by: Christopher Beltran |
last post by:
I am currently trying to replace certain strings, not
single characters, with other strings inside a word
document which is then sent to a browser as a binary
file. Right now, I read in the word file, convert the
FileStream into a string using Unicode encoding, then do a
replace, then convert the string back to a byte using
Unicode encoding which i then Response.WriteBinary(bytes)
to the browser. This works fine although the actual...
|
by: Eric Layman |
last post by:
Hi,
I have fields from textareas.
With a click of a button, php is able to grab these fields and by using
header(), convert the output to Ms Word doc.
But the outcome of the word doc doesn't wrap the text in textarea.
the result is one very veyr long string of text which stretch MS word all
| |
by: webgirl |
last post by:
Hi everyone,
I have a weird problem with some Word/Excel automation code that I run from Access (not sure if I should therefore post this in the Access forum..? Thought I'd try here first)
Basically, the code either opens a document (if it exists) or creates it from a template if it doesn't. Docs can be Word or Excel docs.
The weird part is that the code was working earlier tonight. But now it's not, not properly, anyway. Now, what...
|
by: Gigs_ |
last post by:
Hi all!
I have text file (english-croatian dictionary) with words in it in alphabetical
order.
This file contains 179999 words in this format:
english word: croatian word
I want to make instant search for my gui
Instant search, i mean that my program search words and show words to user as
user type letters.
|
by: bagelman |
last post by:
Hi,
I have a string Array. Its length is 100. I want to search the array to find repeated strings in it. And after finding repeated strings I want to write to screen which word repeated how many times..
I thought that 2 array is necessary (one for storing repeated word the other is for storing repetition number) for this.
But I couldn't write the code. Please give me some hints about it.
Thanks...
|
by: Bart Kastermans |
last post by:
I have a file in which I am searching for the letter "i" (actually
a bit more general than that, arbitrary regular expressions could
occur) as long as it does not occur inside an expression that matches
\\.+?\b (something started by a backslash and including the word that
follows).
More concrete example, I have the string "\sin(i)" and I want to match
the argument, but not the i in \sin.
Can this be achieved by combining the regular...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |