Build is as a distributable package.  the exe must need some dependency that exists on 
the server build but not on the server deployed to.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Fyodorov,
Andrey
Sent: Tuesday, November 18, 2003 10:54 AM
To: Exchange Discussions
Subject: OT: VB Question


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]

_________________________________________________________________
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]

Reply via email to