PC Review


Reply
Thread Tools Rate Thread

How to Create Object of a COM

 
 
Tom Dacon
Guest
Posts: n/a
 
      3rd Aug 2003

please correct the date on your computer.

Thanks.

"Malik Asif Joyia" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hello
> I have successfuly created the object of the com componet MAPI in the vb6
> but in Vb.NEt it give me error to create it object
> what is this matter
> thanks
>
>



 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      3rd Aug 2003
Please correct the date on your computer.

"Malik Asif Joyia" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Hello
> I have successfuly created the object of the com componet MAPI in the vb6
> but in Vb.NEt it give me error to create it object
> what is this matter
> thanks
>
>



 
Reply With Quote
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      4th Aug 2003
I would use the newer mail components in .NET, instead of working with
Interop. This should solve your problem.

If you have to use MAPI, did you create a reference to the COM component in
your project?

NOTE: There is an open source project ExtdSmtp at www.sourceforge.com that
you can download and compile (C#) that is a fairly nice SMTP component. I
realize SMTP and MAPI are two different things, but I took a chance that
sending mail was the primary need.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

****************************************************************************
****
Think Outside the Box!
****************************************************************************
****
"Malik Asif Joyia" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hello
> I have successfuly created the object of the com componet MAPI in the vb6
> but in Vb.NEt it give me error to create it object
> what is this matter
> thanks
>
>



 
Reply With Quote
 
Kumar Gaurav Khanna [.NET MVP]
Guest
Posts: n/a
 
      22nd Aug 2003
Hi!

Use the TLBIMP.EXE utility to create a .NET assembly for the MAPI Component
and make your .NET application have a reference to this assembly, using its
classes to work with MAPI.

Regards,
Kumar Gaurav Khanna

--
----------------------------------------------------------------------------
----------
Microsoft MVP - .NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
----------------------------------------------------------------------------
----------

"Malik Asif Joyia" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hello
> I have successfuly created the object of the com componet MAPI in the vb6
> but in Vb.NEt it give me error to create it object
> what is this matter
> thanks
>
>



 
Reply With Quote
 
Ajoshi
Guest
Posts: n/a
 
      23rd Aug 2003
Add reference to the COM dll? This will let you use the COM objects as if
they were .NET objects. HTH. You might also want to set your clock right.
A Joshi

"Malik Asif Joyia" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Hello
> I have successfuly created the object of the com componet MAPI in the vb6
> but in Vb.NEt it give me error to create it object
> what is this matter
> thanks
>
>



 
Reply With Quote
 
Malik Asif Joyia
Guest
Posts: n/a
 
      2nd Nov 2003
Hello
I have successfuly created the object of the com componet MAPI in the vb6
but in Vb.NEt it give me error to create it object
what is this matter
thanks


 
Reply With Quote
 
S Gopikrishna
Guest
Posts: n/a
 
      2nd Nov 2003
Hi

From the Project Refernces Select the COM Components Tab
and browse for the COM component you would like to use
in .NET App . VS.NET automatically creates the Runtime
Callable Wrapper that is required for the CLR to invoke
the COM component.

-Gopi

>-----Original Message-----
>Hello
>I have successfuly created the object of the com

componet MAPI in the vb6
>but in Vb.NEt it give me error to create it object
>what is this matter
>thanks
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tag <object> don't create object in IE winxpe sp2 =?Utf-8?B?U0FJ?= Windows XP Embedded 2 14th Dec 2005 01:52 PM
create a new graphicex object from a empty bitmapex object Alien Microsoft Dot NET Compact Framework 0 10th Sep 2005 12:11 PM
Howto create new object, of type of other object? Qwert Microsoft VB .NET 6 3rd Jun 2005 05:55 PM
Re: How can I create object in runtime with Type object? Josue Camargo Cruz Microsoft Dot NET 0 7th Nov 2004 08:06 PM
Re: How can I create object in runtime with Type object? Shiva Microsoft Dot NET 0 6th Nov 2004 09:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:13 AM.