PC Review


Reply
Thread Tools Rate Thread

Designtime path

 
 
jsh02_nova
Guest
Posts: n/a
 
      2nd Aug 2005
Does anybody know how to get the property of the path for the assembly
currently being designed in the IDE?
How come System.Threading.Thread.GetDomain().BaseDirectory is null at
Designtime?

thx
-jsh


 
Reply With Quote
 
 
 
 
Chris
Guest
Posts: n/a
 
      2nd Aug 2005
jsh02_nova wrote:
> Does anybody know how to get the property of the path for the assembly
> currently being designed in the IDE?
> How come System.Threading.Thread.GetDomain().BaseDirectory is null at
> Designtime?
>
> thx
> -jsh
>
>


Application.StartupPath will give you the assembly being executed.

Chris
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get projectdirectory at designtime Michael Meier Microsoft C# .NET 0 13th Nov 2008 08:31 AM
DesignTime property? perspolis Microsoft C# .NET 2 25th Jun 2005 10:34 AM
DesignTime Support =?Utf-8?B?ZGFu?= Microsoft Dot NET 0 4th May 2005 08:48 PM
Designtime conditional Sagaert Johan Microsoft C# .NET 2 24th Dec 2004 02:23 PM
DesignTime question Tamir Khason Microsoft C# .NET 5 1st Sep 2004 02:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:23 AM.