c#


How to read outlook 2007 categories using c#


I am using .net framework 3.5 by using C# to configure outlook 2007
I need to import all categories from outlook 2007 to my application particularly on dropdownlist, i want to listed all the categories
from outlook to one combobox in my application, i don't know how to get all the categories,
if anyone know reply
In a new 'Office' type project in visual studio (Outlook AddIn):
NameSpace nameSpace = Application.GetNamespace("MAPI");
foreach(var cat in nameSpace.Categories)
{
//Add cat to your combo box
}

Related Links

Do not unsubscribe from COMObject events can cause memory leak although I use Marshal.FinalReleaseComObject?
Parent-Child Matrix Chaining/Order Hierarchy
Invoke a non generic method with generic arguments defined in a generic class
Display ticket remaining time
Can't call Click Event on dynamic button
OdbcConnection.GetSchema(“TABLES”); not working
How to filter data in RDLC report?
defining characters to ignore while matching strings C# [closed]
How do I get the network interface and its right IPv4 address?
How can I delete a directory in a Zip file using .NET?
receiving string from c# to Java mistakes
No endpoint listening wcf/rest
How to add NT AUTHORITY\IUSR to Administrators group
Combobox in Syncfusion XlsIO
Creating a Strong Name dynamically, without Sn.exe
Why is my locally declared variable not being recognized in the finally block?

Categories

HOME
autohotkey
excel-formula
javafx
itunesconnect
ide
fortran
aix
python-requests
phantomjs
bigtable
mifare
itext7
checkpoint
atlassian-fisheye
kohana
rethinkdb
osx-yosemite
annyang
ethereum
mongodb-replica-set
chef-recipe
yui
background-image
wallet
airbnb
aiml
conditional-formatting
sonarlint
single-page-application
webgl-earth
ajaxcontroltoolkit
combinations
hololens
mattermost
pushbullet
rvm
policy
akavache
hierarchical-data
dynamic-memory-allocation
request-uri
cqlsh
recreate
folder
xlib
key-bindings
mplab
language-detection
android-scrollview
angularjs-resource
dropdownbox
sampling
area
idea-plugin
delphi-xe
vertical-alignment
ape-phylo
quartz
test-kitchen
superclass
android-doze-and-standby
npoco
multivalue
intermediate-language
ajv
android-vectordrawable
kendo-scheduler
iban
suitesparse
blitz3d
timefield
mavlink
strtol
eclipse-mars
boost-range
magick.net
shtml
paypal-subscriptions
nugetgallery
bluetooth-lowenergy-4.2
biginsights
textblob
sparkcore
pdcurses
firebase-tools
connection-timeout
frisby.js
report-builder2.0
dotcmis
serializer
hotlinking
yandex-api
xps
slimscroll
kuka-krl
codio
xtify
facebook-likebox
google-voice
cab
infomaker
nokogiri
mandelbrot
wpd
backbone-views
coinbase-php
msbuild-task
diazo
mvcmailer
jmesa
advanceddatagrid
maven-eclipse-plugin
yii-cactiverecord
recess
backlight
qvariant
response-time
cpack
mass-emails
system-analysis
large-data-volumes
mysql-pconnect
helios
disk-based
asp.net-1.1

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App