Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / November 2004



Tip: Looking for answers? Try searching our database.

E Mail

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 18 Nov 2004 12:41 GMT
Hi,

Does anyone know what ActiveX control can be used for creating an Outlook
Express window for creating a new e-mail, with the recipient's name filled
in, rather like mailto in the browser.  I looked for a Microsoft Outlook
Express control in the list of components but found nothing obvious.

Dave
Mona (Grapecity) - 19 Nov 2004 04:06 GMT
Hi Dave,

ActiveX library for Outlook Express is MSOE.DLL.If it's not in the list then
hit the browse button and select .dll type library. Locate this dll (it
should be in the same folder of Outlook Express) and select it.This gives
access to an ActiveX control of messagelist for creating new mails.

HTH

Mona

> Hi,
>
[quoted text clipped - 4 lines]
>
> Dave
Dave - 19 Nov 2004 08:03 GMT
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,
>
[quoted text clipped - 15 lines]
> >
> > Dave
Mona (Grapecity) - 24 Nov 2004 12:48 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.