VBA - Create Outlook Profiles - Can it be done! 
Author Message
 VBA - Create Outlook Profiles - Can it be done!

Hi,

I've been looking on the Slipstick website for code to create an Outlook
Profile using VBA,  but all the references seem to suggest  a need for
Visual C++

is this true or can it be done from Access 97 using VBA?

All I need really is to change the Name and Email Address of the Profile as
the pop and smtp info remain the same.  Can this info be changed without the
need to edit the profile?

reason for all this is because we send emails on behalf of our clients and
need the email address to reflect this.

Thanks

Jado



Sat, 21 Aug 2004 21:58:24 GMT  
 VBA - Create Outlook Profiles - Can it be done!
VB/VBA isn't a powerful enough language to support some of the properties
and methods exposed by Extended MAPI.  In order to create a profile, you
must use Delphi or C/C++.


Quote:
> Hi,

> I've been looking on the Slipstick website for code to create an Outlook
> Profile using VBA,  but all the references seem to suggest  a need for
> Visual C++

> is this true or can it be done from Access 97 using VBA?

> All I need really is to change the Name and Email Address of the Profile
as
> the pop and smtp info remain the same.  Can this info be changed without
the
> need to edit the profile?

> reason for all this is because we send emails on behalf of our clients and
> need the email address to reflect this.

> Thanks

> Jado



Sat, 21 Aug 2004 22:49:21 GMT  
 VBA - Create Outlook Profiles - Can it be done!
You can manipulate profiles in VB or VBA using  ProfMan library which comes with
a distributable version of Redemption (http://www.dimastr.com/redemption/ ,
click "Profiles"). However in your case it does not look like even Extended MAPI
will help - POP3/SMTP provider in Outlook is not strictly MAPI compliant, a lot
of information is shared between Outlook and OE. In Outlook 2002 POP3/SMTP
provider is not exposed to Extended MAPI at all and there is no API to
manipulate it (one of quite a few things Outlook 2002 broke).
You could directly change the registry bits, but in this case for the changes to
take effect, you'd need to restart Outlook.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool


Quote:
> Hi,

> I've been looking on the Slipstick website for code to create an Outlook
> Profile using VBA,  but all the references seem to suggest  a need for
> Visual C++

> is this true or can it be done from Access 97 using VBA?

> All I need really is to change the Name and Email Address of the Profile as
> the pop and smtp info remain the same.  Can this info be changed without the
> need to edit the profile?

> reason for all this is because we send emails on behalf of our clients and
> need the email address to reflect this.

> Thanks

> Jado



Sun, 22 Aug 2004 01:14:20 GMT  
 VBA - Create Outlook Profiles - Can it be done!
Is it possible then to create a Profile manually from one machine, then
install it on another machine!

what exactly are my options?

Is there any work around to send out massages using the same profile but
with a different Name, Company Name, and Email Address.

SMTP , POP , and even Mailbox settings can all remain the same.

Thanks

Jado


Quote:
> Hi,

> I've been looking on the Slipstick website for code to create an Outlook
> Profile using VBA,  but all the references seem to suggest  a need for
> Visual C++

> is this true or can it be done from Access 97 using VBA?

> All I need really is to change the Name and Email Address of the Profile
as
> the pop and smtp info remain the same.  Can this info be changed without
the
> need to edit the profile?

> reason for all this is because we send emails on behalf of our clients and
> need the email address to reflect this.

> Thanks

> Jado



Sun, 22 Aug 2004 21:13:47 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. logon/outlook profile - read data from calendar item per VBA

2. HOW TO Ommit the Outlook profile screen when sending mail from vba

3. How to configure outlook profile thru vba/vbs

4. Configure Outlook Service/Profile Through VB/VBA/VBS

5. Creating outlook profiles programatically - Please Help

6. Creating Outlook profile programatically

7. Creating Outlook Profile with .NET

8. Creating Outlook Profiles

9. Create Internet User profile OL2K/VBA

10. Create internet User profile OL2K/VBA

11. How do I create a canned form?

12. Programatically Create Outlook Signature VB/VBA/VBS/Jscript

 

 
Powered by phpBB® Forum Software