A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Redemption - HELP



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 22nd 07, 02:31 AM posted to microsoft.public.outlook.program_vba
Rob
external usenet poster
 
Posts: 146
Default Outlook Redemption - HELP

I have an application that I coded to programmatically send emails using
Redemption, on a machine running Outlook 2002. It has been replaced, and the
machine is using Outlook 2003. I installed Redemption as per instructions,
even used regsrvr on it, yet keep getting a "Library Not Registered" error.
Here's the snippet of code before the error:

Dim rMail As Object
Dim rContact As Object
Dim oItem As Object
Dim NS As Object
Dim Sync As Object
Dim Utils As Object
Dim oSent As Object
Dim oSentFolder As Object
Dim Prop As Outlook.UserProperty
'CREATE MAIL ITEM ITEM
Set rMail = New Redemption.SafeMailItem
Set oItem = myApp.CreateItem(olMailItem)

It errors at the Set oItem = myApp.CreateItem(olMailItem) line. Reference
to MSOutlook 11 Object Library is checked, as well as to teh Redemption
Object Library.

Does anyone have any insight, as this has become a major issue.

Thank you

Ads
  #2  
Old June 22nd 07, 02:57 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook Redemption - HELP

That's not a Redemption error. I don't see any statement to instantiate myApp as an Outlook.Application object.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Rob" wrote in message ...
I have an application that I coded to programmatically send emails using
Redemption, on a machine running Outlook 2002. It has been replaced, and the
machine is using Outlook 2003. I installed Redemption as per instructions,
even used regsrvr on it, yet keep getting a "Library Not Registered" error.
Here's the snippet of code before the error:

Dim rMail As Object
Dim rContact As Object
Dim oItem As Object
Dim NS As Object
Dim Sync As Object
Dim Utils As Object
Dim oSent As Object
Dim oSentFolder As Object
Dim Prop As Outlook.UserProperty
'CREATE MAIL ITEM ITEM
Set rMail = New Redemption.SafeMailItem
Set oItem = myApp.CreateItem(olMailItem)

It errors at the Set oItem = myApp.CreateItem(olMailItem) line. Reference
to MSOutlook 11 Object Library is checked, as well as to teh Redemption
Object Library.

Does anyone have any insight, as this has become a major issue.

Thank you

  #3  
Old June 22nd 07, 02:31 PM posted to microsoft.public.outlook.program_vba
Rob
external usenet poster
 
Posts: 146
Default Outlook Redemption - HELP

My appologies for not clarifying mo

The application that is calling the email is written in Access 97 (yes,
ouch, I know). Due to the complexity of the app and time, it has not been
converted yet.

The code I pasted here works perfectly fine when Outlook is Outlook 2002.

"Sue Mosher [MVP-Outlook]" wrote:

That's not a Redemption error. I don't see any statement to instantiate myApp as an Outlook.Application object.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Rob" wrote in message ...
I have an application that I coded to programmatically send emails using
Redemption, on a machine running Outlook 2002. It has been replaced, and the
machine is using Outlook 2003. I installed Redemption as per instructions,
even used regsrvr on it, yet keep getting a "Library Not Registered" error.
Here's the snippet of code before the error:

Dim rMail As Object
Dim rContact As Object
Dim oItem As Object
Dim NS As Object
Dim Sync As Object
Dim Utils As Object
Dim oSent As Object
Dim oSentFolder As Object
Dim Prop As Outlook.UserProperty
'CREATE MAIL ITEM ITEM
Set rMail = New Redemption.SafeMailItem
Set oItem = myApp.CreateItem(olMailItem)

It errors at the Set oItem = myApp.CreateItem(olMailItem) line. Reference
to MSOutlook 11 Object Library is checked, as well as to teh Redemption
Object Library.

Does anyone have any insight, as this has become a major issue.

Thank you


  #4  
Old June 22nd 07, 03:52 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook Redemption - HELP

That still doesn't explain how you are instantiating the myApp object. Since it is involved in the statement that raises an error, that's where your troubleshooting should be focused.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Rob" wrote in message ...
My appologies for not clarifying mo

The application that is calling the email is written in Access 97 (yes,
ouch, I know). Due to the complexity of the app and time, it has not been
converted yet.

The code I pasted here works perfectly fine when Outlook is Outlook 2002.

"Sue Mosher [MVP-Outlook]" wrote:

That's not a Redemption error. I don't see any statement to instantiate myApp as an Outlook.Application object.



"Rob" wrote in message ...
I have an application that I coded to programmatically send emails using
Redemption, on a machine running Outlook 2002. It has been replaced, and the
machine is using Outlook 2003. I installed Redemption as per instructions,
even used regsrvr on it, yet keep getting a "Library Not Registered" error.
Here's the snippet of code before the error:

Dim rMail As Object
Dim rContact As Object
Dim oItem As Object
Dim NS As Object
Dim Sync As Object
Dim Utils As Object
Dim oSent As Object
Dim oSentFolder As Object
Dim Prop As Outlook.UserProperty
'CREATE MAIL ITEM ITEM
Set rMail = New Redemption.SafeMailItem
Set oItem = myApp.CreateItem(olMailItem)

It errors at the Set oItem = myApp.CreateItem(olMailItem) line. Reference
to MSOutlook 11 Object Library is checked, as well as to teh Redemption
Object Library.

Does anyone have any insight, as this has become a major issue.

Thank you


  #5  
Old June 22nd 07, 07:35 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook Redemption - HELP

Which line causes the error?
If it is
Set rMail = New Redemption.SafeMailItem
try to replace it with
Set rMail = CreateObject("Redemption.SafeMailItem")

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Rob" wrote in message
...
I have an application that I coded to programmatically send emails using
Redemption, on a machine running Outlook 2002. It has been replaced, and
the
machine is using Outlook 2003. I installed Redemption as per
instructions,
even used regsrvr on it, yet keep getting a "Library Not Registered"
error.
Here's the snippet of code before the error:

Dim rMail As Object
Dim rContact As Object
Dim oItem As Object
Dim NS As Object
Dim Sync As Object
Dim Utils As Object
Dim oSent As Object
Dim oSentFolder As Object
Dim Prop As Outlook.UserProperty
'CREATE MAIL ITEM ITEM
Set rMail = New Redemption.SafeMailItem
Set oItem = myApp.CreateItem(olMailItem)

It errors at the Set oItem = myApp.CreateItem(olMailItem) line. Reference
to MSOutlook 11 Object Library is checked, as well as to teh Redemption
Object Library.

Does anyone have any insight, as this has become a major issue.

Thank you



  #6  
Old June 23rd 07, 01:33 PM posted to microsoft.public.outlook.program_vba
Rob
external usenet poster
 
Posts: 146
Default Outlook Redemption - HELP

It is erroring at the following line:

Set oItem = myApp.CreateItem(olMailItem)

In my declarations section I have the following:

Dim myApp As New Outlook.Application
Dim myItem As Outlook.MailItem

If this is an Outlook error, what could be causing it? The machine has been
reverted back to Outlook 2002. It has the exact same setup in terms Access,
Outlook, and the code to run the process, yet it doesn't work here.

"Dmitry Streblechenko" wrote:

Which line causes the error?
If it is
Set rMail = New Redemption.SafeMailItem
try to replace it with
Set rMail = CreateObject("Redemption.SafeMailItem")

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Rob" wrote in message
...
I have an application that I coded to programmatically send emails using
Redemption, on a machine running Outlook 2002. It has been replaced, and
the
machine is using Outlook 2003. I installed Redemption as per
instructions,
even used regsrvr on it, yet keep getting a "Library Not Registered"
error.
Here's the snippet of code before the error:

Dim rMail As Object
Dim rContact As Object
Dim oItem As Object
Dim NS As Object
Dim Sync As Object
Dim Utils As Object
Dim oSent As Object
Dim oSentFolder As Object
Dim Prop As Outlook.UserProperty
'CREATE MAIL ITEM ITEM
Set rMail = New Redemption.SafeMailItem
Set oItem = myApp.CreateItem(olMailItem)

It errors at the Set oItem = myApp.CreateItem(olMailItem) line. Reference
to MSOutlook 11 Object Library is checked, as well as to teh Redemption
Object Library.

Does anyone have any insight, as this has become a major issue.

Thank you




  #7  
Old June 23rd 07, 06:23 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook Redemption - HELP

And what is the error? Have you rceently installed any anti virus apps?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Rob" wrote in message
...
It is erroring at the following line:

Set oItem = myApp.CreateItem(olMailItem)

In my declarations section I have the following:

Dim myApp As New Outlook.Application
Dim myItem As Outlook.MailItem

If this is an Outlook error, what could be causing it? The machine has
been
reverted back to Outlook 2002. It has the exact same setup in terms
Access,
Outlook, and the code to run the process, yet it doesn't work here.

"Dmitry Streblechenko" wrote:

Which line causes the error?
If it is
Set rMail = New Redemption.SafeMailItem
try to replace it with
Set rMail = CreateObject("Redemption.SafeMailItem")

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Rob" wrote in message
...
I have an application that I coded to programmatically send emails using
Redemption, on a machine running Outlook 2002. It has been replaced,
and
the
machine is using Outlook 2003. I installed Redemption as per
instructions,
even used regsrvr on it, yet keep getting a "Library Not Registered"
error.
Here's the snippet of code before the error:

Dim rMail As Object
Dim rContact As Object
Dim oItem As Object
Dim NS As Object
Dim Sync As Object
Dim Utils As Object
Dim oSent As Object
Dim oSentFolder As Object
Dim Prop As Outlook.UserProperty
'CREATE MAIL ITEM ITEM
Set rMail = New Redemption.SafeMailItem
Set oItem = myApp.CreateItem(olMailItem)

It errors at the Set oItem = myApp.CreateItem(olMailItem) line.
Reference
to MSOutlook 11 Object Library is checked, as well as to teh Redemption
Object Library.

Does anyone have any insight, as this has become a major issue.

Thank you






  #8  
Old June 23rd 07, 11:38 PM posted to microsoft.public.outlook.program_vba
Rob
external usenet poster
 
Posts: 146
Default Outlook Redemption - HELP

The error message is:
"Library Not Registered"

I thought the anti-virus was an issue with only Outlook 2007?

"Dmitry Streblechenko" wrote:

And what is the error? Have you rceently installed any anti virus apps?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Rob" wrote in message
...
It is erroring at the following line:

Set oItem = myApp.CreateItem(olMailItem)

In my declarations section I have the following:

Dim myApp As New Outlook.Application
Dim myItem As Outlook.MailItem

If this is an Outlook error, what could be causing it? The machine has
been
reverted back to Outlook 2002. It has the exact same setup in terms
Access,
Outlook, and the code to run the process, yet it doesn't work here.

"Dmitry Streblechenko" wrote:

Which line causes the error?
If it is
Set rMail = New Redemption.SafeMailItem
try to replace it with
Set rMail = CreateObject("Redemption.SafeMailItem")

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Rob" wrote in message
...
I have an application that I coded to programmatically send emails using
Redemption, on a machine running Outlook 2002. It has been replaced,
and
the
machine is using Outlook 2003. I installed Redemption as per
instructions,
even used regsrvr on it, yet keep getting a "Library Not Registered"
error.
Here's the snippet of code before the error:

Dim rMail As Object
Dim rContact As Object
Dim oItem As Object
Dim NS As Object
Dim Sync As Object
Dim Utils As Object
Dim oSent As Object
Dim oSentFolder As Object
Dim Prop As Outlook.UserProperty
'CREATE MAIL ITEM ITEM
Set rMail = New Redemption.SafeMailItem
Set oItem = myApp.CreateItem(olMailItem)

It errors at the Set oItem = myApp.CreateItem(olMailItem) line.
Reference
to MSOutlook 11 Object Library is checked, as well as to teh Redemption
Object Library.

Does anyone have any insight, as this has become a major issue.

Thank you







 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using Outlook Redemption VBA code [email protected] Outlook and VBA 8 June 7th 07 04:00 AM
How to set CC @ Outlook Redemption Luk Outlook and VBA 8 November 9th 06 06:20 PM
How to set CC @ Outlook Redemption Luk Outlook - General Queries 2 November 8th 06 02:17 PM
Outlook freezes on Redemption SaveAs [email protected] Add-ins for Outlook 5 April 27th 06 11:46 PM
Outlook Redemption fgibbcollins Outlook and VBA 2 March 16th 06 06:03 PM


All times are GMT +1. The time now is 06:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.