How do we access the last dialed number from a VBA Routine 
Author Message
 How do we access the last dialed number from a VBA Routine

I am trying to get the last dialed number to update my journal entry each
time a call is made through the Call contact dialog.

This number is available when you go from the Contacts folder and use the
following menu items.

Actions | Call Contact | Redial

This will give a list of the last phone numbers dialed.  The first one is
the Last dialed number.  I need to access this number from within a VBA
routine.  This VBA routine updates a journal entry with the phone number of
the contact and a status of the call.  Since a contact may be reached at
more thatn one number, it is important to log at what number he/she was
reached.

Thank you

Ren



Sat, 25 Oct 2003 23:06:35 GMT  
 How do we access the last dialed number from a VBA Routine
It might be held in the registry somewhere but I don't know where. I'd
grab one of those in the list and do a search in regedit and see if
you can find the key you need.

--
Ken Slovak
[MVP - Outlook]
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
Appendices, Sams


Quote:
> I am trying to get the last dialed number to update my journal entry
each
> time a call is made through the Call contact dialog.

> This number is available when you go from the Contacts folder and
use the
> following menu items.

> Actions | Call Contact | Redial

> This will give a list of the last phone numbers dialed.  The first
one is
> the Last dialed number.  I need to access this number from within a
VBA
> routine.  This VBA routine updates a journal entry with the phone
number of
> the contact and a status of the call.  Since a contact may be
reached at
> more thatn one number, it is important to log at what number he/she
was
> reached.

> Thank you

> Ren



Sun, 26 Oct 2003 05:10:01 GMT  
 How do we access the last dialed number from a VBA Routine
Thanks for the hint Ken,

I had tried that but unfortunately, it failed to find any of the dialed
numbers in the list. Obviously it is help in the DB some where but where?

Ren



Quote:
> It might be held in the registry somewhere but I don't know where. I'd
> grab one of those in the list and do a search in regedit and see if
> you can find the key you need.

> --
> Ken Slovak
> [MVP - Outlook]
> Lead Author, Professional Outlook 2000 Programming, Wrox Press
> Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
> Appendices, Sams



> > I am trying to get the last dialed number to update my journal entry
> each
> > time a call is made through the Call contact dialog.

> > This number is available when you go from the Contacts folder and
> use the
> > following menu items.

> > Actions | Call Contact | Redial

> > This will give a list of the last phone numbers dialed.  The first
> one is
> > the Last dialed number.  I need to access this number from within a
> VBA
> > routine.  This VBA routine updates a journal entry with the phone
> number of
> > the contact and a status of the call.  Since a contact may be
> reached at
> > more thatn one number, it is important to log at what number he/she
> was
> > reached.

> > Thank you

> > Ren



Sun, 26 Oct 2003 20:40:23 GMT  
 How do we access the last dialed number from a VBA Routine
I still think it's in the registry somewhere.

If it is held in the data store then it's completely undocumented and
I haven't found it using OutlookSpy or mdbview in looking at hidden
forms or folder properties. The text might be in unicode, where every
other byte would be 0x00, so a strict text search might not find it.

--
Ken Slovak
[MVP - Outlook]
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
Appendices, Sams


Quote:
> Thanks for the hint Ken,

> I had tried that but unfortunately, it failed to find any of the
dialed
> numbers in the list. Obviously it is help in the DB some where but
where?

> Ren



Sun, 26 Oct 2003 22:14:33 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. dialing numbers without a dial tone

2. Starting Dial Up from Access VBA

3. Change the Last Modify and Last Access date

4. Doing Dial-up connections in VB

5. Automatic numbering via VBA module numbers out of sequence

6. Access 97 VBA v Access 2K VBA - different ?

7. Access 2000 VBA Handbook vis a vis Access 97 VBA Handbook

8. Autonumbering by looking at the last number in the table

9. See Last Number

10. Wrong week number for last monday

11. Rich Edit - detect number of last line?

12. Get last page number failed with .Net

 

 
Powered by phpBB® Forum Software