15,904,817 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by nigam.anant (Top 7 by date)
nigam.anant
20-Mar-12 8:59am
View
Thanks for feed back.
I create a Class Library as a com Object.I register the DLL in the GAC using Gacutil.exe and also register using Regasm.exe.I also create a com enabled DLL.when i build the Dll then there is a tlb file also generated which reference i gave in the excel.
I am using 64 bit Operating System and 64 bit MS Office Excel.
I Want to debug the DLL is it posible?
nigam.anant
20-Mar-12 8:57am
View
I register the DLL in the GAC using Gacutil.exe and also register using Regasm.exe.I also create a com enabled DLL.when i build the Dll then there is a tlb file also generated which reference i gave in the excel.
I am using 64 bit Operating System and 64 bit MS Office Excel.
nigam.anant
12-Mar-12 10:06am
View
Deleted
thanks for your feed back.I read the Link "http://support.microsoft.com/kb/828550" and apply the Changes as per suggested in the Link.then when i Executed the Code when the function of DLL calls it give error 429 "Active X component did not Create Object"...
here i depicted the VBA code which i use.
---------------------------------------------------------------------
Sub CallMult3()
On Error GoTo Err
Dim Count As Integer
Count = Cells(35, 16)
Dim abc As New SampleTEST.Cls_SampleTest
'Dim abc As SampleTest.Cls_SampleTest
'Set abc = CreateObject("SampleTest.Cls_SampleTest") '//* if this line is not commented then it give Error 429
FlagForAuto = 1
CounterForInitialEntry3Call = 0
Range("X16:AA35").Select
Selection.ClearContents
Cells(1,1) = abc.Main(ThisWorkbook.FullName, Cells(440, 5), Cells(12, 11)) '//*when this line Executed it gives error 429
FlagForAuto = 0
Exit Sub
Err:
MsgBox Err
Cells(10, 1) = 4
Cells(11, 15) = 99
End Sub
-------------------------------------------------------------------
I also include the libraries..
1. Sample.tlb
2. Microsoft Active X 6.0 Object Library
3. 'Microsoft Office 14.0 Access Database Engine Object'
I run this code in MS Office 2010 64 bit and 64 bit Operating System.
So, please kindly help us address this issue. Awaiting help eagerly.
Thank you,
regards,
Vaibhav.
nigam.anant
7-Mar-12 5:27am
View
Deleted
Hi Williams,
Thank you very much for the feed back. We tried including the ACEDAO.dll from the mentioned path but that also did not seem to work and it still shows up the same error code "429". Just to add that we are using simply Microsoft Excel making an attempt to call a dll function which in turn is compiled using Visual Studio 2008 with Debug Configuration set as "Any CPU". We are not trying to access any Database.
Simply we are trying to call a dll function within an Excel Macro.This works absolutely fine on all machines with 64 bit OS and 32 bit Office Excel. The error/problem comes up only on machines with 64 bit Office.
So, please kindly help us address this issue. Awaiting help eagerly.
Thank You,
Regards,
Vaibhav Pandya
nigam.anant
6-Mar-12 7:50am
View
Deleted
Hi,
Thank You very much for the feed back. When we try to include the ACEDAO.DLL from the path that you mentioned in the Tools--> References in the Macro, the dll is not populated in the List of dlls. So we browse and then eventually add the same dll but that also did not solve any purpose and still the error code remains the same which says "429".
Let me summarize everything related to the problem. We are trying to achieve call a function from a dll compiled using Visual Studio 2005 with Build Configuration set as "Any CPU" in an Excel Macro. The dlls/References that we are including in the macro are as :
Microsoft Active X 2.1 Object Library
Microsoft DAO 3.6 Object Library
Tlb File of the dll that we compile.
Everything works fine on machines where there is 64 bit Operating System and 32 bit Office(Excel). The problem only occurs when we are trying to call the Macro which in turn calls the dll function on machines with 64 bit OS and 64 bit Office(Excel).
Please, kindly suggest us a resolution on this problem to the earliest.
Thank You,
Regards,
Vaibhav Pandya
nigam.anant
5-Mar-12 4:26am
View
Deleted
hi friend!
I download the ACEDAO.dll and then include this dll in the Excel Macro's reference.then call the sample.dll's function in the Macro but it give "Error code 429".
after adding the reference the ACEDAO.dll it did not show any library to add as reference.and the Microsoft DAO3.6 library takes the reference of the DAO36.dll.
I researched on this error 429 it shows Activex Component did not Create a Object.then i also include the Microsoft activeX 2.1 object Library.but it gives same error.now what can i do to remove this error code.
nigam.anant
4-Mar-12 3:00am
View
Then where I get the 64 bit "Microsoft DAO 3.6 Object Library".Iresearched alot for 64 bit DLL.or any alternative of it.
Show More