Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default XLA calls dll


I have an application coded in an XLA (hide the code from the user) an
have added an extra function (a class object) which I have coded in
vb dll.
This works fine in my environment where I can set the reference to th
dll in the xla but in a production environment where the user can't se
the code, the tools/references menu is not available and the dll can'
be referenced.
Is there a solution other than to lump the dll code into the xla

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default XLA calls dll

setcurdir en curdrive to location dll and call the dll without a pathname

"rodt" schreef in bericht
...

I have an application coded in an XLA (hide the code from the user) and
have added an extra function (a class object) which I have coded in a
vb dll.
This works fine in my environment where I can set the reference to the
dll in the xla but in a production environment where the user can't see
the code, the tools/references menu is not available and the dll can't
be referenced.
Is there a solution other than to lump the dll code into the xla?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default XLA calls dll


The problem isn't the inability to reach the Tools/References menu on
the users machine, the problem is that your DLL is not registered on the
users machine. Once the DLL is properly registered on the users machine, the
reference in your .xla will work fine.

If this is a very simple scenario and your users are smart, you could
have them register the DLL manually by opening a command prompt window and
typing:

C:\regsvr32.exe MyDLL.dll

where "MYDLL.dll" is the name of your DLL. If you need this to be done
automatically my best suggestion would be to use the Setup Wizard that comes
with VB to create an installation package from your DLL. This will handle
the registration of the DLL automatically.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *


"rodt" wrote in message
...

I have an application coded in an XLA (hide the code from the user) and
have added an extra function (a class object) which I have coded in a
vb dll.
This works fine in my environment where I can set the reference to the
dll in the xla but in a production environment where the user can't see
the code, the tools/references menu is not available and the dll can't
be referenced.
Is there a solution other than to lump the dll code into the xla?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



Reply
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
Simultaneous calls farid2001 Excel Worksheet Functions 4 March 13th 09 08:22 PM
Phone calls Paduan learner Excel Discussion (Misc queries) 1 February 12th 09 11:07 PM
Calls per Day Nate Excel Discussion (Misc queries) 1 September 17th 08 09:59 PM
Macro Calls lchhat Excel Programming 5 November 14th 03 03:56 PM
VBA Calls Rob Bovey Excel Programming 4 August 23rd 03 05:32 AM


All times are GMT +1. The time now is 05:29 AM.

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

About Us

"It's about Microsoft Excel"