VS 2008 Multiple Projects Into One 'application Mix'
Jun 21, 2009
I have written a few different applications in the past few years, all of which are related in that they help users creating maps/levels for a certain game. I would like to 'bundle' all these applications together, into one application (and will later add more functionality to that). In it's most basic form, it would simply be one single Form with buttons, where each button opens the corresponding application.
[Code]...
View 8 Replies
ADVERTISEMENT
Jun 11, 2011
I have a windows forms application with one exe and several dlls(Class libraries) in a single solution. The application uses common data that is used across all the dlls. I would like to load the data when the application is starting up and use the loaded data at various points in the dlls so that I do not have to load the common data again and again. How can I share the data loaded in main EXE across the DLLs?
View 2 Replies
Jul 28, 2010
I have a solution with two projects. The main project connects to the second project via a reference, and the reference path is local to my machine. It looks like it references the .exe file.So when I publish the main project (ClickOnce), i get the following error:
Application validation did not succeed. Unable to continue.In the log file, under Error Details, it says
System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
- Reference in the manifest does not match the identity of the download assembly Project2.exe
- Source: System.Deployment
How can I include this second project? Should I publish it, then reference the published files? What do i reference? The .application file?Is there a way to just include this second project, so when I do publish the main project, the second one just goes along with it?
View 3 Replies
Dec 8, 2010
I've been doing some lite coding over the last couple years so I'm no where near where a lot of you already are. So my code tends to be organized in the standard beginners format... one project per solution with one executable (*.dll or *.exe). So I have a bit of a "best-practices" question for you... Why use multiple projects in one solution?
[Code]...
View 14 Replies
Apr 28, 2010
I'm sick of my EXE files only looking decent in one view in explorer (ie List or Tiles etc) because I can only figure out how to specify one icon file for my projects so it has to be a specific size and if its too big it looks rubbish at smaller sizes in explorer, and vice versa if its too small. So how can I embed more than one icon file and make it automatically select the correct one to display in explorer depending on the view? I believe you can store more than one icon in an ICO file, so do you have to just combine the various size icons into one ICO and then explorer will automatically select the correct sized on? Or is it something you have to do within the VB project?
View 7 Replies
Oct 18, 2010
I am in learning stage of .NET. i am assigned a task of doing a web application project in VB.Net 2008.
But iam purely new to it.i did followed few tutorials to create web application from start, but i dint feel easy to learn it.Could u kindly let me know some usefull links to start learning web application? in VB.NET language.
View 2 Replies
Jun 9, 2010
I need to deploy an application that I have created. I have done this by creating a new setup and deployment project in VS 2008.
My question is- do I need to have these two separate projects or can I somehow combine them into one?
View 3 Replies
Dec 30, 2010
I'm using Visual Studio 2010 and coding in VB.NET.
My problem is that I've collected all the modules I've written and intend to reuse and placed them in a separate folder. When I want to add a module from the above folder to any given project, it takes a copy of the module and places in the project's source code folder, instead of referencing the module in the folder containing all the other modules.
Is it possible to include a module in my project and leave it in the folder with all the other modules, so that when I improve upon a module, it'll affect all the projects that uses/references that module. Instead of me having to manually copy the new module to all the projects that uses/references the module. Right now I have multiple instances of the exact same module that i need to update manually when I improve code or add functionality?
View 3 Replies
Mar 17, 2011
I want to debug a client and a server at once... how to start those to together? I find Right click on the project -> Debug -> Start new instance time consuming...
View 1 Replies
May 31, 2009
I am currently working on an application that is about 90% finished, and we just got an addition that requires us to create a new project in the solution. My question is, I have a bunch of classes created in the main project that deal with the database, and it has a lot of functionality that I could really use in this other project.
View 10 Replies
Jan 4, 2010
I have a large application with multiple vb.net projects. I have one .sdf DB file for all of the projects. My problem is that when I add records to the DB in one project, it is not available when I try to access the data from another project. The project is looking in the local DataDirectory for that project where there is a copy of the DB file. Is there some way that I can create one folder for the DB and have every project access it. When I add the DB to each project, it creates and uses another copy in the bin folder of that project. I have tried setting the connection string in My.Settings to a common DB folder with no luck.
I also find that when I use Server Explorer to make changes to the DB, all of my data is wiped out. I also don't see any records when I choose Show Table Data in Server Explorer. I am assuming that the records are in the copy in the Bin folder.
View 7 Replies
Jun 13, 2009
I've developed a stand-alone RTF project/solution and a stand-alone calendar project/solution. I'm trying to incorporate them into a master project/ solution.If I just add the RTF & Calendar projects to the master solution, I cannot access them from the Main form of the master project. It just doesn't see them. Just adding the forms doesn't work because it doesn't contain all of the necessary information embedded in the project (references, etc.)
View 4 Replies
Jan 24, 2010
Is there a way for me to create multiple projects using different languages under 1 solution in VS 2008? If so, how?
View 3 Replies
Apr 19, 2008
I originally developed a simple application software [VB.Net + MS Access] (Lets call this project A) but now I want to include more functionality in it. I have an encryption/ decryption software utility (Lets call this project B ) and a Text to speech generation utility(Lets call this project C) . That is, I want to add Projects B and C to project A. [Such that clicking on the main form of project A calls a form from project B or C as desired].In solution explorer, I right clicked--Add Existing Project--and added both the above mentioned projects 1 by 1. (Added B and C to the solution explorer with the already present A).As the application software's (Project A's) main form is the main form of my project, I want to have a menu option on the main form (Of Project A) so that a user could click on one of the menu options and the main form of my other projects ( Project B or Project C or Encrypt/Decrypt or Voice Generation) should open by him doing so. To this effect, I tried the following:
1. I dragged the form simply from one of the projects (From B or C ) into the folder of my Application Software (Project A).This generated a lot of Build errors and the Voice Generation utility (Prj. C) would not work like this.
2. Tried to reference a dll, however the authors of Projects B and C did not include a dll in their projects.
3. Now I came to know that to call a form residing in another project folder or even another folder within the same project, you have to give a path for the form. HOW DO WE DO THIS?
As you can understand, I cannot copy the entire code of the 3 projects here....I will try attaching my project here though..Here it is: http: rapidshare.co...MY_Prj.zip.html[Dear Administrator: The downloading option on the webpage does not allow files bigger than I mb, thts why I used an external link]As I said, in the application, Project A is TMS.NET ; Project B is EncryptFile and Project is C.I encountered a problem while adding project C [spoken word], so the project contains only projects B and A. I will try to attach project C seperately.That is, TMS contains proj A+B and Speech contains C.
View 4 Replies
Aug 20, 2009
I thought I'd give VB a go after developing with C# for the past few months. I'm using Visual Studio 2008 and have imported the VB IDE settings. I'm going through the same steps in VB as I've gone through in C# to create my solution for an n-tiered ASP.NET web application, but the results are unexpected. Here's the steps:
1. File > New Project > Other Project Types > Visual Studio Solutions > Blank Solution .... name the solution & choose the location ...
2. At this point, I want to proceed to add projects as follows by right-click on the solution in solution explorer
a. Add > Visual Basic > Web > ASP.NET Web Application ... name / location of the Web Client
b. Add > Visual Basic > Windows > Class Library.. name / location of the Business Layer
c. Add > VB > Windows > Class Library ... name / location of the Data Access Layer
BUT, as soon as I complete step 2a, the solution disappears from solution explorer. "Show all files" is selected. This happens regardless of the project I create first.
View 4 Replies
Nov 5, 2008
All too often, when I am looking for sample .NET code to do something and actually find it, it is written in C#. I am by no means proficient with C#... I can read and follow the logic of C# or modify the code, though I have difficulty following along since everything ends in "}".So what do I do? I create a solution with 2 projects. I put the C# code in one project and VB code in the other project. The VB project references the C# project and I modify the C# as necessary so I can call the useful code from the VB project.The current C# code I'm working with is a rather large project. Specifically what it does is handle input from HIDs (specifically I want to use it for input from a media remote).What I wanted to do was leave the C# code pretty much alone and just call a VB subroutine when any HID input is received (many of the remote buttons can't be distinguished from keyboard keystrokes) and process them in VB. Problem is that the VB code also needs access to pieces of the C# code (circular reference). Ideally what I'd want to do is create a VB module within the C# project (since VB.NET and C#.NET are functionally equivalent -- mostly -- though syntactically different). I've used compilers in the past with similar functionality, though I don't know if VS.NET 2008 has this capability. If I just add a module to the C# project, it expects it to be written in C#.If I can't do that, I see 3 options:
1) Write my application in C#
2) Write a new class in C# that exposes the functionality I need, instantiate it in VB
3) Convert all the C# code to VB
These options are beyond my current skillset (except maybe 3), though now is just as good a time as any to learn C#. But this may require more time than I'm willing to invest. I just wanted to create a task launcher / application switcher to be able to switch between music, video, and other players. I, in fact, already have most of the VB code I need from another project, including a DirectX "cover flow" style interface. I just want to add remote control support to it.
View 2 Replies
Apr 29, 2010
Over the past months I have been working on small windows forms applications and learning vb as i go along. The aim was to pull these altogether into one big application.
I am now at the stage of pulling these together I have created a new project (called MainMenu) and designed all the buttons and interface. I have added my other projects (SISApp, CURApp) to this project. File > Add > Existing Project. I can see these projects in the solution explorer.
Now my problem. How can show Form2 in the SISApp project when I click ButtonX in the MainMenu project.
I dont just want to show Form2, i want all the functionality and the database connection in form2 to also work etc.
View 1 Replies
May 2, 2012
i have a solution that has two projects in it. one is a start up project. can i run the second project runtime by let's say pressing a button when the first one is running??? if so how can i do that?
View 1 Replies
Feb 8, 2010
Can I included several setup projects in the same vb solution such that when solution is built each setup creates its own setup package?
View 1 Replies
Aug 18, 2010
How would i reference a control or form from another project. I have a solution with multiple projects (Project1 & Project2 for example) and I want a button on Form1 of Project1 to open Form1 on Project2. I know if they were part of the same project it would simply be Form1.Show() and I thought something like Project2.Form1.Show() would work but unfortunately it doesn't seem that easy.
View 15 Replies
Oct 14, 2010
I've got a StartUp project (StartupProjectA) in Visual Studio that references projects A, B and C. I've got all of those in SolutionA.My predecessor has previously added this solution to SourceSafe so that there's a SolutionA folder in SourceSafe, containing a StartupProjectA folder, and A folder, a B folder and a C folder.
It turns out, though, that StartupProjectB and StartupProjectC all live in the same directory as StartupProjectA on the local machine, so on the PC I'm using I have a [GeneralSolution] folder which contains a StartupProjectA folder, a StartupProjectB folder, a StartupProjectC folder, and A folder, a B folder and a C folder.My question is what do I do to get the Solutions for StartupProjectB and StartupProjectC into SourceSafe? I've tried adding them, but they all create their own copies of folders A, B and C. What have I missed?
I'm trying to use the Visual Studio SourceSafe integration to get these solutions into SourceSafe. Doing so creates multiple redundant copies of A, B and C. I would like to have one folder in SourceSafe, containing SPA, SPB, SPC, A, B and C folders. I'm not really sure how to do this, because I can only add entire Solutions to SourceSafe via Visual Studio. There's no option that I can see for "Add this folder to SourceSafe and recognise that these other three folders are already referenced in the repository and so don't need to be added."
View 3 Replies
Jun 17, 2009
I've developed a couple of different stand-alone projects, myRibbonRTF and myRibbonCalendar and have them functioning well. I want to tie these together with other projects in a single solution called myMain. When I add these projects to the solution, their forms are not accessible in myMain (e.g. myRibbonRTF.frmMain.Show()). I've searched high and low for the last week trying to solve this and the only nearby solution is to turn the other projects into .dlls and access them in myMain that way.
View 7 Replies
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
Mar 7, 2011
I am using VB.NET 2010 with a solution that consists of class libraries and winform projects.
Each project has an app.config for it's specific needs. There are however, several settings that are common across all projects. I would like to implement a common config file to hold those, but that effort hasn't been very successful.
After much searching I developed a test program to play with and it was working until I moved the Globalsettings into a separate file. Below is a paste of my code along with the config files I've been experimenting with. I've added the references to system.configuration and made sure my config files are set to always copy to the output directory.
The code compiles, but GlobalSettingsLookup is never set to an instance of NamevalueCollection. I'm guessing it's because the ConfigurationManager can't load the section "GlobalSettings"(?) That's just a guess
My Code:
Dim GlobalsettingsLookup As NameValueCollection = CType(System.Configuration.ConfigurationManager.GetSection("GlobalSettings"), System.Collections.Specialized.NameValueCollection)
[Code].....
View 5 Replies
Mar 19, 2010
I tryed using serialization I might be using the wrong thing though what im trying to do is to serialize a class to a .bin file and then use it from another application, is there a way to change the specification of the binary formater this way it works in two different Vb.NET projectS??
[Code]....
View 3 Replies
Nov 12, 2009
I have a problem whereby I cannot debug a c# silverlight application project that is hosted from within a visual basic web application. I add breakpoints to the main App constructor and the symbols are loaded ok but my breakpoints are never hit. I have concluded that it is a vb/c# interop problem as to test i did the following.
Created a new c# web application project
Added a c# silverlight application
Added a new vb web application project
Added references to the silverlight project from both web apps
set a breakpoint in App.xaml.cs constructor
if i run the c# webapp the break points are hit whereas if i run the vb webapp they are not.
View 1 Replies
Sep 16, 2010
What it is the option Enable application framework that I found in Visual Studio under VB.NET WPF projects Application settings?I found it enabled by default and the "Shutdown mode" configured as "On last windows close". But for me is not really clear what does it mean that setting and also the other settings listed in that combo box.
View 1 Replies
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
Oct 27, 2010
I need some advice here, i have several little applications that i want to be small modules (don't know if it's the right name), in one Main application.I know that i can do this in several ways (add the code, call the exe), but i was looking to guidance for the best way / pro way.
I was thinking in creating DLLs for each one, and after putting the DLLs in one folder inside my Main Application instalation, it recognizes all the DLLs in that folder and create the appropriated menu for the DLL with the options defined inside. Kind off add-in, this may help me in the future if i need/want to add other apps/DLLs.I already seen something like this in the web, but i don't remember where or what should i write in the google to get what i want...
View 4 Replies
Dec 17, 2009
I am making an application that uses multiple WebBrowser controls, and multiple proxies.The code for changing the proxy settings are as such:
#Region "Proxy"
Public Structure Struct_INTERNET_PROXY_INFO
Public dwAccessType As Integer
Public proxy As IntPtr
[code]....
Note: getRandomProxy gets a random proxy from a list.Problem is that whenever RefreshIESettings(getRandomProxy()) is applied, the proxy will be applied to all of the WebBrowsers, while i would need to have a unique proxy for each WebBrowser. Not having this would just error out the page in the other browsers and so on.
View 1 Replies