473,796 Members | 2,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Search through office files

I have a Microsoft (R) Visio (TM) document, which contains a link
inside (eg. to "http://blabla/"). When I do a full-text search from
within Windows Explorer, searching for "blabla", it finds that
document. But when I view the document as a plain text file, viewing it
in Notepad or Wordpad, or even programmaticall y searching for the text
"blabla" from a C programme, then it can't be found.

I would like to make a C programme that would be able to search through
a Visio file so that I can automate some processes. But it is as if the
text is not inside. How do I solve the issue? Is it possible that it's
a matter of charset, or some cypher stuff, or what? Is there some
library that would make it possible?

thanks,

Darko

May 5 '06 #1
2 1816
In article <11************ **********@j33g 2000cwa.googleg roups.com>,
Darko <da************ **@gmail.com> wrote:
I have a Microsoft (R) Visio (TM) document, which contains a link
inside (eg. to "http://blabla/"). When I do a full-text search from
within Windows Explorer, searching for "blabla", it finds that
document. But when I view the document as a plain text file, viewing it
in Notepad or Wordpad, or even programmaticall y searching for the text
"blabla" from a C programme, then it can't be found.
That doesn't sound like a C-specific problem.

I would like to make a C programme that would be able to search through
a Visio file so that I can automate some processes.
The Visio file format is not defined (or even mentioned) by the
ANSI/ISO C standards, so this really isn't the right newsgroup.
But it is as if the
text is not inside. How do I solve the issue? Is it possible that it's
a matter of charset, or some cypher stuff, or what? Is there some
library that would make it possible?


[OT]
UTF-8. Each character is probably occupying two bytes. For regular
printable ASCII characters, alternate bytes are probably binary 0's.
--
All is vanity. -- Ecclesiastes
May 5 '06 #2
Darko said the following, on 05/05/06 14:11:
I have a Microsoft (R) Visio (TM) document, which contains a link
inside (eg. to "http://blabla/"). When I do a full-text search from
within Windows Explorer, searching for "blabla", it finds that
document. But when I view the document as a plain text file, viewing it
in Notepad or Wordpad, or even programmaticall y searching for the text
"blabla" from a C programme, then it can't be found.

I would like to make a C programme that would be able to search through
a Visio file so that I can automate some processes. But it is as if the
text is not inside. How do I solve the issue? Is it possible that it's
a matter of charset, or some cypher stuff, or what? Is there some
library that would make it possible?


Your basic problem appears to be how to interpret the contents of MS
Visio files. This question is off-topic for this group, which discusses
the standard C language and its use. You are more likely to get useful
responses by asking in a Windows-related newsgroup.

[OT]
I suspect that your difficulty may have to do with text being stored in
some non-obvious character set, which Windows Explorer knows about, but
you, at the moment, don't. The following site has some information on
different file formats, and you might find it useful:
<http://www.wotsit.org/>
[/OT]

--
Rich Gibbs
ri*****@gmail.c om
"You can observe a lot by watching." -- Yogi Berra

May 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1402
by: John Rager | last post by:
I am using the Index search server that comes with MS IIS 3.0. The search works ok but how do I limit the search to only HTML/ASP files and not include MS Office files in the search results?
0
1040
by: Danny | last post by:
I bulding some application in ASP . i want that my App. will search some context at office files. how do i do it whitout Index serive ? ther is any API ? ther is any ASP code ?
1
1479
by: MP | last post by:
I was wondering if anyone can point me to some example code of searching for a file, like *.*, or *.pdf, much like the Windows search function. I am at a smaller location, away from the main office, and although I can map a drive or just use \\ to go to the desired location, the connection is too slow to search. I'd like to implement a search function on the intranet web (at the main office), where it will search a certain directory...
3
2659
by: hazly | last post by:
I'm very new in the web technology and need advice on search engine. I want to develop a portal using PHP and MySQL on Linux. Need to know on the following features : 1. search engine that could search my portal (mySQL, PDF, Ms Word & others) 2. search engine that could search to few web sites specified by user/programmer
0
4239
by: Chung Leong | last post by:
Here's a short tutorial on how to the OLE-DB extension to access Windows Indexing Service. Impress your office-mates with a powerful full-text search feature on your intranet. It's easier than you think. First, download and install the extension (http://sourceforge.net/project/showfiles.php?group_id=171247&package_id=198554). Simply unzip the file and copy the correct version of php_oledb.dll into the PHP extensions folder. Then add the...
3
9560
by: Chung Leong | last post by:
Here's the rest of the tutorial I started earlier: Aside from text within a document, Indexing Service let you search on meta information stored in the files. For example, MusicArtist and MusicAlbum let you find MP3 and other music files based on the singer and album name; DocAuthor let you find Office documents created by a certain user; DocAppName let you find files of a particular program, and so on. Indexing Service uses plug-ins...
5
2693
by: Mark | last post by:
Hi I have an application (in vb.NET 2005) which holds data in SQL Server and some of the SQL records are simply paths to related files. I would like to be able to do a text search on both the SQL data and the contents of any referenced files. The returned list being a listing which includes both records containing the text and files containing the text. Does anyone have a simple example of programatically searching for files
16
2862
by: Computer geek | last post by:
Hello, I am new to VB.NET and programming in general. I have taught myself a lot of the basics with vb.net but am still quite the novice. I am working on a little application now and I need some help with one part of the code. When a button is clicked I need to have it go out to a network drive location and count how many files are present with a certain file extension. Then store that number in a declared variable. Is this possible? Can...
1
1945
by: abhilash12 | last post by:
hai i can't search word in open office og doc files save as type is microsoft word 97/2000/xp (.doc) using java pls help me
3
1289
by: darrel | last post by:
I'm in need of a cheap, windows-based web site indexer/search engine that, ideally, has some .net integration and/or can sit along side of an asp.net web site fairly easily. We've used DTSearch in the past, but found the Asp.net support/documentation lacking and gave up on it for various reasons. We fell in love with Zoom Search, which is a GREAT product for the price ($100) But, alas, they don't have Office 2007 document support yet,...
0
9673
marktang
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...
0
9525
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10221
jinu1996
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...
0
9050
agi2029
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...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
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...
0
5569
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.