LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Cannot Create ActiveX Component when trying to call .Net DLL from Excel VBA

Hi

I have an Excel spreadsheet that calls a .Net DLL through VBA to run
certain functions.

This is the code that creates the object:

Public objFunction As Object
If objFunction Is Nothing Then
Set objFunction = CreateObject("MyDLL.Function")

For some users (a small, but important percentage of users), when they
try to run these functions they receive the error "Cannot Create
ActiveX Component".

I have tried to replicate their setup (same Windows XP and Office 2003
version and Service Packs) on my PC, but i cant seem to replicate this
error and it works fine for me and most users.

Anyone have any suggestions on what it could be? Permission Issues?
Other Conflicts?

Thanks
Anthony

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Activex component can't create object Naveen New Users to Excel 1 September 4th 07 02:57 PM
intermittent error - ActiveX component can't create object Naveen Excel Programming 1 December 30th 04 05:11 PM
error 429: ActiveX component can't create object GerryM Excel Programming 0 October 13th 04 05:53 PM
ActiveX Component Can't create object - Any Explainations? gopalan Excel Programming 0 January 5th 04 03:25 PM
activex component can't create object with SAP 6.20 Mark Bigelow Excel Programming 0 July 22nd 03 06:24 PM


All times are GMT +1. The time now is 09:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"