At the top of my code I am referencing a DLL like this...
Declare Function FilePageCount Lib "F:\work-related\websites\MyWebsite\bin\AmPageInfo.dll" Alias "AmFilePageCount" (ByVal lpBuffer As String) As Integer
This is on my dev machine. When I move it to production I'm going to have a different DLL path. How can I DYNAMICALLY create the path to the DLL, such as by referencing an appsetting in the web.config?
Thanks!
Open in new window