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'?
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.
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
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?
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
I have a dataset that is able to return information during design-time via the "preview data" feature. However, the same dataset returns an error[code]...
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?
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.
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.
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.
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!
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.
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???
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
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.
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).
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?
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..
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"?
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.
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 .
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?
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(?)
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.
I'm writing a Visual Studio Macro and need to read a XML file in my project and write something. i can't get the correct file path! in my web application solution i have to projects for business and UI files. and my xml file named fa.xml located on UI project in a separate folder. i want to use this macro for many solutions. but the structure is the same. How can I get the Path of a file in a specific project in my solution?
I have two projects that contain extension methods. One project is implemented using C# and the other is implemented using VB.NET as there are some things I can do in VB.NET that I can't in C# and I want to leverage those features in my extension methods. How can I name the projects to convey their meaning while at the same time differentiating that they are implemented in different languages?For the C# elitists:One of the features that VB.NET supports that C# doesn't:Doesn't C# Extension Methods allow passing parameters by reference?FYI: This doesn't work for reference types, which is what I'm interested in.
public static void LoadFromXml<T>(this T targetObject, string xml) { targetObject = _Serializer.DeserializeFromXML<T>(xml); }