Re: application path

From: mdb (m_b_r_a_y_at_c_t_i_u_s_a__d0t__com)
Date: 09/08/04


Date: Wed, 08 Sep 2004 12:36:56 -0700


"=?Utf-8?B?bXN1aw==?=" <msuk@discussions.microsoft.com> wrote in
news:1C82776A-1F5F-4A7B-B2B0-EDE51BA2FF1B@microsoft.com:
> My C# dll is called from a ASP.NET page thus when I use any of the
> methods mentioned I get the application path of the calling ASP.NET
> application and not the c# dll which is what I want. Does anyone know
> how I can acheive this?

Perhaps you should have mentioned that you were running in an ASP.net
environment in the first place. Try looking at the properties of the
Request object in ASP.net. I think Request.PhysicalApplicationPath might
work for you.

-mdb



Relevant Pages

  • Re: Losing environment var from function to function
    ... I have a problem where on only some machines, when calling a function ... I cannot explain why the environment is changing, ... This has happened on both Win2K and WinXP machines. ... I have Windows Installer calling a type 1 custom action (dll ...
    (microsoft.public.vc.mfc)
  • Re: The Lib debate
    ... >>Calling Functions in a DLL is a comletely different thing. ... For shared object libraries you have to call ... I have been told that zip comes with a Lib only. ...
    (alt.lang.asm)
  • Losing environment var from function to function
    ... I have a problem where on only some machines, when calling a function ... I cannot explain why the environment is changing, ... This has happened on both Win2K and WinXP machines. ... I have Windows Installer calling a type 1 custom action (dll ...
    (microsoft.public.vc.mfc)
  • Re: using the CWegPage.dll
    ... It is using the WINAPI (_stdcall) calling ... > The source code for the DLL is on that page and is in this link to the zip ... >> change the calling convention to that which VB can handle. ... >>> The goal is to put an internet explorer web browswer on my form. ...
    (microsoft.public.vc.language)
  • Re: using the CWegPage.dll
    ... It is using the WINAPI (_stdcall) calling ... > The source code for the DLL is on that page and is in this link to the zip ... >> change the calling convention to that which VB can handle. ... >>> The goal is to put an internet explorer web browswer on my form. ...
    (microsoft.public.vb.winapi)