Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Location of dll (API-function call)

Hi,

can anyone tell me where the standard directory is where Excel finds
dll-files that can be called in an API-function call?

In order to make PDF-files, I read this text:

"You will need to place the Ghostscript DLL where it can be found
by Visual Basic."

Is it also possible to put the dll-file in another folder and tell excel
where it is located?

Thanks
Jos Vens



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Location of dll (API-function call)


Hello Jos

Have you tried looking in the SYSTEM folder on your hard drive? Thi
were about 95% of all DLLs are kept

Sincerely
Leith Ros

--
Leith Ros
-----------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...fo&userid=1846
View this thread: http://www.excelforum.com/showthread.php?threadid=50622

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Location of dll (API-function call)

Thanks Leith,

it works!

Can you tell me if I can put it in another location so Excel still can find
it (a folder where I want to put it eg. D:\MyProgramFolder\).

Jos Vens


"Leith Ross"
schreef in bericht
...

Hello Jos,

Have you tried looking in the SYSTEM folder on your hard drive? This
were about 95% of all DLLs are kept.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile:
http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=506223



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Location of dll (API-function call)


Hi Jos,

You can. Move the DLL to the new directory (folder). You'll need to add
a reference in VBA to the file. Open the VBA editor, go to
ToolsReferences... and then click the BROWSE button. Open your folder,
select the DLL and click OPEN and then click OK.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=506223

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Location of dll (API-function call)

If moving a dll first un-register then re-register

Windows/Start Run
Regsvr32 /s oldDLLfullname /u
Regsvr32 /s newDLLfullname

But suggest DON'T move any dll's containing API functions, or any other
system dll's

Regards,
Peter T

"Leith Ross" wrote
in message ...

Hi Jos,

You can. Move the DLL to the new directory (folder). You'll need to add
a reference in VBA to the file. Open the VBA editor, go to
ToolsReferences... and then click the BROWSE button. Open your folder,
select the DLL and click OPEN and then click OK.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile:

http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=506223





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Location of dll (API-function call)

Oops - omit the "/s" switch

Regards,
Peter T


"Peter T" <peter_t@discussions wrote in message
...
If moving a dll first un-register then re-register

Windows/Start Run
Regsvr32 /s oldDLLfullname /u
Regsvr32 /s newDLLfullname

But suggest DON'T move any dll's containing API functions, or any other
system dll's

Regards,
Peter T

"Leith Ross"

wrote
in message ...

Hi Jos,

You can. Move the DLL to the new directory (folder). You'll need to add
a reference in VBA to the file. Open the VBA editor, go to
ToolsReferences... and then click the BROWSE button. Open your folder,
select the DLL and click OPEN and then click OK.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile:

http://www.excelforum.com/member.php...o&userid=18465
View this thread:

http://www.excelforum.com/showthread...hreadid=506223





  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Location of dll (API-function call)

Hi everyone,

thank you very much for your support!

Jos

"Jos Vens" schreef in bericht
...
Hi,

can anyone tell me where the standard directory is where Excel finds
dll-files that can be called in an API-function call?

In order to make PDF-files, I read this text:

"You will need to place the Ghostscript DLL where it can be found
by Visual Basic."

Is it also possible to put the dll-file in another folder and tell excel
where it is located?

Thanks
Jos Vens





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
security officers location status time call in forms log in forms for a security company Setting up and Configuration of Excel 1 November 25th 08 12:33 AM
How to call a macro at another location Tom Excel Discussion (Misc queries) 1 December 23rd 07 01:14 AM
How to call up a macro in a different location? Tom Excel Discussion (Misc queries) 1 December 18th 07 12:29 AM
Excel: Use pic location string to call up picuture in cell? vloh28 Excel Discussion (Misc queries) 1 October 30th 07 12:42 AM
call a function from VBA Adam Excel Programming 2 March 15th 05 10:17 AM


All times are GMT +1. The time now is 06:54 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"