Accessing Windows Forms 2.0 combobox or AXComboBox - vb.net

I have created a mutli-column combobox in VB.net 2008 using windows forms 2.0. I am having trouble accessing data once selected to use in the remainder of the form. There does not seem to be a selected event to use in conjunction with the winform 2.0 combobox.
Does anyone have any experience using winforms 2.0? Also I guess a better question would be: is there a site with a break down of windows forms 2.0? As so far nothing seems to be that detailed including MSDN.

There is a SelectIndexChanged Event for the ComboBox Class
http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.aspx
SelectIndexChanged :
http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.selectedindexchanged.aspx
SelectedValueChanged:
http://msdn.microsoft.com/en-us/library/system.windows.forms.listcontrol.selectedvaluechanged.aspx
All Winform controls are documented pretty well on the msdn website.

The controls I am speaking of are in: axmicrosoft.vbe.interop.forms.axcombobox.
Which does not have much in the way of documentation. It does lend itself to creating multi-column comboboxes however.
I am not excited about the prospect of creating multi-column comboboxes, and I have explained and demonstrated to the customer that this is not the best implementation, but the customer still wants a multi-column combobox.
I am also open to the prospect of third party tools (free, and not free).
If anyone has any experience with this issue please forward any information they have.

We bought infragistics controls and that resolves this issue.

Related

how to replace Windows provided Form designer on Custom Windows Form Designer

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

Controls Based Security in a Windows Forms Application using VB.NET

I need to implement, Controls Based Security in a Windows Forms Application using VB.NET. I tried google but did not get anything much to work with.
I would like if someone, could suggest some books or tutorials.
Thanks
I'd recommend looking at Jesse Liberty's very detailed article: Controls Based Security in a Windows Forms Application, which includes full source and demonstrates one nice approach to this problem. While the article is in C#, the concepts should all translate to VB.NET exactly.

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.

Any good free skinable vb.net tab controls?

I've been googling and googling for vb.net examples with nice looking tabs.
I really really like this example (slide #4):
http://www.dotnetmagic.com/features_tabbedMDI.html
Has anyone come across any similar free vb.net tab controls with examples? I don't really need the control to be open source, just free :)
DevExpress is probably the best free controls library. And you can find a great TabControl in it. You will have to add it manually to the toolbox.
You have to register for a free license to download it. The download page is still online and working as of 2012-03-22, but cannot be reached by navigation on their website any more:
Free DevExpress Controls download
(In an email response they stated this was because they significantly changed their website.
Also, they said these controls can be used royalty-free even in commercial applications, and without having to include any copyright notices.)
Its name is XtraTabControl
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditor.vXX.X (where XX.X is the version of the XtraEditor, mine is 11.1)
Although you could google the answer, there's some links to get you started:
The Code Project, check under desktop development.
Telerik is a known control developer, offers some controls for free.
Component Factory is another good option.
As of Developer Express v2011 vol 2 (at least, probably earlier), the Tab Control is not free. Used to, you could put it on a form and run without a nag screen. Not the case now.
This is the best free one I could find:
http://www.codeproject.com/KB/tabs/KRBTabControl.aspx

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.