473,796 Members | 2,628 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Alternative to reading public folders with WMI?

Does anyone know if there is an alternative to reading Exchange 2003 public
folders with WMI?

I am using WMI in VB.NET to read a list of public folders on an Exchange
2003 server. My problem is that it is INCREDIBLY slow!!! It seems to reads
in chunks from the server with a long delay between "chunks." The other
problem is that the server has over 60,000 public folders! (So you can
imagine how long this takes!)

Is there an alternative to WMI or does anyone know how to speed up the WMI
query?

Many thanks!
Nov 21 '05 #1
1 3712
Try using ADO or WebDAV directly. I'm assuming you're using Exchange 2000
or higher. You can do a hierarchal traversal which won't look at the folder
contents but will instead just return back the folder hierarchy which should
be a fast operation.

Tom

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp

This posting is provided "AS IS" with no warranties, and confers no rights.

"Andrew Gomes" <an*********@ho tmail.com> wrote in message
news:2q******** *****@uni-berlin.de...
Does anyone know if there is an alternative to reading Exchange 2003
public folders with WMI?

I am using WMI in VB.NET to read a list of public folders on an Exchange
2003 server. My problem is that it is INCREDIBLY slow!!! It seems to
reads in chunks from the server with a long delay between "chunks." The
other problem is that the server has over 60,000 public folders! (So you
can imagine how long this takes!)

Is there an alternative to WMI or does anyone know how to speed up the WMI
query?

Many thanks!

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2115
by: btober | last post by:
MY version 7.3 setup uses the default cluster data directory of /var/lib/pgsql/data and I'm aware that one suggested alternative is /usr/local/pgsql/data In my reading of server setup configuration and and drive partitioning, though, I came to believe that the partition mounted at /var should be
10
5576
by: Michael Culley | last post by:
In vb6 it was possible to create an exe as an activeX exe and communicate between 2 apps. Now we have remoting which requires opening a tcp port to listen on, which seems kinda crappy cause another app might be using the same port. Is there an alternative way of communicating between 2 exes on the same machine? Thanks, Michael Culley
0
2652
by: john bailo | last post by:
I am attempting to create a c# program to iterate through the messages in an Outlook/Exchange public folder and extract the headers. My apologies to the VB/VBA groups, but you seem to have more information for Office automation than the c# groups. I am having some problems manipulating the various object models. I say various because based on what source code I could find, I am trying to use the Outlook, CDO and MAPI type libraries
43
6901
by: Mountain Bikn' Guy | last post by:
I have a situation where an app writes data of various types (primitives and objects) into a single dimensional array of objects. (This array eventually becomes a row in a data table, but that's another story.) The data is written once and then read many times. Each primitive read requires unboxing. The data reads are critical to overall app performance. In the hopes of improving performance, we have tried to find a way to avoid the...
1
6193
by: Chris Thunell | last post by:
I have some vb.net code that goes and gets some information from our Contacts Public folder named "Pierce Contacts". As you see from the code below, i reference this folder by first navigating to the folder in outlook. Is there any way to reference the public folder programatically. The exchange public folder is under "Public Folders" "All Public Folders" "Pierce Contacts" Sample code:
0
1902
by: Bob | last post by:
Hi, I'm new to Python and I want to create a script that will import contactitems into an Outlook Public Folder. Therefore I've installed the Python for Windows Extensions. This way I can access my personal contacts <code> import win32com.client
2
6205
by: beeswax | last post by:
Hi, Does anyone knows how to read e-mails from a specific folders in outlook? I only found out how to read the mails from the inbox folder and how to list all available folder. I just don't found a way to access my mails from the other folders. Can anyone help me?
1
2951
by: hikumar | last post by:
Hi Guys, I want a javascript function which shows Public Shared Calendar(opens a window) when I click a link from the webpage. Please help me. Ex. /Public Folders/All Public Folders/Photography Thanks in Advance. I have following VBScript working fine on PC but, not on MAC that is why I am looking for Javascript Please help me.
32
2433
by: ramesh54 | last post by:
Hello All, I have a small problem in reading the filename of a file. I would like to have a script which could read my file and create the respective folders, The file to be read is as follows d124_RD_SF_t01_r05_s089_z121_18grad.txt folders and sub folders should be as follows 1. /x01_a05_s089/RD_z121_18grad
0
9680
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10455
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10228
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10173
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10006
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7547
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.