473,396 Members | 2,024 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,396 software developers and data experts.

Project's File locations (outside project folder) ?

GW
Is it possible to specify the location of some common files outside the
project's folder?

Have some common forms for which I do not wish to create and external
assembly (they are all used by several projects).

Tried to play with the XYZ.vbproj file without any success.

<File
RelPath = "Form10.vb"
SubType = "Form"
BuildAction = "Compile"
/>

Possible... similar as specifying file locations as in VB6?

Thks, GW
Jul 21 '05 #1
6 1712
GW
Yes I understand, but I do not want to place them in a separate dll.

GW

"References" <an*******@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
Since windows forms are now Class files, put them into a .dll file and set a reference to those files like any other .dll and import the resources you
need.
When you open the add reference dialog box (in VS.NET) you can browse to any place in the file structure and can reference any other .NET assembly.
HTH,

Cos Callis, MCAD

Jul 21 '05 #2
GW
Yes I understand, but I do not want to place them in a separate dll.

GW

"References" <an*******@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
Since windows forms are now Class files, put them into a .dll file and set a reference to those files like any other .dll and import the resources you
need.
When you open the add reference dialog box (in VS.NET) you can browse to any place in the file structure and can reference any other .NET assembly.
HTH,

Cos Callis, MCAD

Jul 21 '05 #3
GW
If these are truley "common" items, then I'm not sure "why" you would not want to put them into a seperate assembly that can be shared between applicaions. Given that, I don't know of a way to use a file not under the directory structure of the project inside a project, other than to go to that other directory and copy the "common" item and paste it into your present project

Cos Callis, MCAD
Jul 21 '05 #4
GW
If these are truley "common" items, then I'm not sure "why" you would not want to put them into a seperate assembly that can be shared between applicaions. Given that, I don't know of a way to use a file not under the directory structure of the project inside a project, other than to go to that other directory and copy the "common" item and paste it into your present project

Cos Callis, MCAD
Jul 21 '05 #5
GW
When you develop canned products security (not the kind of security MS talks
about) comes to mind. We do copy the common files now. Just thought there
may be a way to edit the project's config xml file.

If there isn't we'll just keep using our trusted DOS batch file to copy.

GW

"Cos Callis" <an*******@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com...
GW,
If these are truley "common" items, then I'm not sure "why" you would not want to put them into a seperate assembly that can be shared between
applicaions. Given that, I don't know of a way to use a file not under the
directory structure of the project inside a project, other than to go to
that other directory and copy the "common" item and paste it into your
present project.
Cos Callis, MCAD

Jul 21 '05 #6
GW
When you develop canned products security (not the kind of security MS talks
about) comes to mind. We do copy the common files now. Just thought there
may be a way to edit the project's config xml file.

If there isn't we'll just keep using our trusted DOS batch file to copy.

GW

"Cos Callis" <an*******@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com...
GW,
If these are truley "common" items, then I'm not sure "why" you would not want to put them into a seperate assembly that can be shared between
applicaions. Given that, I don't know of a way to use a file not under the
directory structure of the project inside a project, other than to go to
that other directory and copy the "common" item and paste it into your
present project.
Cos Callis, MCAD

Jul 21 '05 #7

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

Similar topics

4
by: SS | last post by:
We built an MSI file to deploy a .net app to the workstation. We created an HTML page that has a link to the MSI file. On a very sporadic basis, when the MSI is run we get the following message:...
1
by: Andy | last post by:
This is driving me to insanity!!! I do not have a lot of experience with IIS which probably is not helping but as far as I can tell I am do things as per the MSDN documentation. I have a...
6
by: GW | last post by:
Is it possible to specify the location of some common files outside the project's folder? Have some common forms for which I do not wish to create and external assembly (they are all used by...
3
by: den 2005 | last post by:
Hi everybody, I like to allow user to select and browse to which location to save the pdf file of a crystal report viewed on a web page, how can i do this in ASP.Net? I need to get the path...
0
by: esha | last post by:
I'm learning WEB site stuff with C# and have a question. In order to produce precompiled application (dlls and required for a real hosting files) it's not enough to build the solution. It must be...
5
by: clintonb | last post by:
I'm a newbie when it comes to asp.net. All my prior experience is in making Windows applications in C++. In the past when I made windows applications, the project or target file would keep...
3
by: Mark Poppers | last post by:
I found a *.sln and an *.suo file which belong to my current project because the have the same name "TestDatabase33....." as my project. What is the purpose of these files ? If I delete them...
4
by: Alan Mailer | last post by:
Again, I'm new to VB.net and there is something I need help with: Like (I assume) many of us, over time I want to be able to create some VB.net classes that I might want to use in more than one...
1
by: =?Utf-8?B?cnNvbWFzdW5kYXI=?= | last post by:
Hi, I got the following error while trying to run the project in ASP.Net 2003 to one of my application in my machine. I think some where im loosing the IIS configurations. Error Detail:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.