I try to get the address information from a folder.
The code works fine on a Windows 2003-Server.
It creates the following error windows Vista. It kills the Program. When
looking at it in the Debugger, it kills Visual Studio.


Log Name: Application
Source: Application Error
Date: 17.04.2008 18:37:08
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: (removed)
Faulting application DMSMigrator1.vshost.exe, version 9.0.21022.8, time
stamp 0x473168a0, faulting module ntdll.dll, version 6.0.6001.18000,
time stamp 0x4791a7a6, exception code 0xc0000374, fault offset
0x000b015d, process id 0x1520, application start time 0x01c8a0a8c89dd550.

I have absolutely no Idea, why the problem occurs.

I use GW 7.0.2 and Vista SP1 and develop in VB on VS 2008.

Here is the code:

Dim oOneFolderRights As GroupwareTypeLibrary.FolderRights

For i = 1 To oFolderRightsCollection.Count

Dim oRightFolder As GroupwareTypeLibrary.FolderRights
oOneFolderRights = oFolderLocal.FolderRights.Item(i)

' ERROR on the next Statement!
S = Trim(oRightFolder.Address.DisplayName)

Your help is very much appreciated