Adding Project To Existing Solution Causes To Crash / Multiple Errors
Mar 10, 2011
I have a project that as a standalone runs perfectly. There are a number of routines, forms etc. that I want to incorporate into another solution that I have created. Each time I try, it will load in the new project, but if I try to access anything by clicking on it, one of two things happens, either VS crashes and then restarts OR I get 100+ designer errors thrown.
View 8 Replies
ADVERTISEMENT
Aug 3, 2011
I have a visual basic 2010 project with a solution. When I double click the solution the project opens. I cannot see the solution file. I am trying to add an existing project to my solution but I am having trouble.How do I add an existing project to an existing solution?
In VB 2005 if I double click the solution the solution opens with the project underneath it. But in VB 2010 they have made it complicated apparently.
View 4 Replies
Oct 16, 2010
is this possible? can not find how to add a new project to the existing solution. or, this feature does not exist in vb express?
View 2 Replies
Nov 9, 2011
I've added a C# project to my VB.NET solution and I'm trying to access all of the classes and namespaces within that C# project.However, I'm not having any luck. I've never had to do this before, so I'm a bit lost.After adding the project, I tried importing the namespace from it. When I do, I just get the green squiggly telling me that the namespace doesn't have any public members or couldn't be found.Since it does have public members, I'm assuming it's the latter issue.So is there anything I need to do in order to access besides just adding it?
View 2 Replies
Aug 12, 2010
I have a multiple project solution with a main MDI form in the root of the solution and the child forms in individual project beneath the root. Like this
Solution1
.. frmMDI
Project1
....frmChild1
[code]....
To interact with the children I set a Resource to Project1 and Project2, and from frmMDI I can interact with Project1.frmChild1 and Project2.frmChild2. I have a toolbar on frmMDI that I would like to interact with from the children. If the children are in the root of the solution, I can interact with the toolbar by simply addressing frmMDI.toolbar1. I can't figure out how to interact with frmMDI when the children are in individual projects. That is, the children do not seem to see frmMDI in the root of the solution. I can't set a Resource back to Solution1 because it would be circular.
View 2 Replies
Mar 31, 2012
I've got quite a big application and I've just started noticing that not all runtime errors cause an error.
for example if I call a function that executes an SQL query and the query string uses invalid syntax or refers to a field that doesn't exist then that would normally cause an error at runtime. But it doesn't - as soon as it hits the error the function simply returns to the caller.
If I enclose the code in a try/catch then the error is trapped but, while developing, I just want a good old runtime error but not getting one.
View 2 Replies
Dec 1, 2011
Im trying to implement this code: url... and want to add it to my existing VB.NET solution.But when I look at the source code I see a code behind file for global.asax (Global.asax.cs) file with a namespace defined in it?!?Now in my existing VB.NET solution I DONT have a code behind file. Here's what my global.asax looks like: [code]When I add the namespace code as in the sample code I get: 'Namespace' statements can occur only at file or namespace level.How can I implement the sample code correctly in my current solution?
View 1 Replies
Aug 2, 2010
Does the Express Version support adding multiple soultions (.sln) to a project or is this only available with the Professional version.I see that I can add a DLL as a reference that was built in 2010, but it is not letting me step into it with the debugger (or recompile changes to its source).
View 10 Replies
Mar 28, 2011
I'm not sure if this is really a VB IDE issue, or a more general VS10 issue, but I couldn't find any other relevant category to post in, so here goes!I have several VB projects which I want to use in the same solution in Visual Studio 10. I created a project (& corresponding solution) which will reference them and added the existing projects by right clicking the solution in solution explorer choosing 'Add->Existing Project'. Then I went to the containing project's Properties window and added references to the existing projects, so they could be used by the project.
[Code]...
View 3 Replies
Jun 7, 2012
I'm developing application that is plugable. The plugins are loaded via Assembly.LoadFrom(). In my solution I have 4 projects. A WPF, 2 DLL and another DLL that is a plugin for the app. The plugin project references one of the other DLLs. When I build the Solution and run I was getting an error trying to use the plugin dll because it was expecting an older version of the referenced project. I had to clean and rebuild the plugin project to get it to run correctly.
[Code]...
View 1 Replies
Mar 20, 2012
my system crashed and I lost all of my VB.net projects. IT says the hard drive is shot and they cannot recover the files. However, I have all of the project's debug files on a network drive that was not impacted because the info is stored on a shared sever.What I have are the following files: (These were pulled from the DEBUG folder)
Executible
Program Debug Database
XML Document
[code].....
Can I recover the project using just these files?
View 5 Replies
May 21, 2009
I'm migrating data from an old laptop to a new laptop, including some vb.net projects in visual studio 2008. But when I try to open some of them on the new laptop, I quickly get a dialog stating that the vb compiler has crashed and asking me if I want to close, debug, or check online for solutions. Visual studio then, frustratingly, closes.The projects don't crash when opened on the old laptop, and other migrated projects open without crashing. So it must be some property of the projects that becomes corrupted by moving them.
Error Details:
Problem signature:
Problem Event Name: APPCRASH
Application Name: devenv.exe
Application Version: 9.0.21022.8
[code].....
The old laptop is windows xp and uses visual studio professional. The new laptop is windows vista and uses visual studio team. The 'migration' was a straight copy paste of the source files.
View 2 Replies
Sep 30, 2011
is there a way to see the My.Settings of one project from within another project within the same solution?I'm guessing the answer is no, they are scoped at the project level
View 3 Replies
Feb 8, 2012
i just got visual studio pro 2 days ago and every time i create a project, close VS 2010 and when i come back to work on my project and i click on my Form.vb i got every time : Visual Studio has stopped working.Then i tried run as administrator it doesn't work. What i don't understand it's when i click on show code the form load but the moment i click on it ,it just crashing and it's make me wanna drop laptop cascade...I've look on forum and post here but i haven't saw what i was searching.Here the error that VS show me :(Those files doesn't exist i search)
Files that help describe the problem:
C:UsersUsagerAppDataLocalTempWER152.tmp.WERInternalMetadata.xml
C:UsersUsagerAppDataLocalTempWER18C9.tmp.appcompat.txt
C:UsersUsagerAppDataLocalTempWER3520.tmp.hdmp
[code]....
View 2 Replies
Jan 22, 2011
I recently built a program in VB 2010 that calls an image file from my hard drive. I have found that by deleting or moving the file causes the program to shut down.The code to call the image is as follows:
aTileSheet.LoadBitmap("C:Documents and Settingsimagefile.jpg", 32, 32)
I remember when I was working with C#, there was a way to add a file (such as a Jpeg) to the solution itself.While I can add a file with the "Add Existing Item" command, I am at a loss for how to use it from the solution. If there is some way to add an outside file so that it will be a part of the program after building it, or if this is even possible, I using s dynamicbitmap command (as found from this website ) to use the image. If this effects the results, let me know that too.
View 8 Replies
Aug 13, 2010
what is the difference between Solution and project in vb.net If I load either of this from my project folder, will effect be the same?
View 2 Replies
Dec 2, 2009
Currently I had two project within one solution, my question is how do I open a windowsForm located in project2 by pressing a button in a windowsForm in project1?
View 1 Replies
Aug 15, 2010
Actually, I've been able to add the project, but I don't know how to execute the load command (Form1_Load) from the original solution to the added project. Additionally, there is a .DLL file that is needed to run the new project
View 1 Replies
Oct 5, 2011
I am wondering if anyone else has experienced any issues with adding a data source to a VB.NET 2010 solution using the 'Add New Data Source' wizard. I am getting a very odd behavior when i add the data source, I see a .xsd file is added in my solution explorer but I do not get a data source listed in the data source view. In short, it will add a dataset to the project but will not add an entry in the project data sources. I realize I can code to get the same results but purely out of convenience I would much prefer to just use the wizard and the corresponding table adapters it generates as I always did.
By the way, a google search shows that many people had similar issues in the 2005 version but their issues involved trying to use special characters in the project path (i.e. 'C:My ProjectsR & DMy Tool. I do not use any special characters in my project paths and yet am still experiencing this issue.
View 5 Replies
Sep 1, 2011
I did so by chosing "add existing file". For purposes to reproducing this let's say the file is in c:emp. So I added c: emphelp.chm.
I set the properties to "copy always" under the option "copy to output directory".
Then I compiled and it worked fine.
I then updated the file in c: emp with changes and compiled. I expected the updates would be copied into my program but they did not..
View 3 Replies
Jan 24, 2012
I am coming to the end of coding this system in Visual Studios 2008 which I took over from a guy who has worked on it for a year.He is not here anymore.He made 9 projects and put them into one solution(screen shot below).I have only published a .NET website for VB and have never published something like this.P3Data is the only one that the publishing tab comes up with. All the other projects the publishing tab does not come up. Why is P3Data bold? How can I publish the whole solution 'P3Data' as one whole entity?
View 5 Replies
Jun 6, 2011
Can I get access to the code of an application without having the Project Solution file? We had someone leave the company and we need to get to the code that they created. What we have are the following files:[code]....
I only know how to access code by clicking on the project solution file for an application but I'm not sure if there is another way to do it.
View 3 Replies
Mar 27, 2012
I'm trying to connect to a dataset in a different project but in the same Solution and i'm getting the following error how I set the Datalayer project to 'public'?
View 1 Replies
May 12, 2009
I would like to know if there is any way that I can rename an entire project / solution.I created a project called say WindowsApp1, and then realized that I do not want that name, I'd like to rename it to something else.So I'd like to rename all references to WindowsApp1 throughout the project to another name.
View 9 Replies
Aug 24, 2011
I've recently had an issue at work where I have lost my solution files to my projects, but I still have the executables that have been produced by the projects / solution (yes, my fault for not making better backups). Is there any software out there or any way of decompiling the executable back into a solution / project file??? IF yes, fantastic! If not, it just means I can cross it off as an option!
View 3 Replies
May 14, 2010
I have two separate projects and I need to bundle them together as a single solution, how do I? I am using VB2008 in VS2008.
View 4 Replies
Jan 23, 2011
I Imported 2 programs that I made into one solution. I made a "BIG" main menu (new windows form), put two buttons. I code one button to open up the first project (that works fine). I code the other button to open the project I imported, however it says that the name is not declared. Am I doing something wrong?
here is my code for the "BIG" main menu:
[Code]...
now only the "Original name of first project" appears to be not declared, if I delete "Original name of first project", then "the project I imported"is not declared and so forth. Note: These are not the exact names I called my forms. I'm just trying to explain it clearer.
View 2 Replies
Jun 9, 2011
I have an application that I wrote in visual basic 2010 express.I want it to be able to run simply when a click on a shorcut.I have tried 'publishing' it to create a shortcut but this only opens a bunch of files, but no executable files.How can I create an executable file???
View 2 Replies
Apr 20, 2009
there used to be a plugin that would tally up the total line of code for a project... does that tool exist still, or is there a comparable tool in vb2005
View 3 Replies
May 17, 2012
I'm trying to do something quite simple. I've added an item to the 'Solution Items' folder of my Visual Studio VB .net project. The item is called 'ValidationQuery.sql' and I need to reference it in my code. However, I can't seem to figure out how to actually reference it.
View 1 Replies