logo
down
shadow

How to duplicate a form in Visual Basic 2010 in same project?


How to duplicate a form in Visual Basic 2010 in same project?

By : Tino Wittig
Date : November 19 2020, 01:01 AM
it should still fix some issue So after messing around with my project files I finally duplicated the form that I wanted to and this is how I did it, after going to the project directory I found the WindowsForm file for example the Form's name was "Unknown1.vb" in Visual Basic 2010 where I created it, In the project's directory there were 3 files created for that WindowsForm they were " Login.vb " + "Login.resx" and "Login.Designer.vb" and I copied those 3 files and renamed every "Login" with "Login2" and then opened "Login2.vb" and "Login2.Designer.vb" with Wordpad and replaced every "Login" with "Login2" and saved them, and then I selected "Add an existing file" to my project and I selected the modified "Login2.vb" file and it worked like a charm ! I created 12 WindowsForms using this .
Here are the steps with pictures : First things first we go to the projects directory and then :
code :


Share : facebook icon twitter icon
Accessing Visual Studio 2010 project properties in Visual Basic macro

Accessing Visual Studio 2010 project properties in Visual Basic macro


By : Prashant Sehgal
Date : March 29 2020, 07:55 AM
seems to work fine After talking to my superiors, we decided to go in the direction of a VS Add-in, as Damien_The_Unbeliever was correct. However, I quickly came across the same problem in C# as I had in VB. It was solved by a stupid amount of meta-programming. http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/23763118-c34f-45fc-97aa-5fe5c4ad4d5c/ That was the only useful link I found in two days of searching, for anyone else who comes across this issue.
I hope that explains it :)
Team Project in Visual basic 2010,2012

Team Project in Visual basic 2010,2012


By : Huha
Date : March 29 2020, 07:55 AM
it helps some times I would start with a good version control system, I would recommend a GIT e.g.: http://git-scm.com
Visual Basic 2010 - Creating a Silverlight project?

Visual Basic 2010 - Creating a Silverlight project?


By : TruthDerek
Date : March 29 2020, 07:55 AM
wish of those help for Vinicius for the help in above comments.
This is what I did. I went to Programs and Features in Control Panel and uninstalled everything with the term "Visual Studio 2010". Then installed Visual Studio 2010 again. That's it. It worked. It created the Silverlight project with Silverlight 3. I also installed Microsoft Silverlight 4 Tools for Visual Studio 2010 after that and it created the project.
Do I really need to publish the project in Visual Basic 2010 Express?

Do I really need to publish the project in Visual Basic 2010 Express?


By : user3571608
Date : March 29 2020, 07:55 AM
hop of those help? Just running the application won't prompt the user to install the correct .NET Framework. If you want that, you need to create a setup for your application. Either using ClickOnce, Visual Studio Setup Project or Wix. Of those three Wix is the most future proof solution.
Without any .NET Framework installed, users will be greeted with:
Visual basic / visual studio 2010 windows form loads blank

Visual basic / visual studio 2010 windows form loads blank


By : Bluespark_84
Date : March 29 2020, 07:55 AM
I wish this help you Add InitializeComponent() to your constructor class.
This is added by default to the New (constructor) function of all Visual Basic forms. It requires it to set-up the UI components on the form.
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org