News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Microsoft Outlook

Started by shankle, September 09, 2013, 12:41:11 AM

Previous topic - Next topic

shankle

I have been in several email programs over time. For one reason or another I have left them.
I am now suffering with Microsoft Outlook. You might ask what version of Outlook
I am running but I can't answer that question. Do I have to have Microsoft Office 2013
32-bit to make Outlook work properly? For instance I would like to print off all my
Contacts. There is no way I can do that in Outlook. Not knowing the version that I am running
what will a download and install of Microsoft Outlook 2013 32-bit do to my existing Outlook
setup?

dedndave

in the Help menu, About will give you the version you are running
this applies to most windows applications

shankle

Would be nice if it was that easy. But it's not there........

dedndave

that's a real surprise
i don't think i've ever seen a ms app that didn't have it

i know i have an old one - lol (don't use it)
but, this is what mine looks like


shankle

Hi Dave,
Mine doesn't look like that. I'm guessing but I think it is Outlook 2013.
It's got the Windows8 metro crap in part of it.....

Magnum

Have you tried clicking on properties and version ?

Or you may get lucky and find a string in the binary.

Resource Hacker and other programs can show the version info also.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

shankle

Thanks Magnum,
A 30 second search for this has cost me several hours and still no version.
It's all over the internet with others having the same problem.
It might be that I don't want or need Microsoft Office for $150 or so.
I think it can be found in there.

Magnum

I use this when I am in Linux.

It has opened every Word file that I have tried it with.

Andy

FREE
http://www.libreoffice.org/default/
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

TouEnMasm


Quote
For instance I would like to print off all my Contacts

To do that you can export them as a .csv file.Then use excel to read the file and print it.
More difficult way is to read it with masm.
Here is is a sample (commented in french)
http://codes-sources.commentcamarche.net/source/54500-lire-le-carnet-d-adresses-de-outlook-express-depuis-une-application-masm
Fa is a musical note to play with CL

jj2007

Quote from: ToutEnMasm on September 09, 2013, 03:45:32 PM
More difficult way is to read it with masm.
Use a library ;-)

include \masm32\MasmBasic\MasmBasic.inc        ; download
        Init
        Recall "OutlookExpo.csv", Ad$(), csv        ; Microsoft sample file
        For_ ecx=0 To eax-1                    ; eax=#lines
                Print Ad$(ecx, 3), ", "          ; LastName,
                Print Ad$(ecx, 2), CrLf$        ; FirstName
        Next
        Inkey "-- hit any key --"
        Exit
end start

shankle

Thanks for responding Guys.

JJ that's just what I need. I tried changing it a little as I need the email address.
No success with that. Could I beg or request it done again with the following
criteria:  Lastname, Firstname and  email address.

jj2007

Post a sample of your csv file. Email only, or do you need other fields, too?

Magnum

I understand now.

I read where you were looking for a version and forgot about the rest of your post and wanting to export your contacts.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

shankle

Thanks JJ for responding and your help.
What I would like to be able to print is The Last Name, First Name and Email address.
I have attached a sample of my wlmcontacts.csv file.

Your program lists the csv file in what looks like a DOS screen.
It doesn't print for me.

jj2007

Here it is, I refined it a little bit to find the email addresses:

include \masm32\MasmBasic\MasmBasic.inc        ; download
  Init
  Let esi=CL$()        ; pass your file via the commandline
  .if !Instr_(esi, ".csv", 1)
        Let esi="wlmcontacts.csv"        ; or use a default
  .endif
  Print "Records found in ", esi
  Recall esi, Ad$(), csv        ; read the file into a two-dimensional string array
  For_ ecx=0 To eax-1        ; eax=#lines
        Print CrLf$, Ad$(ecx, 3), ", "        ; LastName,
        Print Ad$(ecx, 1)        ; FirstName
        xor ebx, ebx
        ; there could be several email addresses, so let's try all columns:
        .Repeat
                .if Instr_(Ad$(ecx, ebx), "@")        ; email?
                        Print ", ", Ad$(ecx, ebx)
                .endif
                inc ebx
        .Until ebx>99
  Next
  Inkey CrLf$, "-- hit any key --"
  Exit
end start


To print it to a file, use e.g. ReadCsv.exe >MyFile.txt