Re: ActiveX DLL project question (General questions)
Marco,
add reference to wodMailbox.dll to your project, and in your class add this code: [code]Dim mbox As wodMailboxCom
Private Sub Class_Initialize()
Set mbox = New wodMailboxCom
MsgBox mbox.Version
End Sub
[/code]That should do it.
Regards,
Kreso
It compiled without error but no msgbox when run from the VB6 ide. That's not necessarily a problem but I need the dll I generate to display the msgbox. Here's how the dll will be used: in the registry I have a file type .mbz which is a mailbox file. In shell/open/command I have Open with Notepad which successfully opens .mbz files with Notepad. I want to add Display WodMailbox Version which displays MsgBox mbox.Version from my dll. What do I do? Thanks
Complete thread:
- ActiveX DLL project question - Marco Lundgren, 2009-08-28, 22:53
- Re: ActiveX DLL project question - wodSupport, 2009-08-28, 22:58
- Re: ActiveX DLL project question - Marco Lundgren, 2009-08-28, 23:25
- Re: ActiveX DLL project question - wodSupport, 2009-08-28, 23:31
- Re: ActiveX DLL project question - woddrazen, 2009-08-28, 23:36
- Re: ActiveX DLL project question - Marco Lundgren, 2009-08-28, 23:39
- Re: ActiveX DLL project question - wodSupport, 2009-08-28, 23:40
- Re: ActiveX DLL project question - Marco Lundgren, 2009-08-28, 23:52
- Re: ActiveX DLL project question - wodSupport, 2009-08-28, 23:40
- Re: ActiveX DLL project question - Marco Lundgren, 2009-08-28, 23:39
- Re: ActiveX DLL project question - woddrazen, 2009-08-28, 23:36
- Re: ActiveX DLL project question - wodSupport, 2009-08-28, 23:31
- Re: ActiveX DLL project question - Marco Lundgren, 2009-08-28, 23:25
- Re: ActiveX DLL project question - wodSupport, 2009-08-28, 22:58