473,791 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OE Address Book interface not too friendly with exporting - Seeking A97 solution to read it

MLH
Anyone ever experiement importing WAB data
directly into A97? Would lke a chance to look
at any work done in this arena.
Apr 8 '06 #1
11 2318
MLH
With respect to this objective, has anyone ever
tried the A97 database posted at
http://www.spahn-web.de/sonstiges/oekontaktedemo/
< OEKontakteDemo. zip (178 KB) >

???

I couldn't get it to work for me.
Apr 8 '06 #2
On Sat, 08 Apr 2006 15:03:31 -0400, MLH <CR**@NorthStat e.net> wrote:
Anyone ever experiement importing WAB data
directly into A97? Would lke a chance to look
at any work done in this arena.


Out of interest did a google groups search on "wab oe a97" and the first page started :

OE Address Book interface not too friendly with exporting ...
Anyone ever experiement importing WAB data directly into A97? Would
lke a chance to look at any work done in this arena.
comp.databases. ms-access - Apr 8, 11:03 pm by MLH - 1 message - 1 author

Access and Windows Address Book
Is there a way to access the windows address book (.WAB) from A97? I'd like to
synchronise addresses in my A97 application with the WAB from Outlook Express. ...
microsoft.publi c.access.module sdaovba - Feb 22 2001, 11:10 am by Christoph Keller - 1 message - 1
author

mds87.jpg, part 2/4
.... W]?U<TIU72J*K'=._ W M:Z67_ [=#]#_ (%_&=_%WAB#5VE:/S ... 2%UF9IM2O1O4W-Q\FYR"Q"
M-$%"\85LY[<>L^&[NST6R,5B&"*OE*6 7<6 ... Y6FSU%AO834).\&]O/7:^WT?2_H:?A_7M 1\) MW$=M?:A97] ...
alt.sex.fetish. feet - Mar 22 1995, 5:19 am by MDoc - 1 message - 1 author

Best nudists photos series - nl_059.jpg
.... PB[W2)RR_$JG_A% M<!&DMW;^X3/M:6THHJJ.D>%>`I CEOBP[KU+A97>SPK(MW ... GA"513 MMQB+7\ZN\BO*
H2#(D'4PR;5P6F* :WAB;N4%++,^Q& ... H(G`VJTCG2*YB>9 .9!(M0@0AL MZ<S:O3A71KJ/]OE.V5\"5W ...
alt.sex.wanted. escorts.ads - Dec 2 1999, 12:19 am by Dr. N - 1 message - 1 author

Nasty Story: (M/fffff Extreme NC, Snuff, Torture, Tots, Blood ...
.... K`*?;1.*R7G1&E= M5U5/K1!$P.2B(\(7CJN I(_<7.\WAB$GOUJ )69V ... H+I9=^:S=%9AOOD $*QDW[2+BSDTLV?
6XUEZ/FL154F1 M(3>OE=5<(D8T ... 0^R>E/("7_FK+EP]C<8JESTW >MB?YP@<A97(QJN R8W3G:A+ ...
alt.sex.bondage - Nov 30 1996, 4:42 pm by doc - 1 message - 1 author

Um!

You can write something yourself based on:

Exporting OE's Addressbook (Text/CSV)
http://www.steve.maurer.net/tutorial...essbookCSV.htm

cheers

Apr 8 '06 #3
MLH <CR**@NorthStat e.net> wrote in news:h15g321qsb 694vne30imjdms8 d6jn1agea@
4ax.com:
With respect to this objective, has anyone ever
tried the A97 database posted at
http://www.spahn-web.de/sonstiges/oekontaktedemo/
< OEKontakteDemo. zip (178 KB) >

???

I couldn't get it to work for me.


I tried it before it existed.

--
Lyle Fairfield
Apr 8 '06 #4
MLH
Bully for you. My searches turned up some promising
gems. One called useOEWAB.dll, I cannot seem to
find anything about. Anyone know of it? I'm seeking
documentation on it. I can't find anything.
Apr 8 '06 #5
As usual, we have to ask you, wtf do you want to do? If you want to
find out Fred Jones WAB address and Fred Jones is in your WAB then this
(first posted may years ago) may do it.

Option Explicit

Type MAPIRecip
Reserved As Long
RecipClass As Long
Name As String
Address As String
EIDSize As Long
EntryID As String
End Type

Declare Function MAPIResolveName _
Lib "c:\program files\outlook express\msoe.dl l" _
Alias "BMAPIResolveNa me" ( _
ByVal Session As Long, _
ByVal UIParam As Long, _
ByVal UserName As String, _
ByVal Flags As Long, _
ByVal Reserved As Long, _
ByVal Recipient As Long) As Long

Public Function GetEmailAddress ThroughOE(ByVal strName As String) As
String
' should bring up resolve name dialog if name not found
Dim r As MAPIRecip
MAPIResolveName 0, 0, strName, MAPI_DIALOG, 0, VarPtr(r)
GetEmailAddress ThroughOE = StrConv(r.Addre ss, vbUnicode)
End Function

Public Sub Test()
Debug.Print GetEmailAddress ThroughOE("Cand ace Bergen")
End Sub

Apr 8 '06 #6
rkc
Lyle Fairfield wrote:
MLH <CR**@NorthStat e.net> wrote in news:h15g321qsb 694vne30imjdms8 d6jn1agea@
4ax.com:

With respect to this objective, has anyone ever
tried the A97 database posted at
http://www.spahn-web.de/sonstiges/oekontaktedemo/
< OEKontakteDemo. zip (178 KB) >

???

I couldn't get it to work for me.

I tried it before it existed.


One of the many modules in my testingLylesShi t.mdb file.

Apr 8 '06 #7
MLH
Sorry about the 'usual' - my mistake. Here is precisely
what I want to do. I want to modify Michael Spahn's
global module (below) enabling it to extract the WAB
file [business address | city | state | zip] fields. Trouble
is - I don't know anything about useOEWAB.dll

I thought lines like
Private Declare Function oe_getWABAddres s Lib "useOEWAB.d ll" Alias
"getWABAddr ess" (ByVal idx As Long, ByVal strBuffer As String) As Long
Private Declare Function oe_getWABPhone Lib "useOEWAB.d ll" Alias
"getWABPhon e" (ByVal idx As Long, ByVal strBuffer As String) As Long
Private Declare Function oe_getWABZipCod e Lib "useOEWAB.d ll" Alias
"getWABZipC ode" (ByVal idx As Long, ByVal strBuffer As String) As Long
would likely be supported - in the useOEWAB library - I just don't
know.

Michael's complete OEKontakteDemo. zip (178 KB) file can be found at
http://www.spahn-web.de/sonstiges/oekontaktedemo/

Option Compare Database
Option Explicit

'
+-------------------------------------------------------------------------------
' | Zugriff auf "Address Book"-Kontakte von "Outlook Express" via
API-Calls
'
+-------------------------------------------------------------------------------
' |
' | Für den Zugriff auf die Outlook-Express-Kontakte wird die eine
zusätzliche
' | DLL-Datei benötigt:
' |
' | - Die DLL-Datei "useOEWAB.d ll" muß gefunden werden, d.h. daß sie
' | nötigenfalls in den Pfad gesetzt oder in das Windows-System-
' | Verzeichnis kopiert werden muß.
' |
'
+-------------------------------------------------------------------------------
' |
' | Hinter der hier verwendeten DLL und dieser Demo-Datenbank stand
nicht die
' | Intension alle Funktionen des Adressbuches zu kapseln, sondern auf
ein paar
' | wenige Felder des Standard-Adressbuches möglichst simpel
zuzugreifen.
' |
' | Prinzipiell könnte man die DLL um Zugriffsmöglich keiten für alle
Felder des
' | Adressbuches erweitern, sowie schreibende Zugriffe und das Löschen
und Neu-
' | anlegen von Kontakten.
' |
' | Aber da ich eben nur einige wenige Funktionalitäte n benötigt habe,
habe ich
' | es auch dabei belassen. :-)
' |
' | Die DLL entstand sozusagen nur aus der Notwendigkeit heraus, daß
Outlook-
' | Express im Gegensatz zu Outlook keine Automation unterstützt. :-(
' |
'
+-------------------------------------------------------------------------------
' |
' | Diese Access97-Demo-Datenbank, der darin enthaltene Code sowie die
DLL-Datei
' | "useOEWAB.d ll" dürfen frei weitergegeben werden, solange keine der
' | Dateien verändert und/oder der Copyright-Hinweis entfernt wird.
' |
' | Eine Nutzung des Codes in eigenen Programmen ist gestattet,
solange Module
' | vollständig(!) und unverändert(!) übernommen werden und somit auch
der
' | Copyright-Hinweis unverändert bestehen bleibt.
' |
' | Michael Spahn,
' | sp***@michael-spahn.de
' |
'
+-------------------------------------------------------------------------------
' | (C) 01.03.2002, Michael Spahn
'
+-------------------------------------------------------------------------------

'DLL-Deklarationen:
'------------------

Private Declare Function oe_initWAB Lib "useOEWAB.d ll" Alias
"initUseOfW AB" () As Long
Private Declare Sub oe_endWAB Lib "useOEWAB.d ll" Alias
"endUseOfWA B" ()
Private Declare Function oe_getWABDLLInf o Lib "useOEWAB.d ll" Alias
"getWABDLLI nfo" (ByVal strBuffer As String) As Long
Private Declare Function oe_getWABStdFil e Lib "useOEWAB.d ll" Alias
"getWABStdF ile" (ByVal strBuffer As String) As Long
Private Declare Function oe_getWABCount Lib "useOEWAB.d ll" Alias
"getWABCoun t" () As Long
Private Declare Function oe_getWABName Lib "useOEWAB.d ll" Alias
"getWABName " (ByVal idx As Long, ByVal strBuffer As String) As Long
Private Declare Function oe_getWABEMail Lib "useOEWAB.d ll" Alias
"getWABEMai l" (ByVal idx As Long, ByVal strBuffer As String) As Long
Private Declare Function oe_getWABHomepa ge Lib "useOEWAB.d ll"
Alias "getWABHomepage " (ByVal idx As Long, ByVal strBuffer As String)
As Long

Public Function initWAB() As Boolean
'--------------------------------------------------------------------------------
' Initialisierung der DLL, Öffnen des Standard-Adressbuches.
' Gibt true zurück, falls erfolgreich, sonst false.
'
' Anmerkung: Falls eine Initialisierung bereits erfolgreich
stattgefunden hat, so
' gelingt keine weitere Initialisierung bevor nicht mit endWAB das
Standard-
' Adressbuch wieder geschlossen wurde.
'
' Returncodes von "oe_initWAB ":
' 0 = Standard-Adressbuch neu geöffnet
' -1 = Standard-Adressbuch ist bereits geöffnet

'--------------------------------------------------------------------------------

Dim intResult As Long

intResult = oe_initWAB()
If intResult = 0 Then
initWAB = True
Else
initWAB = False
End If

End Function

Public Sub endWAB()
'--------------------------------------------------------------------------------
' Schliessen des Standard-Adressbuches, freigeben von Ressourcen

'--------------------------------------------------------------------------------

Call oe_endWAB

End Sub

Public Function getWABDLLInfo() As String
'--------------------------------------------------------------------------------
' About-Information der DLL zurückgeben.
' Gut um zu testen, ob der DLL-Zugriff überhaupt funktioniert,
' da hier keine WAB-Funktionen aufgerufen werden.

'--------------------------------------------------------------------------------

Dim strResult As String
Dim intLaenge As Long

strResult = String$(255, 0)
intLaenge = oe_getWABDLLInf o(strResult)
getWABDLLInfo = Left$(strResult , intLaenge)

End Function

Public Function getWABStdFile() As String
'--------------------------------------------------------------------------------
' Gebe den Dateinamen des geöffneten Standard-Adressbuches zurück.
Dies ist
' eine zusätzliche Angabe, die zum Öffnen des
Standard-Adressbuches nicht
' nötig ist, jedoch evtl. in der Registry an folgender Position
gewonnen
' werden kann:
'
' "HKEY_CURRENT_U SER\Software\Mi crosoft\WAB\WAB 4\Wab File Name"
'
' Wird dort keine Angabe gemacht, so kann zwar das
Standard-Adressbuch
' über die API geöffnet werden, aber es ist nicht bekannt, welche
Datei
' dabei geöffnet wird.
'
' Voraussetzung: WAB wurde zuvor erfolgreich initialisiert (siehe
"initWAB")

'--------------------------------------------------------------------------------

Dim strResult As String
Dim intLaenge As Long

strResult = String$(255, 0)
intLaenge = oe_getWABStdFil e(strResult)
If intLaenge > 0 Then
getWABStdFile = Left$(strResult , intLaenge)
Else
getWABStdFile = ""
End If

End Function

Public Function getWABCount() As Long
'--------------------------------------------------------------------------------
' Gibt die Anzahl der Einträge im Standard-Adressbuch zurück. Wird
-1 zurück-
' geliefert, so ist momentan kein Adressbuch geöffnet. Man
beachte, daß der
' höchste Index, den man für Zugriffe auf das Standard-Adressbuch
verwenden
' kann die Anzahl der Einträge - 1 ist, da der Index bei 0
beginnt.
'
' Voraussetzung: WAB wurde zuvor erfolgreich initialisiert (siehe
"initWAB")

'--------------------------------------------------------------------------------

Dim intLaenge As Long

intLaenge = oe_getWABCount( )
getWABCount = intLaenge

End Function

Public Function getWABName(idx As Long) As String
'--------------------------------------------------------------------------------
' Gebe den Namen des Eintrages mit Index idx zurück.
' Wird der höchste zulässige Index (siehe getWABCount)
überschritten,
' so wird eine leere Zeichenfolge geliefert. Liegt der Index im
erlaubten
' Bereich und wird trotzdem eine leere Zeichenfolge geliefert, so
ist die
' gewünschte Information in dem Eintrag mit dem Index wirklich
nicht vorhanden.
'
' Voraussetzung: WAB wurde zuvor erfolgreich initialisiert (siehe
"initWAB")

'--------------------------------------------------------------------------------

Dim strResult As String
Dim intLaenge As Long

strResult = String$(255, 0)
intLaenge = oe_getWABName(i dx, strResult)
If intLaenge > 0 Then
getWABName = Left$(strResult , intLaenge)
Else
getWABName = ""
End If

End Function

Public Function getWABEMail(idx As Long) As String
'--------------------------------------------------------------------------------
' Gebe die E-Mail-Adresse des Eintrages mit Index idx zurück.
' Wird der höchste zulässige Index (siehe getWABCount)
überschritten,
' so wird eine leere Zeichenfolge geliefert. Liegt der Index im
erlaubten
' Bereich und wird trotzdem eine leere Zeichenfolge geliefert, so
ist die
' gewünschte Information in dem Eintrag mit dem Index wirklich
nicht vorhanden.
'
' Voraussetzung: WAB wurde zuvor erfolgreich initialisiert (siehe
"initWAB")

'--------------------------------------------------------------------------------

Dim strResult As String
Dim intLaenge As Long

strResult = String$(255, 0)
intLaenge = oe_getWABEMail( idx, strResult)
If intLaenge > 0 Then
getWABEMail = Left$(strResult , intLaenge)
Else
getWABEMail = ""
End If

End Function

Public Function getWABHomepage( idx As Long) As String
'--------------------------------------------------------------------------------
' Gebe die Homepage-Adresse des Eintrages mit Index idx zurück.
' Wird der höchste zulässige Index (siehe getWABCount)
überschritten,
' so wird eine leere Zeichenfolge geliefert. Liegt der Index im
erlaubten
' Bereich und wird trotzdem eine leere Zeichenfolge geliefert, so
ist die
' gewünschte Information in dem Eintrag mit dem Index wirklich
nicht vorhanden.
'
' Voraussetzung: WAB wurde zuvor erfolgreich initialisiert (siehe
"initWAB")

'--------------------------------------------------------------------------------

Dim strResult As String
Dim intLaenge As Long

strResult = String$(255, 0)
intLaenge = oe_getWABHomepa ge(idx, strResult)
If intLaenge > 0 Then
getWABHomepage = Left$(strResult , intLaenge)
Else
getWABHomepage = ""
End If

End Function

Apr 8 '06 #8
MLH
rkc - sounds like you've collectied a lot over the years.
Lyle's written some good stuff. No doubt about that.
But I'm trying to extract and modify certain portions of
the OEKontakteDemo. zip database from Michael Spahn's
website, adapting portions of it for my own purpose. It
seems to rely heavily on one main DLL and I can find
no documentation on it. If you have any, I'm interested -
regardless of how old it may be.

Thx.
Apr 8 '06 #9
rkc
MLH wrote:
rkc - sounds like you've collectied a lot over the years.


Nope. Only Lyle's stuff.
Apr 8 '06 #10

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

Similar topics

8
3206
by: Sharif Tanvir Karim | last post by:
Can anyone send me a php.ini file that is used by almost by all hosts? My damn computer's (winxp) mini server is messed up and I am starting over so I am trying ot get php to behave on my system. SO please, if you can, please send me the php.ini file used by most hosts. -- Sharif Tanvir Karim http://www.onlyonxbox.net
0
2079
by: Ed Wurster | last post by:
Posted this incorrectly as a response in an unrelated thread. Sorry! Can someone recommend a script for a Contact List or Address Book? I've looked at many that are available, but would like to solicit other ideas. I am looking for a solution to manage and make available the 1000's of name and numbers that a family accumulates. I want to make this information
2
1671
by: Ken | last post by:
Hi. I'm an experienced C++ programmer/OO designer who now needs to use Java on my next project. I've never programmed in Java, and I am only vaguely familiar with it (I know what bytecodes and JVM's are, I know that an Interface is a class with no implementation, and I know that derived classes either extend the base class or implement it if it's an interface--but that's about it). I'm looking for some excellent books on Java. ...
42
9751
by: Steven O. | last post by:
I am seeking some kind of tool that I can use for GUI prototyping. I know how to use Visual Basic, but since a lot of software is being coded in Java or C++, I'd like to learn a Java or C++ -based tool. Back when I took my Java and C++ classes (two or three years ago), the available tools -- at least the ones I could find -- were still not as easy, not as "drag-and-drop", as Visual Basic. Has that changed? Is there some software out...
0
1306
by: Teo Lachev | last post by:
I would like to introduce you officially to my book "Reporting Services in Action" and let you know about its availability. I wrote this book for information workers, system administrators and developers who are planning to leverage Reporting Services to author, manage and distribute RS-based reports. It is a solution-oriented guide that teaches you RS by practical examples. Here are some of the solutions that are included in the book: ...
2
1229
by: MLH | last post by:
I want to read more about the microsoft user interface specification for windows applications. I know there are standards that have been developed and I want to gain a little more expertise in the topic. Seeking Web Resources Recommendations?
29
3898
by: chellappa | last post by:
hi all I need to write a program to find mac address of a my computer using libaries, is this possible? How? thanks
2
5076
by: =?utf-8?B?6Km55YWJ6ICA?= | last post by:
Hi all! I wonder if there's any Python module that could read from .wab file. I googled but found nothing useful. Any idea? Thanks :) Rio
1
1531
by: MarkW | last post by:
Sometime back I bought a couple books on Dreamweaver and Flash for the CS2 Suite and along with it bought a book for Php, Foundation Php for Dreamweaver 8. I read the Dreamweaver and Flash books but never have read the Php book. Now that I was ready to I just upgraded to the CS3 suite. My question is, is it important to look for a newer Php book to use with this CS3 suite or would the current book be ok and up to date? Should I look...
0
10427
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9995
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...
0
9029
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...
1
7537
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
6776
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
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
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
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
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.