[JDEV] Merry XMas - Win32 COM DLL has arrived 2 days early :)
Keith Minkler
keith at digix.net
Thu Dec 23 14:32:45 CST 1999
hey all!
Great news for VB! using Peter's COM object, I wrote a *simple* VB program
to connect to a jabber server...
In about 5 lines of code, I connected to the server! talk about simple.. :)
Here's what you do... download the jabberCOM.zip from
downloads.jabber.org/win32
you need to register the control with the .bat file in the zip..
load up VB, and goto to your Project:References and add the type library
.tlb file in the zip
add the folowing lines of code to instinate the object...
Private WithEvents Jabba As JabberSession
Set MyObj = CreateObject("JabberCOM.JabberSession")
this will give you a MyObj in your object pulldown, and all the events in
the Procedure pulldown..
it's *that* easy! :)
to connect..
With MyObj
.Username = "foo"
.Password = "bar"
.Resource = "foo"
.Server = "jabber.org"
.DoConnect
End With
That should get you all started! I'm going to write a "shell" program, but
this should get you going no prob! Have a Merry Christmas!
Keith Minkler
More information about the JDev
mailing list