Ask a Question related to ASP.NET Building Controls, Design and Development.
-
JV #1
Web Application folder path
Anyone know how to get a path to your web application's folder at design
time? I've tried using MapPathSecure in the OnInit call, but no luck.
JV Guest
-
Linking to Network Folder path with javascript
Hi, I need some help please and hopefully you have the answer. I have a javascript code that involves two drop down menus, when one is chosen... -
Determining FTP root folder from path?
Hi all, I have been working on a GUI web photo album for *nix. I had thought it might be workable for users to open a browser based FTP session... -
How to get the application path
Hello, I have an ASP.NET web application on this place: C:\webapplications\portal\ Inside my C# class I tried to get the application path like... -
Application folder not seeing namespace of the main application
hi I have a website (localhost namespace : "whatever") that has a secure application folder ( called secure with a namespace : "Secure") I... -
Folder creation up to an invalid path
Hi This might be a strange problem...One of my folder has been recreated several times in to depth of its path and now i am unable to delete the... -
Antonio Bakula #2
Re: Web Application folder path
On Wed, 30 Mar 2005 13:03:25 -0500, JV wrote:
there is no good and clean (i mean documented) way to do this, it depends> Anyone know how to get a path to your web application's folder at design
> time? I've tried using MapPathSecure in the OnInit call, but no luck.
on IDE (developing environment) that you use. I tried to solve this problem
but I am *NOT* happy with the result, you can try my solution because I am
not sure that will work with new versions of VS.NET IDE, I tested it with
VS.NET 2003.
This assembly also suports Borland IDE's and here I AM SURE that this will
work forever because Borland defined nice and clean interfaces for IDE
intergration (not just design time)
Here is how this works, in this PDesignTimeTools.dll there are 2 dll's
included as resource, one for BDS and one for VS.NET, only purpose of this
included dll's is to get web app path for selected IDE in design time.
PDesignTimeTools first detects IDE used and then it extracts proper
assembly from resource and call code to get web app path for current IDE.
I used resource dll's because I did not wont to include dependancies on
both BDS and VS.NET, and any other IDE specific dll that I will include in
this project.
here it is :
[url]http://www.antoniob.com/projects/PDesignTimeTools.aspx[/url]
free and source included, beware Delphi.NET !
--
[url]http://www.antoniob.com/[/url]
remove antispam XremoveX from e-mail !
Antonio Bakula Guest



Reply With Quote

