Microsoft Outlook
Microsoft Outlook
Microsoft Outlook
Microsoft Outlook
Microsoft Outlook
Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook
Microsoft Outlook Microsoft Outlook
Microsoft Outlook
Go Back  Xtreme Visual Basic Talk > > > > Microsoft Outlook


Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2005, 05:34 AM
m jaffer m jaffer is offline
Newcomer
 
Join Date: Sep 2004
Location: London, UK
Posts: 23
Default Microsoft Outlook


Hi Guys

I am trying to process emails in a specific Outlook Folder. I have the following declaration in my code:

Dim objOutlook As New Outlook.Application
Dim objNameSpace As Outlook.NameSpace
Dim objFolder As MAPIFolder
Dim objMail As MailItem
Dim emailBody, emailDate, emailAddress
' Get the MAPI name space
Set objNameSpace = objOutlook.GetNamespace("MAPI")

Howeve, I keep getting the error "Run-time error '48' Error in loading DLL" on the last line.

Any ideas?

Thanks
Reply With Quote
  #2  
Old 05-26-2005, 06:28 AM
George7a's Avatar
George7a George7a is offline
History: Jesus Is Risen
 
Join Date: Mar 2005
Location: Nazareth
Posts: 1,697
Default

You might have tried this, but I recently had a similar problem. What I did was to go to Start/Programs/Microsoft Visual Studio 6/Microsoft Visual Studio 6 Tools/Depends.

Using this program "Dependency Walker", you can select a dll and it will go out and tell you what other dll's it needs. It highlighted a couple of dll's that I needed and when I copied them into the directory that I was working on, my problem was fixed.

Good luck.
__________________
Thabet.Net
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Microsoft Outlook
Microsoft Outlook
Microsoft Outlook Microsoft Outlook
Microsoft Outlook
Microsoft Outlook
Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook Microsoft Outlook
Microsoft Outlook
Microsoft Outlook
 
Microsoft Outlook
Microsoft Outlook
 
-->