Hi all. I am trying to understand why a piece of VB code works on my PC
but doesn't do anything on a server.
All I want it to do is to show me the names of all COM+ applications.
I compile it into an EXE and run on my PC and it works great. Then I
copy it to one of my servers and run it there - nothing.
Here is the code -
Private Sub cmdStart_Click()
Dim oCatalog As COMAdminCatalog
Dim oApps As COMAdminCatalogCollection
Dim oApp As COMAdminCatalogObject
Set oCatalog = New COMAdminCatalog
Set oApps = oCatalog.GetCollection("Applications")
oApps.Populate
For Each oApp In oApps
MsgBox oApp.Value("Name")
Next
End Sub
Any ideas?
Thanks in advance!
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Web Interface:
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang=english
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]