473,685 Members | 3,045 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading outlook .msg files

Hello,

I can read text files into my application, but I cannot read in msg files as
they seem to be in a proprietry format.

Is there anyway of converting it on the fly or is there an interpretation
method?

Thanks

Graham

Graham F French mcse
Nov 20 '05 #1
23 25473
their in binary format not text format, to read binary format you need to
know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hello,

I can read text files into my application, but I cannot read in msg files as they seem to be in a proprietry format.

Is there anyway of converting it on the fly or is there an interpretation
method?

Thanks

Graham

Graham F French mcse

Nov 20 '05 #2
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
their in binary format not text format, to read binary format you need to
know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hello,

I can read text files into my application, but I cannot read in msg files
as
they seem to be in a proprietry format.

Is there anyway of converting it on the fly or is there an

interpretation method?

Thanks

Graham

Graham F French mcse


Nov 20 '05 #3
Graham,
The .msg format is not documented.

The "easiest" way to read it would be to have the App that defines the
format read it, in this case Outlook.

The following site provides a plethora of information on using Outlook from
..NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay

"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hello,

I can read text files into my application, but I cannot read in msg files as they seem to be in a proprietry format.

Is there anyway of converting it on the fly or is there an interpretation
method?

Thanks

Graham

Graham F French mcse

Nov 20 '05 #4
You've never worked with binary/random access file have you?
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
their in binary format not text format, to read binary format you need to
know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hello,

I can read text files into my application, but I cannot read in msg

files
as
they seem to be in a proprietry format.

Is there anyway of converting it on the fly or is there an

interpretation method?

Thanks

Graham

Graham F French mcse



Nov 20 '05 #5
I don't know if its on here... but a link for understanding (and the
formats) of many popular binary file types.

http://www.wotsit.org/search.asp?s=ALLFILES

CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
their in binary format not text format, to read binary format you need to
know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hello,

I can read text files into my application, but I cannot read in msg

files
as
they seem to be in a proprietry format.

Is there anyway of converting it on the fly or is there an

interpretation method?

Thanks

Graham

Graham F French mcse



Nov 20 '05 #6
Jay,

Sorry, I do need to know how to read this file format directly into my
application.

I know that it can be done in VB6.

Cheers

Graham

"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message
news:uW******** ******@tk2msftn gp13.phx.gbl...
Graham,
The .msg format is not documented.

The "easiest" way to read it would be to have the App that defines the
format read it, in this case Outlook.

The following site provides a plethora of information on using Outlook from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay

"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hello,

I can read text files into my application, but I cannot read in msg files
as
they seem to be in a proprietry format.

Is there anyway of converting it on the fly or is there an

interpretation method?

Thanks

Graham

Graham F French mcse


Nov 20 '05 #7
CJ,

You are dead right, I have never worked with binary.

I still consider myself as a newbie, text files are no problem, binary.....
not a chance!!

The site that you showed me has not got the msg format.

Any further help would be appreciated.

Thanks

Graham

"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
I don't know if its on here... but a link for understanding (and the
formats) of many popular binary file types.

http://www.wotsit.org/search.asp?s=ALLFILES

CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
their in binary format not text format, to read binary format you need to know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> Hello,
>
> I can read text files into my application, but I cannot read in msg

files
as
> they seem to be in a proprietry format.
>
> Is there anyway of converting it on the fly or is there an

interpretation
> method?
>
> Thanks
>
> Graham
>
> Graham F French mcse
>
>



Nov 20 '05 #8
Hmm, sorry, didn't look through it enough... Sorry about that.. still
searching for a source of it.. but personally, I would use the Outlook
interop.
-CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:OZ******** ********@TK2MSF TNGP09.phx.gbl. ..
CJ,

You are dead right, I have never worked with binary.

I still consider myself as a newbie, text files are no problem, binary..... not a chance!!

The site that you showed me has not got the msg format.

Any further help would be appreciated.

Thanks

Graham

"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
I don't know if its on here... but a link for understanding (and the
formats) of many popular binary file types.

http://www.wotsit.org/search.asp?s=ALLFILES

CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
> their in binary format not text format, to read binary format you need
to
> know the data structure of the file.
>
>
> "Graham F French" <gr***********@ satosoft.com> wrote in message
> news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> > Hello,
> >
> > I can read text files into my application, but I cannot read in

msg files
> as
> > they seem to be in a proprietry format.
> >
> > Is there anyway of converting it on the fly or is there an
interpretation
> > method?
> >
> > Thanks
> >
> > Graham
> >
> > Graham F French mcse
> >
> >
>
>



Nov 20 '05 #9
The problem is the client. Outlook will not be installed.

The msg files are saved to a shared server drive and my application needs to
read in the msg files.

Cheers

Graham

"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
Hmm, sorry, didn't look through it enough... Sorry about that.. still
searching for a source of it.. but personally, I would use the Outlook
interop.
-CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:OZ******** ********@TK2MSF TNGP09.phx.gbl. ..
CJ,

You are dead right, I have never worked with binary.

I still consider myself as a newbie, text files are no problem,

binary.....
not a chance!!

The site that you showed me has not got the msg format.

Any further help would be appreciated.

Thanks

Graham

"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
I don't know if its on here... but a link for understanding (and the
formats) of many popular binary file types.

http://www.wotsit.org/search.asp?s=ALLFILES

CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
> It is from outlook, so whatever that binary format is.
>
> Hope this helps.
>
> Graham
>
>
> "Brian Henry" <br******@adelp hia.net> wrote in message
> news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
> > their in binary format not text format, to read binary format you need to
> > know the data structure of the file.
> >
> >
> > "Graham F French" <gr***********@ satosoft.com> wrote in message
> > news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> > > Hello,
> > >
> > > I can read text files into my application, but I cannot read in msg > files
> > as
> > > they seem to be in a proprietry format.
> > >
> > > Is there anyway of converting it on the fly or is there an
> interpretation
> > > method?
> > >
> > > Thanks
> > >
> > > Graham
> > >
> > > Graham F French mcse
> > >
> > >
> >
> >
>
>



Nov 20 '05 #10

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

Similar topics

0
2125
by: pcouas | last post by:
Hi, Anyone know how reading Outlook or Outlook express contact File from Javamail ? It seems theses files are named .dbx and .vba Thanks Philippe
14
11861
by: Peter Galfi | last post by:
Hi! I am looking for a library in Python that would read PDF files and I could extract information from the PDF with it. I have searched with google, but only found libraries that can be used to write PDF files. Any ideas? Peter
4
9164
by: Yavuz Bogazci | last post by:
Hi, has someone a C# oder VB.Net Class for reading Outlook Express .dbx Files. I need a sample how i can read the content of a .dbx File and show the Emails with C# or Vb.Net. thanks Yavuz Bogazci
1
1831
by: Paul Fi | last post by:
does .net have any api for reading outlook express files (dbx files)? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
1
3035
by: Manjunath sp via DotNetMonster.com | last post by:
Hi, How to effectively write and read structures from binary files in .Net? Currently I am using functions like ReadInt32 and the likes to read data from binary file into each elements of a structure, but this is very inefficent compared to VB3 where I could use Get method to read the whole structure data? Is there any similar method in .net? -- Message posted via http://www.dotnetmonster.com
1
2132
by: Shmuel Shulman | last post by:
Hi I have 2 funny probs that are probably related 1. I can't read the entire field from a dbf file it cuts it at some point (see below) 2. When I use Access or SQL server to read these files they too read only up to that point also SQLServer sets the number characters to the 1 that it read
0
2191
by: Anish G | last post by:
Hi, I have an issue with reading CSV files. I am to reading CSV file and putting it in a Datatable in C#. I am using a regular expression to read the values. Below is the code. Now, it reads CSV file without any issues only if all the fields are not null. If any field is blank, it moves the values to the left and displays the value under invalid column. Example is shown below: A part of CSV file. I am reading the first row as...
10
3171
by: lancer6238 | last post by:
Hi all, I'm having programs reading from files. I have a text file "files.txt" that contains the names of the files to be opened, i.e. the contents of files.txt are Homo_sapiens.fa Rattus_norvegicus.fa (They are FA files that can be opened in any text editor.)
2
2235
by: doublemaster007 | last post by:
Hi How to read binary files in MAC OS? FILE *readFile = fopen("filename", "rb"); then reading it like this: count=fread(readBuffer, sizeof(char), bufferSize, readFile)
0
8570
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
8504
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
8925
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...
1
8758
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,...
0
8773
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6431
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5790
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
4299
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...
3
1924
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.