how to replace Windows provided Form designer on Custom Windows Form Designer - vb.net

I'm working on 13 years old .net application. They are using Custom Windows From Designer. Everything works fine till now, But every year they need to add new business in that application which is getting more difficult due to custom windows form designer . So they wanted to remove that Custom designer and use windows provided form designer which is more convinient and easy. I just need any reference documents/links/blogs which will help me to do this work. I already searched it but since now a days no one is using custom windows form designer that much , so not able to get proper guidance. Please do share your experince / links/information with me . Thanks

This looks a lot like a code migration. Typically, you'd migrate from one platform to another (e.g. Java to C#), or from one version to another (i.e. ASP classic to ASP.NET with VB.NET).
In this case, you want to migrate your code from a custom Win Form editor to Visual Studio. Unfortunately, I don't think there's a quick solution. The good news is that there are a wide array of "code converters" out there to help with a migration like this, and many are templatized, so you can decide how to handle edge conditions that don't line up precisely out of the box.
Here are some resources to get you started on the research:
https://www.greatmigrations.com/
https://visualstudiomagazine.com/Articles/2010/03/01/Unlocking-Legacy-Code.aspx

Related

create cascading dropdown in library of sharepoint 2010

Can anyone tell how to create cascading drop down in the library of share point 2010 without the help of java script and info path designer.i am trying through java script techniques,but its not working properly and i don't want to use info path designer.please help.
Without JavaScript and Infopath, you're into custom server side code. Without jQuery/Ajax then it's going to be a very clunky interface with multiple posts and screen redraws.
You may not be having much success with JavaScript but I can attest to using the SPServices and jQuery to achieve some very competent cascading dropdown solutions in SP207/2010 successfully. Have a look Here, there's plenty of sample code and advice.
I've had decent luck with using a 'custom field type' for such problems, if you need this to all be on an out of the box form. If you don't need this to be on an out of the box form, then it's no different than any other ASP.NET cascading drop down.
I haven't used custom field types a lot, and I've found them a bit awkward to get started with, but they're not really all that complicated once you have the basic template as most of the information is static; you can just take an unrelated example from someone else and change the few bits that apply to you.
You can make a custom form for the content type (if Visual Studio is an option) and do it like in any asp.net applications.
See here an example: http://spcustomforms.codeplex.com/
spcascade.org provides best free solution which support multi level dropdown list with no limits.
It is javascript/jquery based solution with no page refreshes and involves only one look up list for multiple columns.
Saves data in single line text instead of Ids that are used by typical look up columns.
Very easy to use syntax too!
http://www.spcascade.org
I have a simple solution without any JavaScript code: Cascading Drop Down Lists in SharePoint. Let me know if it solves your problem.

How to use Ext-designer to create UI for multiple pages?

In the example section in extjs4 official site, the source code is clean and direct (on a single page). However the ext designer uses MVC architecture that I am quite confused.
If I want to create UI using extjs 4, for multiple page, am I supposed to create multiple projects in ext designer?
I think these are two seperate questions '1. should I use MVC' and '2. Why does Designer NOT use MVC'.
In my opinion that answer to 1. should be 'yes' unless you project is relatively small and you feel comfy managing the entire codebase in one long file. This quickly becomes unmanagable and there is a lot of searching needed to locate the section you're after.
The answer to 2. is that designer is aimed to provide designers (funnily enough!) who often won't have any coding experience the ability to create prototypes and templates that developers can pick apart and build into applications. At least that was true with designer version 1.
I believe designer 2 is aimed much much at being able to directly port code into applications but if you're talking about version 1 I think you will need to take the code generated by the designer and move it into an MVC style structure in order to build applications which are anything more than a couple of simple pages.

VB6 -> VB.NET ... Cannot find the Canvas control in .NET

I am trying to convert some old VB6 code to VB.NET. The VB6 uses a Canvas control, simply
Dim cv as Canvas
I cannot for the life of me figure out how to use the Canvas control in VB.NET (using VS2005). MSDN says it is in the System.Windows.Controls namespace, which doesn't seem to exist? All I see is System.Windows.Forms, which doesn't include the Canvas control. Any tips?
Thanks
You need to find out what the Canvas was in VB6, then you will be able to see what the nearest equivalent is in VB.Net.
I think it must have been an obscure third-party control or possibly some custom code. I've not come across Canvas before in VB6
In recent history things have changed a bit here. There are now two sets of windows frameworks.
Forms are the old one. The new ones are controls, and they come in the WPF and Silverlight variety. WPF is to replace windows forms, silverlight is meant for the web, etc etc.
Since you are using the older VS2005, I believe you will need to install the WPF extensions to get access to them.
Unfortunately the WPF Extensions for VS2005 are no longer supported by Microsoft:
http://blogs.msdn.com/b/acangialosi/archive/2008/06/27/vs-2005-extensions-for-net-framework-3-0-wpf-wcf-ctp-is-coming-off-the-ms-download-center.aspx
You can still get them from various places, but for your own ease you should probably consider upgrading to at least VS2008 if you want to use WPF/Silverlight.

UI library for VB.net Desktop Applications

Are there any libraries available that can help to change the look-and-feel of Desktop Applications made using VB.net 2008? Here is a snapshot of an application that runs on Windows 7:
I think its made using the .net framework, but how can it be styled like this?
PS - Even if its not built using .net framework, then please let me know which language supports the UI customization on windows platform.
NOTE - As everyone is suggesting me to go with WPF or SWING using JAVA, I still want to know if its possible in VB.net WinForms or not.
Theme handlers (Use standard controls and the handler takes care of the visual UI):
Open source
http://www.codeproject.com/KB/miscctrl/FancyNetForms.aspx
Closed source
http://www.appface.com/ ($ 149 USD) (Skin your app with 2 lines of code)
Special controls that has built in theaming:
ComponentOne:
http://www.componentone.com/SuperProducts/StudioWinForms/
Infragistics:
http://www.infragistics.com/
I don't know how this specific window was styled, but there are many posibilities:
Maybe was made in WPF. Microsoft WPF are available since VS2008 and Framework 3.0 and it allow to make a complete look and feel customization for every control that you use.
Maybe It was made in winforms using a custom control set. For example, DevExpress has a set of 60 free controls that comes with some predefined look and allow creating your own skin. (60 Free Controls)
Maybe It just was made in Java with Swing (look this Question)

Free schedule/timetable GUI library for .NET

Does anyone know of any good free libraries providing Windows Forms controls for displaying schedules/timetables in .NET? I'm really looking for something similar to what the guy who asked this question was seeking, with a couple of differences:
I don't need any help organizing the underlying data or generating the schedule (that's all set) -- I just want a clean way of displaying it.
I'm actually looking for a custom control in Windows Forms, not an ASP.NET control.
One thing I've considered doing is just using a TableLayoutPanel control, but ideally I'm looking for something that will be more straightforward code-wise (as in, something actually designed for displaying a timetable) and sharper-looking visually.
How about this control? It is very similar to the calendar in Outlook. It does come with source code, so if it's not quite what you need you could maybe use this as a base for your own implementation.
Download the source code for http://www.monocalendar.com
He built a control (CalWidget) that you can easily recompile in your own project that's pretty nice. I recompiled it in .net 4.0 with little problems.