Hello I try to retrieve from VB all active sessions of Smarteam and always return me 1 the mine :'( I´d like to one search with all active sessions and manage them.
Anyone has tried it?
Best Regards.
Remarks
Creating a Session in Server Mode
To create a SmSession object in Server Mode (ServerMode = True), use the Visual Basic method CreateObject instead of CreateSession, as in the following example:
'
Dim SmEngine As SmApplic.SmFreeThreadedEngine Dim SmSession As SmApplic.SmSession
Set SmEngine = CreateObject("SmApplic.SmFreeThreadedEngine" SmEngine.Init "SmTeam32" Set SmSession = CreateObject("SmApplic.SmSession" SmSession.Init SmEngine, "MySession", "Smteam32" SmSession.OpenDatabaseConnection "SmDemo", "system", False SmSession.UserLogin "joe", "" ''
|
|