Thanks Mona.
Problem is I found MSOE.dll as you said but trying to add it to the list of
references gives me "Can't add a reference to the specified file". Is it
protected from third party use or something do you think? Any other ideas?
Or is it a straight dll, not a COM component?
Dave
Hi Dave,
Have you registered the file before trying to add it as a reference? If not,
then you have to register it first.
To register COM dll or ocx... in the run dialog.
regsvr32.exe myCOM.dll
regsvr32.exe myCOM.ocx
to unregister
regsvr32.exe /u myCOM.dll
regsvr32.exe /u myCOM.ocx
HTH
Mona
> Thanks Mona.
>
[quoted text clipped - 27 lines]
> > >
> > > Dave
Dave - 25 Nov 2004 11:03 GMT
Thanks Mona,
But I think I found a different, simpler way to do what I want:
ShellExecute Me.hWnd, "Open", _
"mailto:" & sRecipient & "?" & _
"subject=" & sSubject & "&body=" & sBody, vbNullString, _
vbNullString, vbNormalFocus
This starts Outlook Express and fills in a new e-mail with the recipient,
subject and body filled in. Really neat!
Dave
> Hi Dave,
>
[quoted text clipped - 49 lines]
> > > >
> > > > Dave