[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Lotus Notes Automation with VBA: activex component can't create object

Posted on 2005-04-07
5
Medium Priority
?
2,903 Views
Last Modified: 2009-07-29
Hello Experts,

I have a project in Access XP which uses the lotus notes automation classes (notes32.tlb) to perform various calendar tasks.  I have everything working perfectly on seven machines (all of them xp sp2, 6 with office 2k3 and LN 6.5 and one with office xp and LN 6.0.3) but as luck would have it, my boss' machine keeps giving me runtime error 429 "Activex component can't create object".  The machine is set up identical to my dev machine (which is the one with office xp and LN 6.0.3) so it is not the software version, I have already tried replacing notes32.tlb with a known working copy from my dev machine and I am all out of ideas.  The functions I am using are:

http://www.experts-exchange.com/Applications/Email/Lotus_Notes_Domino/Q_21357526.html

http://www.experts-exchange.com/Applications/Email/Lotus_Notes_Domino/Q_21361987.html

The error comes on this line:

Set ns = CreateObject("Lotus.NotesSession")

Thank you in advance.

-Jkorz
0
Comment
Question by:jkorz
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
p_partha earned 2000 total points
ID: 13728502
Just a thought

could you try this in your boss machine:

regsvr32 c:\notes\nlsxbe.dll (the path of the notes).


- Partha
0
 
LVL 8

Author Comment

by:jkorz
ID: 13728533
what is nlsxbe.dll?

as far as I know, automation only uses notes32.tlb...

i'll give it a try though
0
 
LVL 14

Expert Comment

by:p_partha
ID: 13728544
0
 
LVL 8

Author Comment

by:jkorz
ID: 13728584
that did it, thanks a bunch
0
 
LVL 8

Author Comment

by:jkorz
ID: 13728605
haha, EE has made me so lazy... It was the first result when I googled it
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question