Ask a Question related to ASP.NET General, Design and Development.
-
Kevin Spencer #1
Re: Virtual Path from a class Object
An object resides in memory. As such, there is no path, virtual or otherwise
to it.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Big things are made up of
lots of little things.
"Sunil Menon" <sunil@itb-india.com> wrote in message
news:de18ec83.0307202221.2128b4af@posting.google.c om...> Dear All,
> I have a WebService that calls some objects to do certain
> processing. Can I get the Virtual path in these objects? These objects
> are not derived from System.Web.UI.WebControls. They are simple class
> object.
> How do I get the Virtual path in those objects?
>
> Please help...
>
> TALIA
> Many Regards
> Sunil
Kevin Spencer Guest
-
Jrun virtual-mapping to UNC path
Is it possible to set the <virtual-mapping><system-path> in the jrun-web.xml file to point to a UNC path? I want all of the .cfm files to reside... -
Virtual Path
Hi, I have an application with a connection.asp document linking to the MS Access database Previously I have had the database ABOVE the ROOT and... -
virtual path problem
hi, I have a script in a folder which simply creates a file in another dump folder /myscript/script.php /myscript/dumpfolder/ but then i... -
Can't find class java.lang.NoClassDefFoundError. (Wrong class path?)
While creating JVM, I am getting the following error: Can't find class java.lang.NoClassDefFoundError. (Wrong class path?) I gave all the... -
Convert Physical path to Virtual path?
We have a field that gets filled into a database that our ASP website pulls from. What we would like to be able to do is to take that path and... -
Ram #2
Re: Virtual Path from a class Object
If your objects are running in the application domain of your web
service, this will give you the path.
System.AppDomain.CurrentDomain.BaseDirectory()
Please let me know whether this solved your problem.
"Kevin Spencer" <kevin@takempis.com> wrote in message news:<uP6oGO4TDHA.1712@TK2MSFTNGP11.phx.gbl>...> An object resides in memory. As such, there is no path, virtual or otherwise
> to it.
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Big things are made up of
> lots of little things.
>
> "Sunil Menon" <sunil@itb-india.com> wrote in message
> news:de18ec83.0307202221.2128b4af@posting.google.c om...> > Dear All,
> > I have a WebService that calls some objects to do certain
> > processing. Can I get the Virtual path in these objects? These objects
> > are not derived from System.Web.UI.WebControls. They are simple class
> > object.
> > How do I get the Virtual path in those objects?
> >
> > Please help...
> >
> > TALIA
> > Many Regards
> > SunilRam Guest



Reply With Quote

