Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

outlook problem

Status
Not open for further replies.

shiggyshag

Programmer
Dec 14, 2001
227
0
0
GB
Hi

I use the below code on my machine and works great when i put this on another machine i get errors any ideas.

Dim myApp As New Outlook.Application
Dim myItem As Outlook.MailItem
Set myItem = myApp.CreateItem(olMailItem) -- error here


Cheers
 
...got outlook setup on the machine? Using exchangeserver? if so, got a mailbox and rights to it? Same OS, same outlook? ? ? ?
 
I have Outlook on the machine.
No exchange. same OS same Outlook.
Same SP1 for office Same sp2 for XP.

Error is cannot find module.

Made sure it is registered on theis machine etc.

Any Ideas?
 
...register the outlookl lib, because it is probably not installed or registered. You probably need to use something like:
Code:
regsvr32 D:\Program Files\Microsoft Office\OFFICE11\THE_FILENAME.dll

search microsoft.com for the file (THE_FILENAME.dll) to look for, because I don't know which they are (sorry).

easyit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top