473,325 Members | 2,792 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,325 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 1707
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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.