Thats right; you're typing directly in the loader.. You shouldn't as =
it's "finished"...
You should put your code in the CodeBlue class module in CMIMAPI in the =
sub StartUp :
(What the loader code does)
Set ctlCBAPI =3D CreateObject("CBIMApi.CodeBlue") ' Creates a =
reference to CBIMAPI
ctlCBAPI.StartUp ' Starts the public SUB StartUp() in =
the class CodeBlue in CBIMAPI
Set ctlCBAPI =3D Nothing ' Removes the reference (terminates =
the module)
(not completely as it really is, but look at it like this)
----- Original Message -----=20
From: Louis Varca=20
To: cb...@li...=20
Sent: Wednesday, February 18, 2004 6:31 AM
Subject: [Cbm-cvs] Err....
Lol this whole .dll setup is still confusing me because when I tell it =
to perfom an action to frmlogin (which is in cbimapi project) the loader =
projects module doesn't respond to it in other words the module wont =
interface into the module to for me.........!
-----------------------
'--[ Start CodeBlue Messenger =
]-----------------------------------------------
Dim ctlCBAPI
Set ctlCBAPI =3D CreateObject("CBIMApi.CodeBlue")
frmSplash.Hide
ctlCBAPI.StartUp
Set ctlCBAPI =3D Nothing
=20
'TEST CODE
frmlogin.Show 'Display frmLogin
=20
' Wait until form explicitly
'says it wants to shut down
While frmlogin.Tag <> "Code Blue"
frmlogin.Show
Wend
'TEST CODE
AND IT DOESN'T WORK!
-Louis
|