473,398 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Question on locating Assemblies


I have been working on a control for a while now. One of the properties
belonging to this
control is rather complicated , so i have written a custom property editor
for it. Whenever i click
this property in Visual Studio my custom editor pops up and everything is
fine.

However , one of the tasks of my property editor is to write .resx files -
at design time. The target
path of the files will be this application startup path. Therefore i need a
simple way to find this path
through code from inside my property editor...at design time, remember. I
certainly dont want to
add this path in the property window by hand everytime i use this control.

Anybody know a smart solution ?

Thanks for your attention !

Frode !



Nov 21 '05 #1
1 847
Try:

Application.StartupPath

"Friskusen" wrote:

I have been working on a control for a while now. One of the properties
belonging to this
control is rather complicated , so i have written a custom property editor
for it. Whenever i click
this property in Visual Studio my custom editor pops up and everything is
fine.

However , one of the tasks of my property editor is to write .resx files -
at design time. The target
path of the files will be this application startup path. Therefore i need a
simple way to find this path
through code from inside my property editor...at design time, remember. I
certainly dont want to
add this path in the property window by hand everytime i use this control.

Anybody know a smart solution ?

Thanks for your attention !

Frode !



Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Wayne | last post by:
During building of one of my applications for deployment it occurred to me that I was using a common assembly, that most of our future applications will be using. So I started to wonder if the...
8
by: Shaun C Farrugia | last post by:
I have a multi team solution being built where teams are segmented off into seperate projects. One project is an over all framework containing a Broker class responsible for instantiating...
8
by: Donal McWeeney | last post by:
I have a big Visual Studio class library project from which I create an assembly. This assembly for example might contain 100 public entry points (for example custom server controls) and a load of...
12
by: Mike | last post by:
I found this question before I asked mine: ----<previous question>---- We are clearly going about this the wrong way so before we get too far I would like some advice. We have all common...
6
by: Dugan Zhang | last post by:
Previously I was building websites using asp. I have a folder name "projects", under the projects folder, I have number of subfolders, each subfolder represent a website I'm building. Inside each...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
12
by: Antony | last post by:
Hello - I am wanting to print out a "Yes" next to classes that implement "Interface01", otherwise a "No". Here is my code. It crashes with a null reference exception and I am not sure why. Ideas?...
1
by: Jason | last post by:
Greetings , I'm studying for a MS exam and I'm a little confused about assemblies. Not what they are but just a specific comment that I'm reading and it doesn't make sense to me. It reads ...
0
by: knightrider | last post by:
I am trying to iterate through all of the assemblies in the share that is our production source code repository and gather information about the assemblies (number of classes and methods contained...
4
by: Ty | last post by:
Hi all Short version of my problem: i have a Datagrid (Flexgrid from ComponentOne) with a Datatable as source. I need to search a row in the datatable, using a primary key column in the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.