.net - Fork A VS 2010 VB Solution?

Jun 13, 2011

I've written a bare-bones ap in Visual Studio 2010, Express version. It does what I need and several others are using it successfully. I'd like to add features to it, but I don't want to foreclose the ability to make corrections to the present version.

How do I make a fork in the application for this purpose? Google has been no help in this case, and I've tried several incarnations of copy and change names etc etc.

View 2 Replies


ADVERTISEMENT

Visual Studio 2010 - Fork / Copy A Solution Using VS2010

Jun 26, 2011

Is there a straightforward way to make a copy of a VB.NET solution and continue the project in another direction? I'd think this is a common problem but haven't been able to find an easy solution. Copying the files and renaming seems messy to me. Does the VS IDE provide anything like this? Update: It's a small project on my home computer so I'm currently not using source control. I wasn't expecting to need to fork or anything. Is there a way I can do this without setting up git or similar?

View 2 Replies

VS 2010 Looking For A More Elegant Solution

Jun 21, 2011

I am creating a card game and although I have a solution to my question it feels very forced and awkward.
What I want to be able to do is to iterate through a collection but not necessarily start at the begnining or stop at the end.

Some details/examples. Imagine a game (I'll mentally use Spades) with 4 players.

Player 1 Deals cards to all 4 players which makes Player 2 the first to bid. The rub is that after player 4 bids, player 1 should then get his turn to bid.

Player 1 <-- Dealer
Player 2 <-- First to bid
Player 3
Player 4


I can't just iterate over the collection because a For each p as Player in Players would never make it back to player 1 to allow him to bid. As I said, I can make it work with some nested loops but I'm hoping someone might have a better solution. It certainly feels like there must be one. I run into more of the same as the deal moves around the table and as tricks are taken. If a more detailed example is needed, feel free to let me know.

View 4 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

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

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

Create Blank Solution VB 2010 Express?

May 5, 2012

I've got a chapter I'm supposed to be working through and cannot access the template for a blank solution. My instructions are as follows:From the "File" menu, select "New", select "Project", select "Other Project Types", select "Visual Studio Solutions", and select "Blank Solution."

I can see File, I then see "New Project", but not just "Project". I click on this and my only choices are :
Windows Form Application WPF Application Console Application Class Library WPF Browser Application

I've tried searching the installed templates for "Blank Solution", "Solution", "New Solution" and have no results. I've looked around for a couple hours hoping for a way around this and no luck so far.

View 16 Replies

2010 [Regex] Reading Visual Studio Solution File?

Sep 1, 2010

I need to read a Visual Studio Solution file (.SLN files) to figure out which projects belong to this solution.By opening a SLN file in notepad, one can see that the projects are stored like this:

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RadioGadget", "RadioGadgetRadioGadget.csproj", "{AE664C6C-000B-44D9-BAD8-0200D6ABE90D}"

[code].....

excluding the ... part obviously (which is just some guid I don't care about). Then I need it to match the rest too, and more importantly, I only need it to return the filename that I've underlined in the example. When I simply use 'm.Value' as I am now I think I will get the entire matched string back, right? That gets me nowhere as I'd still need to parse the filename out of that manually... Bit pointless to use regex then...

View 1 Replies

VS 2010 Module With Multiple Classes Shows As A Windows Form In Solution Explorer

Mar 29, 2012

I am having this strange thing happen where I have a Module that contains multiple classes in my project. In the Solution Explorer, the module shows up as a Windows Form and if I double click on it to open it, it tries to open the Form Designer. What could be causing VS to think that it is a Windows Form instead of a module?

[Code]...

View 3 Replies

Opening A Solution File It Was Saying "The Selected Fiel Is Not A Valid Solution File"?

Mar 27, 2012

Till yesterday I was working fine with my Project.I din install anything new, am not trying to open my solution file with a different version also.Today when i tried opening my solution, it was saying

"The Selected Fiel is not a valid solution file"

"The Operation could not be completed.Unspecified Error"

Microsoft Visual Studio Solution File, Format Version 10.00

# Visual Studio 2008

Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "??E", "..Setup2Setup2.vdproj", "{600F8FB2-B9A9-4138-B7E7-FE7B39815CC1}"

EndProject[code].....

View 6 Replies

Active Solution Platforms In Vs 2010 - "Any Cpu"

Sep 17, 2010

I see two options in my "Active solution platforms":

.NET

Any cpu

What's the difference? Which one would I want to use for debugging? I see folks used to ask about "Mixed platforms" vs "any cpu", but I don't have "Mixed platforms," I guess it was removed in 2010.

Would "Any cpu" be compiled to binary, while .NET be compiled to MSIL?

View 3 Replies

.Net Solution With C# And VB Projects

Aug 30, 2011

I have a .Net solution with 5 projects in c# and one in visual basic. I want to know whether there would be a gain of performance to convert my visual basic project to C# in the day to day while I compile my solution.

View 3 Replies

Add WCF Web API With ASP.NET MVC 3 To Existing Solution?

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

Best Solution To Use A DLL / Driver

Feb 25, 2010

Im working with a CD722UN Customer Display for our POS application. it comes with a USB2.0 connection and a installation package containing a driver etc. now, for my application. how should i do when i want to access this driver? at the moment i'm using the "CD722UN application"s .dll path but that can wary from clients OS etc. [Code] my first thought was to first check if there was a device installed in the device manager and somehow use the driver from there? [Code] what is the best solution?

View 1 Replies

Combine C# And .NET In A Solution?

Mar 2, 2012

I have a solution, Winforms, mainly composed from VB.NET projects (Wiforms, Constrols and business classes).

How, I added to it a WPF project, but wrote it in C#. Actually, every time I make a modification in the WPF C# project, I need to (re)build the C#WPF project. Is there a option to make it work like other (VB.NET) projects (accept and "see" the changes without rebuilding the C# project)?

An example:When I reference project "R.VB" in project "M.VB", I add a method "DoTest" in the "R.VB" and use that method in "M.VB" without compile errors.

If I add "DoTest" in the C# WPF Control and try to use it in "M.VB" project, I recieve a compile error "DoTest" is not a member od "R.C#Class".

View 5 Replies

Communication Between EXE In Solution?

Feb 12, 2009

I have 2 projects (P1 and P2) in a VB2008 solution, with each project compiled to a separate EXE.P2.exe is started via a button on P1 and while P2 runs, certain aspects of P1 are disabled. When P2 closes, P1 needs to reactivate those disabled aspects.Question: How do I communicate with P1 from P2, seeing that they are 2 separate EXE files, even though part of the same solution?

View 2 Replies

Got 2 In Using 2 Forms In 1 Solution?

Jan 4, 2010

I am using 2 forms in a solution the first is the application itself (MainForm) while the second is for the settings (SettingsForm) My first question is how to let the (SettingsForm) to Inherits Or Share the Declarations in the (MainForm)? And how do I it Save Load , the settings if changed when the application is closed Some applications use *.ini files to save it's settings but I don't know how to load it back I may save it with this code:

[Code]...

I may save a settings if there a Check box by "1" or "0" where "1" means Checked while "0" means UnChecked
Also, if there is a radio button I may set the first radio as "1" second as "2" third as "3" The problem is with Loading the settings Here is the Questions once more: 1- How to let the (SettingsForm) to inharets Or Share the Declarations in the (MainForm)? 2- How do I it Save , Load the settings when the application is closed?

View 6 Replies

Paging Solution For Datagridview

Jan 7, 2009

I need to quickly fill a datagridview but there are over 10,000 records.What is the best paging solution to use in cases like these ? Should I use a backgroundworker ?

View 4 Replies

.net - Cannot Open Solution File?

Sep 1, 2010

i have this project in TFS, and someone else from another computer changed the solution file's name. Now when i try to open it, i cant. It gives ne this error -"This project (xxx.sln) cannot be opened from source control because it was created by a version of Microsoft Visual Studio that is incompatible with this one.If this is the case, you may be able to open it from source control using that version of Microsoft Visual Studio, and then use Microsoft Visual Studio to open the local copy."

I dont have a local copy cause i deleted it. Reason being i wanted to get eveything new from the server. How can i open this project now?

View 2 Replies

.NET Solution Does Not Contain A Main Function

Dec 16, 2011

.NET solution does not contain a Main function

View 2 Replies

.NET Solution Does Not Contain A Main Function?

Dec 16, 2011

Every Visual Basic application must contain a procedure called Main.

I Didn't find such a method in my solution..

[Code]...

My problem is, in fact, I try to follow a recommendation that says: Clipboard.GetDataObject Always Returns null? If you find you're always getting null from GetDataObject, try adding [STAThread] before your static void Main().So, me, if I don't find Main()... I can't follow that recommendation in VB.NET...

View 1 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

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

Different Framework In A Single Solution In .net?

Jul 16, 2011

I make a two vb project with a same framework 4.0 in one solution then I call the form of project 1 from project 2 then it is worked! But the problem is if I changed the framework of project 1 to framework 2.0 and the project 2 is still framework 4.0 . . . there's error occurred.

View 1 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

Managing Several Projects In The Same Solution?

Feb 7, 2012

It's me again, trying to have multiple projects in the same solution. How can I do that?

I know that the project name should accompany whatever functions I'll be calling but somewhere it does not work.

One more thing, can I include forms in all the projects I create?

View 7 Replies

One Solution / Multiple Projects

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

Open Another Solution In A New Window?

Nov 18, 2010

I want to open a Windows Application window that has the contents of another solutiowhen I click on the button. How do I do this?

View 3 Replies

Opening Without A Solution File

Sep 27, 2011

I apparently didn't save the project I was working on as a "solution" file, and I all I have are two separate files.[code]I only have those two files. The code is there, but the solution explorer lists nothing, and I have found no option to just simply open up my project after saving it so I can work on it again. I see no design. I really just want to see my project like it was before.

View 3 Replies

Setup Solution In Winrar?

Oct 24, 2009

How do i complied my form design into winrar compress??

View 2 Replies







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