Re: Problem with LicenseKey ? - WeOnlyDo Discussion board

Re: Problem with LicenseKey ? (General questions)

by Maverick5, Wednesday, January 11, 2006, 10:46 (6890 days ago) @ wodSupport

I'm still sure it's something to do with when I'm putting the license key in...

I uninstalled the components to do some testing on my TEST machine running Win2kp, I noticed the license keys don't uninstall from the registery, so I nuked them... sure enough after a restart the application says No License Key .
I'm using the dll's...

as in my previous message;
I imports WODMAILBOXCOMLib at the top of vb.net,

in the form class I
Dim mBox As WODMAILBOXCOMLib.wodMailboxCom
Dim Msg As WODMAILBOXCOMLib.Message

then in form_load I set licenses for dll's;
mBox = New WODMAILBOXCOMLib.wodMailboxCom
mBox.LicenseKey = ****-****-****-****
Msg = New WODMAILBOXCOMLib.Message
Msg.LicenseKey = ****-****-****-****

I then created a sub proc to load message dynamically;
mBox.Filename = msgPath
mBox.Lock()
mBox.AutoUpdate = True
If Msg.Headers.Exists( From ) Then
tbFrom.Text = Msg.Headers( From ).Value
End If
Msg.Unload()
mBox.Unlock()

I unload & unlock the message in the same proc, but I don't set Msg to nothing until closing app...

Can you please just reply with code that shows exactly where each reg part should be ?

Thanks,
Mav

[:doh:]


Complete thread: