VS 2010 Adding C# Project To Solution

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


ADVERTISEMENT

Adding Existing Project To Solution?

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

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

Adding A Data Source To A .NET 2010 Solution?

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

VS 2010 Add A New Project To The Existing Solution?

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

C# - Project To Project Reference Specific Version In Same Solution

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

See The My.Settings Of One Project From Within Another Project Within The Same Solution?

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

Adding And Using A File To A Solution?

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

VS 2010 Does Express Version Support Adding Multiple Soultions (.sln) To Project

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

Difference Between Solution And Project?

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

How To Use Object In Another Project Within One Solution

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

VS 2008 How To Add A Project To Solution

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

Unexpected Behaviour When Adding A File To A Solution

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

9 Projects In One Solution And Can Only Publish One Project

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

Access To Code Without Project Solution?

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

Asp.net - .net Connecting To Dataset In A Different Project In The Same Solution?

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

Can Rename An Entire Project / Solution

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

Converting .exe To VS Solution File / Project

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

How To Bundle More Than One Project As A Single Solution

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

Referring To A 2nd Imported Project, Within The Same Solution?

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

Running A Project Without Opening Solution

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

Solution Or Project Line Count

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

Sql - Reference A Solution Item In VB Project?

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

VS 2008 Get Settings Value From Another Project In One Solution?

Apr 19, 2012

i have one project that manage my database connection (DBServer) and one project as the main system (MainSystem).In DBServer I store all my connection data that i already managed to my.settings (ServerName, DatabaseName, connectionString, etc).

View 2 Replies

Forms :: Correctly Call From A Different Project In The Same Solution?

Aug 18, 2010

I can have all the projects existing in the same solution, and it builds fine. I can have a reference added to the project that I want to show a form from and still builds fine, every time I do something like this: Dim form_to_show as new Project2.Form1 form_to_show.show() It appears to corrupt the RESX file and stops compiling...it's really getting anoying..

View 7 Replies

How To Access A C# Internal Property From Project In Same Solution

Sep 24, 2009

My Visual Studio 2008 solution contains both C# and VB.NET projects. From a VB.NET project, how can I access a C# property with its access modifier set to "internal"?

View 1 Replies

Multiple Project Solution And Child To MDI Interaction?

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

Project Solution Doesn't Update At Runtime?

Apr 14, 2009

I am using Visual studio 2008. I didn't see a place to post questions about this . I am creating a mobile application, at run time the executable itself is not updating to show the changes from source code i have written. I feel there must be a setting or something in visual studio .

View 3 Replies

VS 2008 Sharing My.Settings Across Solution Not Just Project

Oct 9, 2009

It must be to close to the weekend, but I thought I read at some time an article of an easy way to have a common settings file for both application and user settings across a solution.

I currently have a Solution that contains 4 projects. Each of these projects need to access the same set of settings and be able to update the user settings. Is there a way to do this utilizing the My.Settings functionality?

View 2 Replies

Call A C++ Form From Project In A Mixed Language Solution

Nov 9, 2009

Assuming that the VS environment meant that mixed language programming was real, I set up a VB forms project (VBHOST) alongside a C++ forms project (CPPUNIT) in a single solution "MX" but could not work out how to call the CPPUNIT Form1 from the VBHOST Form1. I searched the forums and found a similar question which was never adequately answered.Presumably the VBHOST-CPPUNIT is simpler than CPPHOST-VBUNIT would be(?)

View 2 Replies







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