hi all
how to access the outlook user profiles through VB.net
any help....
thanks in advanc
Srinivas 9 6707
Srinivas,
Is this related to the question you asked last week (titled "Urgent: Outlook
with VB.NET")?
Did what I offered last week help at all? (you never responded).
If it is related, I recieved the following tidbits:
<quote>
These scenarios are typically problematic for Outlook object model.
Imagine if they have something like ActiveSync installed... My offhand
suggestions:
1. CDO's typically a better choice for multiple-profile scenarios.
2. I'm wild-guessing it's a PST-type scenario, but if it's a relatively
limited amount of Exchange mailboxes, he may want to consider delegate
access instead (and then GetSharedDefaultFolder).
</quote>
Either way: The following site provides a plethora of information on using
Outlook from VB.NET: http://www.microeye.com/resources/res_outlookvsnet.htm
Or are you asking about the Profile information itself?
Hope this helps
Jay
"Srinivas" <an*******@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com... hi all, how to access the outlook user profiles through VB.net? any help.....
thanks in advance
Srinivas
hi jay
thanks a lot for the reply...
sorry... i could't reply for the previous post,that helped me in solving the outlook session problem
In the present scenario,...i'm using the outlook object librar
now the situation will be like this
In my application the user id and user outlook profile name will be stored in database...so whenever user logs into the application there's a mapping between the profile name from the database and the existing outlook profiles
If the value matches with one of the existing outlook profiles...he will be logged with that profile...
else a message to the user will be shown saying that 'Profile not found'
i did't try with the CDO..
So it's enough for me to retrieve the outlook profile names......
Regard
Sriniva
Srinivas,
Is this server side or client side?
Is this with Exchange Server or without?
If its server side & Exchange Server I would use CDO & dynamic profiles,
then all you need is the mailbox & password in your database.
I'm checking to see if an example exists on how to get the list of profiles.
Hope this helps
Jay
"Srinivas" <an*******@discussions.microsoft.com> wrote in message
news:E9**********************************@microsof t.com... hi jay, thanks a lot for the reply.... sorry... i could't reply for the previous post,that helped me in solving
the outlook session problem. In the present scenario,...i'm using the outlook object library now the situation will be like this: In my application the user id and user outlook profile name will be stored
in database...so whenever user logs into the application there's a mapping
between the profile name from the database and the existing outlook
profiles. If the value matches with one of the existing outlook profiles...he will
be logged with that profile.... else a message to the user will be shown saying that 'Profile not found'. i did't try with the CDO...
So it's enough for me to retrieve the outlook profile names.......
Regards Srinivas
Thanks jay,
Right now it's not exchange server....but in future there's a chance for switching over to it
Regards
Srinivas
Hi Jay, I met a different problem. On my machine I can't even find
"Microsoft Outlook 10.0 Object Library" or any other version in my COM list!
I am using Outlook 2003.
Any solution? Thanks in advance.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> ¦b¶l¥ó
news:%2***************@TK2MSFTNGP12.phx.gbl ¤¤¼¶¼g... Srinivas, Is this related to the question you asked last week (titled "Urgent:
Outlook with VB.NET")?
Did what I offered last week help at all? (you never responded).
If it is related, I recieved the following tidbits:
<quote> These scenarios are typically problematic for Outlook object model. Imagine if they have something like ActiveSync installed... My offhand suggestions:
1. CDO's typically a better choice for multiple-profile scenarios.
2. I'm wild-guessing it's a PST-type scenario, but if it's a relatively limited amount of Exchange mailboxes, he may want to consider delegate access instead (and then GetSharedDefaultFolder). </quote>
Either way: The following site provides a plethora of information on using Outlook from VB.NET:
http://www.microeye.com/resources/res_outlookvsnet.htm
Or are you asking about the Profile information itself?
Hope this helps Jay
"Srinivas" <an*******@discussions.microsoft.com> wrote in message news:CD**********************************@microsof t.com... hi all, how to access the outlook user profiles through VB.net? any help.....
thanks in advance
Srinivas
Duron,
If you want "Microsoft Outlook 10.0 Object Library" specifically, you will
need to install Outlook XP.
If you want to use Outlook 2003, you will need to use "Microsoft Outlook
11.0 Object Library".
With either library I would strongly recommend installing the appropriate
PIA (either the optional Outlook 2003 setup or the download from Micorosft
for Outlook XP). Once the PIA is installed simply referencing the above COM
Object Library will cause VS.NET to use the PIA.
For details on the PIA & other matters concerning Outlook with .NET see: http://www.microeye.com/resources/res_outlookvsnet.htm
Hope this helps
Jay
"Duron" <jo******@ms3.hinet.net> wrote in message
news:uU**************@TK2MSFTNGP09.phx.gbl... Hi Jay, I met a different problem. On my machine I can't even find "Microsoft Outlook 10.0 Object Library" or any other version in my COM
list! I am using Outlook 2003.
Any solution? Thanks in advance.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> ¦b¶l¥ó news:%2***************@TK2MSFTNGP12.phx.gbl ¤¤¼¶¼g... Srinivas, Is this related to the question you asked last week (titled "Urgent: Outlook with VB.NET")?
Did what I offered last week help at all? (you never responded).
If it is related, I recieved the following tidbits:
<quote> These scenarios are typically problematic for Outlook object model. Imagine if they have something like ActiveSync installed... My offhand suggestions:
1. CDO's typically a better choice for multiple-profile scenarios.
2. I'm wild-guessing it's a PST-type scenario, but if it's a relatively limited amount of Exchange mailboxes, he may want to consider delegate access instead (and then GetSharedDefaultFolder). </quote>
Either way: The following site provides a plethora of information on
using Outlook from VB.NET:
http://www.microeye.com/resources/res_outlookvsnet.htm
Or are you asking about the Profile information itself?
Hope this helps Jay
"Srinivas" <an*******@discussions.microsoft.com> wrote in message news:CD**********************************@microsof t.com... hi all, how to access the outlook user profiles through VB.net? any help.....
thanks in advance
Srinivas
Thanks Jay.
Actually I already had PIA installed (downloaded from Microsoft) according
to some MSDN document. Unfortunately no luck.
Followed the instructions I have created shared Office Add-ins and had it
run successfully everytime. The only problem is still that I just failed to
find "Microsoft Outlook 10.0 Object Library" or something like that in my
COM list!
Do you happen to know the exact file name for the "Microsoft Outlook
11.0 Object Library"? I tried many ways to find a file named
Interop.Outlook.dll, but when I tried to add this file manually VS.NET told
me this file is not recognized as a COM server. I don't know what more can I
do from here.
Duron
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> ¦b¶l¥ó
news:ej**************@TK2MSFTNGP10.phx.gbl ¤¤¼¶¼g... Duron, If you want "Microsoft Outlook 10.0 Object Library" specifically, you will need to install Outlook XP.
If you want to use Outlook 2003, you will need to use "Microsoft Outlook 11.0 Object Library".
With either library I would strongly recommend installing the appropriate PIA (either the optional Outlook 2003 setup or the download from Micorosft for Outlook XP). Once the PIA is installed simply referencing the above
COM Object Library will cause VS.NET to use the PIA.
For details on the PIA & other matters concerning Outlook with .NET see: http://www.microeye.com/resources/res_outlookvsnet.htm
Hope this helps Jay
"Duron" <jo******@ms3.hinet.net> wrote in message news:uU**************@TK2MSFTNGP09.phx.gbl... Hi Jay, I met a different problem. On my machine I can't even find "Microsoft Outlook 10.0 Object Library" or any other version in my COM list! I am using Outlook 2003.
Any solution? Thanks in advance.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> ¦b¶l¥ó news:%2***************@TK2MSFTNGP12.phx.gbl ¤¤¼¶¼g... Srinivas, Is this related to the question you asked last week (titled "Urgent: Outlook with VB.NET")?
Did what I offered last week help at all? (you never responded).
If it is related, I recieved the following tidbits:
<quote> These scenarios are typically problematic for Outlook object model. Imagine if they have something like ActiveSync installed... My offhand suggestions:
1. CDO's typically a better choice for multiple-profile scenarios.
2. I'm wild-guessing it's a PST-type scenario, but if it's a
relatively limited amount of Exchange mailboxes, he may want to consider delegate access instead (and then GetSharedDefaultFolder). </quote>
Either way: The following site provides a plethora of information on using Outlook from VB.NET:
http://www.microeye.com/resources/res_outlookvsnet.htm
Or are you asking about the Profile information itself?
Hope this helps Jay
"Srinivas" <an*******@discussions.microsoft.com> wrote in message news:CD**********************************@microsof t.com... > hi all, > how to access the outlook user profiles through VB.net? > any help..... > > thanks in advance > > Srinivas
I think I didn't put it very clearly. Sorry.
I did find 'Microsoft Outlook 11.0 Object Library' version 9.2 when I try to
Add Reference under the Project menu. I just failed to find and add this
item to my Toolbar to use this control.
"Duron" <jo******@ms3.hinet.net> ¦b¶l¥ó
news:e7***************@TK2MSFTNGP10.phx.gbl ¤¤¼¶¼g... Thanks Jay.
Actually I already had PIA installed (downloaded from Microsoft) according to some MSDN document. Unfortunately no luck.
Followed the instructions I have created shared Office Add-ins and had it run successfully everytime. The only problem is still that I just failed
to find "Microsoft Outlook 10.0 Object Library" or something like that in my COM list!
Do you happen to know the exact file name for the "Microsoft Outlook 11.0 Object Library"? I tried many ways to find a file named Interop.Outlook.dll, but when I tried to add this file manually VS.NET
told me this file is not recognized as a COM server. I don't know what more can
I do from here.
Duron
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> ¦b¶l¥ó news:ej**************@TK2MSFTNGP10.phx.gbl ¤¤¼¶¼g... Duron, If you want "Microsoft Outlook 10.0 Object Library" specifically, you
will need to install Outlook XP.
If you want to use Outlook 2003, you will need to use "Microsoft Outlook 11.0 Object Library".
With either library I would strongly recommend installing the
appropriate PIA (either the optional Outlook 2003 setup or the download from
Micorosft for Outlook XP). Once the PIA is installed simply referencing the above COM Object Library will cause VS.NET to use the PIA.
For details on the PIA & other matters concerning Outlook with .NET see: http://www.microeye.com/resources/res_outlookvsnet.htm
Hope this helps Jay
"Duron" <jo******@ms3.hinet.net> wrote in message news:uU**************@TK2MSFTNGP09.phx.gbl... Hi Jay, I met a different problem. On my machine I can't even find "Microsoft Outlook 10.0 Object Library" or any other version in my COM list! I am using Outlook 2003.
Any solution? Thanks in advance.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> ¦b¶l¥ó news:%2***************@TK2MSFTNGP12.phx.gbl ¤¤¼¶¼g... > Srinivas, > Is this related to the question you asked last week (titled "Urgent: Outlook > with VB.NET")? > > Did what I offered last week help at all? (you never responded). > > If it is related, I recieved the following tidbits: > > <quote> > These scenarios are typically problematic for Outlook object model. > Imagine if they have something like ActiveSync installed... My
offhand > suggestions: > > 1. CDO's typically a better choice for multiple-profile scenarios. > > 2. I'm wild-guessing it's a PST-type scenario, but if it's a relatively > limited amount of Exchange mailboxes, he may want to consider
delegate > access instead (and then GetSharedDefaultFolder). > </quote> > > Either way: The following site provides a plethora of information on
using > Outlook from VB.NET: > > http://www.microeye.com/resources/res_outlookvsnet.htm > > Or are you asking about the Profile information itself? > > Hope this helps > Jay > > "Srinivas" <an*******@discussions.microsoft.com> wrote in message > news:CD**********************************@microsof t.com... > > hi all, > > how to access the outlook user profiles through VB.net? > > any help..... > > > > thanks in advance > > > > Srinivas > >
Duron,
This is even less clear ;-)
What do you mean by "my Toolbar"? The toolbox used to add controls to a
Form?
The Outlook object model does not contain any controls to add to a Form,
Outlook itself has the Outlook View Control, however it is not part of the
'Microsoft Outlook 11.0 Object Library'.
If you want to use the Outlook View Control, you need to customize the
toolbox & select the Outlook View Control. Do you happen to know the exact file name for the "Microsoft Outlook 11.0 Object Library"? I tried many ways to find a file named Interop.Outlook.dll, but when I tried to add this file manually VS.NET
If you are using the PIA there will not be an IA (aka Interop.Outlook.dll).
Note you will use the PIA if one is installed!
A PIA is a primary interop assembly, it will normally be installed to the
GAC (Global Assembly Cache), where as an IA is an interop assembly, VS.NET
will create an IA for you, in this case called Interop.Outlook.dll and add
it to your project. An IA should "never" be added to the GAC. Note: Adam
Nathan's book ".NET and COM - The Complete Interoperability Guide" on when
and how to add an IA to the GAC and why you should not...
Hope this helps
Jay
"Duron" <jo******@ms3.hinet.net> wrote in message
news:ea****************@TK2MSFTNGP11.phx.gbl... I think I didn't put it very clearly. Sorry.
I did find 'Microsoft Outlook 11.0 Object Library' version 9.2 when I try
to Add Reference under the Project menu. I just failed to find and add this item to my Toolbar to use this control.
"Duron" <jo******@ms3.hinet.net> ¦b¶l¥ó news:e7***************@TK2MSFTNGP10.phx.gbl ¤¤¼¶¼g... Thanks Jay.
Actually I already had PIA installed (downloaded from Microsoft)
according to some MSDN document. Unfortunately no luck.
Followed the instructions I have created shared Office Add-ins and had
it run successfully everytime. The only problem is still that I just failed to find "Microsoft Outlook 10.0 Object Library" or something like that in
my COM list!
Do you happen to know the exact file name for the "Microsoft Outlook 11.0 Object Library"? I tried many ways to find a file named Interop.Outlook.dll, but when I tried to add this file manually VS.NET told me this file is not recognized as a COM server. I don't know what more
can I do from here.
Duron
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> ¦b¶l¥ó news:ej**************@TK2MSFTNGP10.phx.gbl ¤¤¼¶¼g... Duron, If you want "Microsoft Outlook 10.0 Object Library" specifically, you will need to install Outlook XP.
If you want to use Outlook 2003, you will need to use "Microsoft
Outlook 11.0 Object Library".
With either library I would strongly recommend installing the appropriate PIA (either the optional Outlook 2003 setup or the download from Micorosft for Outlook XP). Once the PIA is installed simply referencing the
above COM Object Library will cause VS.NET to use the PIA.
For details on the PIA & other matters concerning Outlook with .NET
see: http://www.microeye.com/resources/res_outlookvsnet.htm
Hope this helps Jay
"Duron" <jo******@ms3.hinet.net> wrote in message news:uU**************@TK2MSFTNGP09.phx.gbl... > Hi Jay, I met a different problem. On my machine I can't even find > "Microsoft Outlook 10.0 Object Library" or any other version in my
COM list! > I am using Outlook 2003. > > Any solution? Thanks in advance. > > "Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> ¦b¶l¥ó > news:%2***************@TK2MSFTNGP12.phx.gbl ¤¤¼¶¼g... > > Srinivas, > > Is this related to the question you asked last week (titled
"Urgent: > Outlook > > with VB.NET")? > > > > Did what I offered last week help at all? (you never responded). > > > > If it is related, I recieved the following tidbits: > > > > <quote> > > These scenarios are typically problematic for Outlook object
model. > > Imagine if they have something like ActiveSync installed... My offhand > > suggestions: > > > > 1. CDO's typically a better choice for multiple-profile scenarios. > > > > 2. I'm wild-guessing it's a PST-type scenario, but if it's a relatively > > limited amount of Exchange mailboxes, he may want to consider delegate > > access instead (and then GetSharedDefaultFolder). > > </quote> > > > > Either way: The following site provides a plethora of information
on using > > Outlook from VB.NET: > > > > http://www.microeye.com/resources/res_outlookvsnet.htm > > > > Or are you asking about the Profile information itself? > > > > Hope this helps > > Jay > > > > "Srinivas" <an*******@discussions.microsoft.com> wrote in message > > news:CD**********************************@microsof t.com... > > > hi all, > > > how to access the outlook user profiles through VB.net? > > > any help..... > > > > > > thanks in advance > > > > > > Srinivas > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Daniel Pope |
last post by:
Hello Everybody,
I'm preparing for doing a daunting task: to access Out look Microsoft
Outlook Express(regardles the operating system and Outlook version) from a
Java applet (after the client...
|
by: SWu |
last post by:
Hello everyone,
I am working on an Internet website for an Application Service Provider. A
user can store employee details on the site. I am now researching the
feasibility of accessing the...
|
by: srinivas |
last post by:
Hi,
i'm trying to retreive the appointments from different profiles of
outlook.
My outlook has 3 profiles created.('Sample1','Sample2','Sample3')
my form contains 3 buttons.each one for each...
|
by: Paul |
last post by:
Hello,
I am trying to set up a program that will email me when a process has been
completed by a user. The user uses a program that moves some files, after
these files are moved I want the...
|
by: jazeelkm |
last post by:
Hi all,
I am developing an windows application using C#. In that application I have to extract all the email ids stored in the contact folder of the outlook... Now I can extract the details using...
|
by: jazeelkm |
last post by:
Hi ,
I am developing a windows application using C#. In that I want to display all the outlook profiles in a listbox and on selecting one, The folder structure should be displayed on a treeview...
|
by: seanhirshberg |
last post by:
I have code that current sends spreadsheets by email from a user's
Outlook. I need to modify the code to send the email from their group
email box, so the recipient can respond to the group email....
|
by: awrightus |
last post by:
I want to develop an interface to create, edit, and delete Outlook
profiles. The system I want to do this on will Have Outlook 2003 on
it. I can use much of the Office Interop stuff to...
|
by: =?Utf-8?B?RWQgUy4=?= |
last post by:
I have three Profiles set-up in Outlook (w/XP Pro). In the past, to go from
one account to another, all I had to do was X out at the upper right which
would take me back to the Profile sign in...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
| |