Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / September 2005

Tip: Looking for answers? Try searching our database.

VBA Vs COM Add In

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lp12 - 05 Sep 2005 07:24 GMT
Hi all,
I have a code (with custom form) that i want to deploy in my org.
I examine a bit and find out that i need to write a COM add-in for that task.
I'm a newbie in VB so i wanted to know:
A) can i use the VBA code for the routines i wroteor i need to exchange it
with VB one?
b) What are the basic stepes in creating a add in in VB6?
Thanks a lot in advance
Ken Slovak - [MVP - Outlook] - 06 Sep 2005 15:14 GMT
VBA code should be almost 100% compatible with VB 6 code. The main
differences are that VBA gives you the Application object and in VB you'd
need to instantiate one (or more precisely use the trusted Application
object passed in the On_Connection event). Any forms you created in VBA
would use VBA UserForms, in VB they'd use VB forms.

I recommend that you download the ItemsCB Outlook COM addin template as the
skeleton for your addin (www.microeye.com, on the Resources page), it
provides a framework for you plus workarounds
for many common COM addin problems. You also should review the information
at http://www.outlookcode.com/d/comaddins.htm.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hi all,
> I have a code (with custom form) that i want to deploy in my org.
[quoted text clipped - 5 lines]
> b) What are the basic stepes in creating a add in in VB6?
> Thanks a lot in advance
 
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



©2008 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.