Use Two Projects And Share Files?

Sep 11, 2010

I got two projects. GUI/Console and I want to have them in the same project directory with two different projects so:

C:Project1GUI.VBPROJ
C:Project1Console.VBPROJ

The problem is simple: It will overwrite the My Project directory, how to change this?

View 3 Replies


ADVERTISEMENT

Share Forms Between Projects?

Dec 19, 2009

I've recently noticed that a solution can contain multiple projects. I'd like to know if I can create a form that exists in multiple projects, so i can edit one form (or class) instead of six, and have it published in each one of them separately? I hope that makes sense....I seek not answers, but understanding, that I may not solve, but learn.
What good is a fish without the skill to catch it?

View 4 Replies

Share Settings Variables With Projects?

May 27, 2009

I have multiple Projects in one solution and i want to share settings variables with projects how i can?

View 4 Replies

Share The Main Module Between Projects?

Oct 26, 2005

Hi: How can I share the Main Module1 between projects? I have project1 in vb.net and contains Module1 (Sub Main of the application) project2 in C# in project2 I have a form1 class that contains a subroutines that need to reference 6 variables that are declared and instantiated in the project1 in the main Module1. Module1 at present is been compiled as Class Library, plus will be a reference of project2 and because I need this variables referenced from project1 it wont compile of course because they are not declared.

View 2 Replies

Share WinForms And Code Between 2 Projects?

Jun 7, 2010

I have a working Windows Forms app (split into an EXE and a few DLLs). Now I've been asked to look at creating another app (MyAppLite) that has only a very small subset of the functionality. Think of it as similar to MS Word Viewer vs. MS Word.

Everything that I need to build MyAppLite is contained in the main solution - essentially I need to use a couple of the WinForms and whatever bits in the DLLs they call into.

What would be the best way to do this?

I was thinking of creating another Project in my solution for MyAppLite, then adding the necessary source files as links (using Add Existing Item > Add As Link in Solution Explorer).

I definitely wouldn't want to maintain 2 copies of the source code. FYI it's a .NET 2.0 VB app, using VS2008.

View 2 Replies

Share/access Xsd In Different Projects In A Solution?

Nov 16, 2010

Am I able to share/access xsd in different projects in a solution? If so, how do I do it. If not, what are the other options.

What I intend to do is have the xsd in the DAL project and have the business logic checkings/validations in BLL project.

View 3 Replies

VS 2010 - Saving Projects To Network Share

Jul 13, 2011

I've had this problem with both VS 2010 and Visual Web Developer 2010. I want to save my projects on a network share (which I have as a mapped drive), because our network drives are backed up daily. For some reason though, VS only shows local drives when I try to save a project - all my network drives do not show up.

View 1 Replies

VS 2010 How To Share Files

Dec 22, 2011

A thing which i've discovered with vb2010 is that you can't share files like a form or something that way it comes at least. If you attach a form or usercontrol from a different folder it will automatically copy it into the current project folder and then save to that. How can i stop vb from doing this? It won't always be but in this case i need to share a few forms among multiple projects and it would be a royal pain to have to copy them each time manually.

View 4 Replies

Read Files From Windows Network Share

Sep 25, 2009

I have a program where I need to be able to access files from an administrative share on a remote machine where the username is administrator and there is no password. I want to be able to access these files without the user getting prompted to input the username and password.

I have searched around and found some references to WMI - but as far as I can tell, WMI is mainly for managing the remote machine and not necessarily for file access (?). Also, some information gathered about WMI leads me to believe that it may be disabled on some machines or not installed on others (?). Since this program is meant to go out to a diverse customer base, I need to make sure that I cover as many angles as possible to ensure this program will run on as many machines as possible.

View 9 Replies

Share, Send And Receive Files Over Network?

Feb 3, 2008

I'm working on a network chat for my office I want to add a way for users to share files or be able to send and receive file.

View 7 Replies

Add New Ocx Files So They Can Be Used In Projects?

Sep 13, 2010

How do you add new ocx files so they can be used in your projects? I download some free ocx files and cant use them right now cause I can't get them in the side bar thing.

View 2 Replies

.net - User Generated Hyperlinks To Files Hosted On A Network Share?

Oct 26, 2009

My ultimate goal is to allow users to select a file from a dialog as if they are uploading a file. Instead of file being saved to the server, a hyperlink will be generated from the file's path.This hyperlink will then be used on our intranet page in order to open the file located on our network share.Is there any practical way to accomplish this?I have tried both an HTML file type insert and .Net's FileUpload Control but neither will work since for security reasons the full path of the file is never accessible.

View 2 Replies

Sharing Files Between Projects Within Solution

Jul 22, 2009

I am working on a solution that contains 2 projects one to be built as an exe and the other as a service. Both projects will share a class for certian functions and properties. I would like to have both projects use the same physical file so when I make a change in one of the projects it is also made in the other.

This was simple to do in VB6 but as of yet I see no way to do it under dot net. It seems to want to make a copy of the file and place it into the project folder for the second project resulting in the need to either copy after every change or manually make the changes twice.

Anyone know if there is a way to have common files area for a solution so that any project within the solution has access to the actual file rather than a copy of it?

View 2 Replies

VS2010 Projects With Common Files?

Jun 6, 2012

I have a vb.net project that has 2 exe's that get built as well as the installer. The two exe's share a bunch of common files. I do not want to have two copies of the common files or mess around with having build events that copy things around (if possible).My method was to create two projects in the same folder and have them point to the files they needed.This appeared to work until I tried to compile both apps at which point I get an error in a file called Application.Designer.vb. It seems that project files create this file in their folder and when I have two solutions in the same folder they conflict.

View 8 Replies

Include Code Or Files From Other Projects WITHOUT Referencing Them

Nov 16, 2011

Is there a way that I can include code or other files from other projects WITHOUT referencing them? I am trying to combine our projects into 1 EXE without DLLs. I do not want to use a self extracting EXE either. Let me know if there is a way to do it similar to the C++ #Include.

View 5 Replies

Multiple .NET Version Projects Pointing To Same Files?

Jun 29, 2009

I have some assemblies that were developed using .NET 1.1. These are business layer assemblies that are required for other .NET 1.1 applications to work. I have been developing our new applications using .NET 2.0/3.5. I would just convert the business layer projects over to 2.0 and be done with it, but those old 1.1 applications just won't die.As such, has anyone ever had two different .vbproj files (one a .NET 1.1 project file and the other a .NET 2.0/3.5 project file) that pointed to the same set of files so they could be compiled appropriately?

View 2 Replies

Publishing VB Projects - Files Required To Run The Executable

Feb 19, 2009

When a project is built in VB, the executable file is created in the \bin\Release folder. Apart from the executable there are other files that get created:

MyProject.application
MyProject.exe.manifest
MyProject.pdb
MyProject.xml

Are these files required to run the executable? Is having just the MyProject.exe file in the setup enough? And what are these files for?

View 2 Replies

VB 2008 Won't Load Previous Projects - Files Have Been Moved?

Sep 28, 2010

I created a visual basic express edition project and when completed pressed Save All. Then proceded to work on another version and saved that one as well, Now the project cannot find the original version which is the only working one. I have all of the projects backec up but they will not load. Where do I have to move the files so Visual basic can find them?

View 1 Replies

Removing Projects From VB2008 Start Page Recent Projects List?

Mar 15, 2009

Removing projects from VB2008 start page recent projects list. The above list is getting clogged. How do I remove items from this list?

View 3 Replies

VS 2010 Code Commonality - All Files Share Common Code ?

Jan 22, 2012

Wondering if it is possible. It works on the idea that all files share common code. The program would ideally analyse the source file and compare it to the reference files. It would then find common parts of the code and write it to a rebuild file. At the end the rebuild file and the reference files would then be able to rebuild the source file without it being present.

For Example.

source file code = xxyyzyzyxw
ref file 1 = xyxxzyzxwyy
ref file 2 = zxxwyzzywxx

The program would then analyse these files and make a rebuild file like the following

source(0,1) = ref1(2,3)
source(2,3) = ref1(10,11)
source(4,7) = ref2(5,6) + ref2(5,6)
source(8,9) = ref2(2,3)

Thus you would be able to build the source file using these instructions and the reference files.

View 1 Replies

VS 2008 - Share Files From A Computer To A Computer That Are Connected In?

Dec 21, 2009

How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..

View 1 Replies

Prevent Studio From "publishing" XML Documentation Files In Web Projects?

Feb 16, 2012

Note: This question is similar to How to prevent the copy of XML documentation files in a release mode build?, but it's not the same and the answers there don't apply. Read on to find out why. (Please ask in the comments or in chat if you disagree, I'll be glad to elabroate).

I have a library project (myLibrary) and an ASP.NET web application project referencing this library (both are in the same solution). "Generate XML documentation file" is checked for the library project, because I want to have those nice IntelliSense features while developing.

When I publish the web application (Context Menu on the project/Publish...), it copies only the files required for running the application (no source code, etc.) to some publish directory. That's good. Unfortunately, it also copies the XML documentation file of the library. Since I consider our library's documentation to be a trade secret, I wouldn't want it to end up on a customer's server. Thus, we have to remember to manually remove this file from the publish directory before deploying it.

Is there a way to prevent Visual Studio from copying this file when publishing the ASP.NET project, but still retain the benefit of XML documentation IntelliSense when developing?

View 4 Replies

How To Only Share In Facebook

Feb 27, 2012

simple way to share, only share, in facebook? I see alot of libraries but they come with alot of code and without documentation.

View 2 Replies

How To Share Application In LAN

Dec 14, 2009

How to start vb.net application from a shared file in LAN I mean that the application is installed in my PC but I want other users to get access to this application using my shared file.

View 8 Replies

Share Folders Over Net?

Jun 6, 2011

i am working on a app. and i need to know how can i share floders that the app will use to save flies over the net. i was thinking about crearting a data base that would save all the files on to it , and then share the data base with fellow co workers, but i do not know how to add a excel file or word doc. in the database. i am pretty new to all of this so any help would be great. the app is writen in visual studio 2010.

basical it will let the user access the file he needs to compelte his work off shore. the files are created and saved as he needs them. once he is finished, i need the app to send the floder to some type of server ( dont have a server yet) so that the office and other co workers can see the files when they run the app.

View 1 Replies

UNC Share Names / How To Get Them

Jun 11, 2009

I've looked in System.IO. but I can't find anywhere to get the unc share name of a path/drive.Anyone know how to get the unc share name of a folder, i.e. 'O:MyFolder'.

View 4 Replies

Way To Share A Folder

Feb 17, 2009

I have to do an application that share a folder and his sub folder.

This application have to run on Vista computer.

What's the best way for share a folder ?

View 1 Replies

2 Form Share Same Progress Bar?

Jun 21, 2010

can I have 2 form share the same progress bar? If so how does this work?

View 3 Replies

App.Config On A Network Share?

Apr 26, 2011

Visual Studio 2008 / Windows 7 / .net framework 3.5 / Windows forms application

My applicaiton has the following App.Config:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>

[Code]....

View 1 Replies

Asp.net - Create And Share Bus Booking API?

Apr 16, 2011

I have created a Bus Booking Website [URL]. I want to share the bus booking form with other sites so that they use our services.How can do I this using vb.net?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved