Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating Outlook Profile with .NET

0 views
Skip to first unread message

Beginner

unread,
Mar 12, 2002, 11:16:43 AM3/12/02
to
Is there a better way to create new outlook profile in .NET?

I used to run a DOS batch file with a configuration file from VB6, that
works in most cases. But sometimes, it generates nothing. In the mean
time, you can still manually create profiles from Control Panel - Mail. So
I assume there's a better way to do this.

Thanks


Nicholas Paldino [.NET MVP]

unread,
Mar 12, 2002, 11:24:45 AM3/12/02
to
You can probably use COM Interop to create a new instance of Outlook and
create the profile programatically. Have you tried that?


--
- Nicholas Paldino [.NET MVP]
- nicholas...@exisconsulting.com

"Beginner" <bzh...@hotmail.com> wrote in message
news:#hQF2EeyBHA.872@tkmsftngp02...

Beginner

unread,
Mar 12, 2002, 11:42:05 AM3/12/02
to
The only thing I did is run that newprof.exe to generate profile, migrate
cc:Mail archive to PST and use CDO to add to Outlook address book. Other
than that, I had no idea what's COM Interop and how it works. Any
documentation or resources I can reference to?

Thank you very much.


"Nicholas Paldino [.NET MVP]" <nicholas...@exisconsulting.com> wrote in
message news:#zDt3JeyBHA.2596@tkmsftngp03...

Nicholas Paldino [.NET MVP]

unread,
Mar 12, 2002, 2:56:28 PM3/12/02
to
Beginner,

What you want to do is look for the documentation for Collaboration Data
Objects. Once you understand the object model and verify that it can do
what you want, all you have to do is set a reference to the active x dll (in
the references dialog).


--
- Nicholas Paldino [.NET MVP]
- nicholas...@exisconsulting.com

"Beginner" <bzh...@hotmail.com> wrote in message

news:OQVfBTeyBHA.2456@tkmsftngp05...

Coatl

unread,
Mar 12, 2002, 3:08:55 PM3/12/02
to
Actually Nicholas was talking about COM Interoperatility (use the COM
Objects for Outlook manipulation in .Net) ...


--
Alberto Borbolla
Microsoft MVP


"Beginner" <bzh...@hotmail.com> wrote in message

news:OQVfBTeyBHA.2456@tkmsftngp05...

Nicholas Paldino [.NET MVP]

unread,
Mar 12, 2002, 3:13:24 PM3/12/02
to
BTW, the reason I suggested this over my original response is that the
CDO objects would probably provide a much cleaner interface than what the
original poster was doing.


--
- Nicholas Paldino [.NET MVP]
- nicholas...@exisconsulting.com

"Nicholas Paldino [.NET MVP]" <nicholas...@exisconsulting.com> wrote in
message news:e0McLAgyBHA.1796@tkmsftngp02...

Beginner

unread,
Mar 12, 2002, 4:01:51 PM3/12/02
to
Thank you very much. I'll take time go through it.

"Nicholas Paldino [.NET MVP]" <nicholas...@exisconsulting.com> wrote in

message news:e0McLAgyBHA.1796@tkmsftngp02...

0 new messages