Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / March 2006

Tip: Looking for answers? Try searching our database.

Problem with VB Exchange applications

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
José Enrique Aguado - 11 Mar 2006 02:01 GMT
My name is Jose Enrique. I have made a NT Service using VB6 which looks for
a change in the appointments of the users in a Exchange 2000 server and it
informs to another VB6 application of these changes.

In the beginning the program reads the user data.and open a CDO session for
each user. Each 5 minutes, the program reads the appointments of each user
and looks for a change in the appointments to decide if the user is busy or
free. When the service is stopped, the program closes all the CDO sessions
and ends.

My problem is the following: When it read 4 users, the program breaks. I
can't find a reason for this problem because the code is the same to read
all the users.  I'd be very grateful if anyone could help me.
Dan Mitchell - 15 Mar 2006 00:59 GMT
> My problem is the following: When it read 4 users, the program breaks.
> I can't find a reason for this problem because the code is the same to
> read all the users.  I'd be very grateful if anyone could help me.

When you say "when it read 4 users, the program breaks", what do you
mean. What error are you seeing, and on what code? Is it after having four
users logged in at the same time, or after you've logged in and out four
times? Does it make a difference which 4 users you're reading, ie is it
the 5th person no matter who that person is, or is it a particular 5th
person that always has problems? If it's a particular person, do they have
the same problem if that person is the first one instead of the 5th,
and/or does it help to move that person to be (say) the 10th person?

-- dan

José Enrique Aguado - 19 Mar 2006 00:26 GMT
Hello, thanks for answering...
My nt service reads the appoinments of several users. When It reads the
appointments of the 5th users the nt service breaks and it ends without
showing any message.

>> My problem is the following: When it read 4 users, the program breaks.
>> I can't find a reason for this problem because the code is the same to
[quoted text clipped - 10 lines]
>
> -- dan
Dan Mitchell - 20 Mar 2006 18:01 GMT
> Hello, thanks for answering...
> My nt service reads the appoinments of several users. When It reads
> the appointments of the 5th users the nt service breaks and it ends
> without showing any message.

Okay, so here's some of those questions again:

>> What error are you seeing, and on what code?

It just crashes? What happens if you run it in the debugger? Which line
of code is it crashing on?

>> Is it after having
>> four users logged in at the same time, or after you've logged in and
[quoted text clipped - 4 lines]
>> the first one instead of the 5th, and/or does it help to move that
>> person to be (say) the 10th person?

And all of these may still be important.

-- dan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.