Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Drive Independent


Message #1 by "Kumar, Pankaj" <Kumarpa@t...> on Sat, 29 Dec 2001 07:04:43 -0500
Hi,
 I want my location of folder to be drive independent in declaration of
 ActiveX dll.
 It seems that in Declaration part App.Path doesn't work it always
 gives error string constant is requried though I declared so
  
 Sample Source code of activeX dll that calls subroutine of another dll:

 Private declare sub add lib "C:\Dllfolder\Adding.dll"        |Cann't we use
	
| App.Path here.  (byref x as double,byref y as double,byref Total as
double)   |
____________________________________________________________  |
Public sub add
.
. App.Path OK here
.
END sub 

 Is there any Other way to make Folder to be  independent of
 Drive(C:,D: Etc) in Declaration Part  

 Thanks.


**********************************************************************
This message and any attachments are intended for the 
individual or entity named above. If you are not the intended
recipient, please do not read, copy, use or disclose this 
communication to others; also please notify the sender by 
replying to this message, and then delete it from your system. 

The Timken Company
**********************************************************************

  Return to Index