What can i use as a ComboBox alternative for Windows Phone development? (vb) - vb.net

I've been thoroughly looking for a combobox alternative to use for Windows Phone development for a full 24 hours now. The best i've found so far was this
,which is perfectly fine, but i'm really looking for something to work with in Vb.net.
PS: I'm using Visual studio 2010 as my code editor
Anticipated thanks :)

The List Picker is the best alternative to a ComboBox.
You can get the List Picker by installing the Toolkit update: http://silverlight.codeplex.com/releases/view/55034
It doesn't matter whether you use VB or C#. The Listpicker is basically a control in XAML, in the design view.
The only difference would be the Databinding syntax in your code view.

Related

VS 2010 Windows Form App - One Form has a different visual style - why?

I am building my first "real" VB Window Forms Application (I'm a "traditional programmer") and my application has perhaps half a dozen forms.
On execution all of these forms have the Windows 10 visual style (eg: grey on white max/min/close buttons at top right)... except for 1 form, which seems to be rendering in Win XP style (eg: Blue and red button style).
I have checked that "Enable XP Visual Styles" is UNClicked in the Project Properties, but this one form stubbornly refused to change.
I have a number of my forms that also appear in "XP style" in the VS Designer, but execute fine.
I suspect I may have enabled/disabled the "XP Visual Styles" option a couple of times, and perhaps initially created some forms when this was in different states... although I have no idea if this would have been the cause.
I really want this one form to be like all the others...
any ideas please? I am using VB in VS2010 (a bit old, but what I have to hand)
As I am quite new to VB so tell me what I can provide to help..
Many thanks,
David's comment has solved my immediate issue:
The single form appearing differently is indeed using Show() whereas the others are all ShowDialog(). There is no reason for me doing this, so I have changed it.

Office 2016 VBA wrong Toolbox icons size in windows 10

Not sure it this is the right place or how to describe my problem. I have a brand new windows 10 and installed Office 2016. Now when I want to develop something in VBA in Excel or Word and I add a UserForm the icons in toolbox which represent the controls to use on the form are too small. The strange thing is, when I first added a form, the toolbox windows was hardly visible (first image). Does anyone know what the problem is? Or better how to solve it.
I had the same issue with SQL Management Studio. Same odd behaviour. Luckely today I stumbled upon a solution which works perfectly for SMSS. So I guess I can try it voor VBA as well.
SMSS solution
This is a nice workaround, but it is not needed anymore, because MS has an updated version available for SMSS which you can find here
Anyway, I know now what the issue is, so I can try this workaround for other applications too.

Custom Windows Form menu in vb.net

I want to make a Custom Windows Forms menu. Now, when I say "menu", I mean where the "Exit", "Maximize" and the "Minimize" icons are. I have seen in Microsoft Office software that Microsoft have done a custom WinForms Menu, and in many other software. I have done research for months, and searched so much and have not found anything! I have, found some companies which are currently selling Component Packages with Visual Basic, C# and Visual C++ components, however I do not have the money to buy one of these packages, therefore I need help making a custom Windows Form menu.
I would like to make a Custom Windows Form Menu as a "Ribbon" type. So, It will have a "Ribbon Form Menu". However, I do not wish to use any products or packages to do this for me, seen as I don't have money for them.
I have tried a number of ways for creating a Custom Form Menu:
Used a ToolStrip docked to the top of the form, and set the property of "Left to right" to True, and used buttons or labels for the "Exit", "Maximize" and "Minimize" buttons, although, this isn't really ideal, and I don't really want that anymore.
Used buttons at the top of the Form and docked a panel behind it to made it look like a custom form, but again, this isn't really ideal either.
Anyway, please can someone help me make a custom Windows Forms Menu? It would be nice if you could help me make it in the "Ribbon Style" too!
Please note this post is aimed at the Visual Basic Programming language.. I am using Visual Basic! :D
Thanks.
You have a few options, Firstly you can extend the ClientArea into the NonClientArea
and you would end up with something like: http://www.codeproject.com/Articles/44235/Painting-Vista-s-Aero-NonClientArea-in-VB-NET
After doing some digging i found a .net wrapper for the windows 7 ribbon control, I haven't tried using it yet but you might be able to make it work:
http://windowsribbon.codeplex.com/
Alternatively you can create it all from scratch, setting the FormBorderStyle to None and handling the moving/re-sizing etc by your own code.
As well as painting the Ribbon-like controls yourself.
The latter is a lot more work but is the most customizable, I hope this is helpful and gets you on the right track!

Is there no DatePicker for xaml in Windows 8 Metro?

According to this tutorial, the DatePicker control is definitely present in the Javascript for Windows 8 Metro. So far I could not find it for the c#/xaml stack. Does anybody know if it is there and if not - if it will be available in the future?
No, there is no built-in DatePicker usable from XAML in the Windows 8 Developer Preview.
You can also inspect our pack of Windows 8 controls (I'm sorry for this ad, but it seems to be relevant to the question)
Telerik however have controls, including a datepicker in their Windows 8 offering: http://www.telerik.com/products/windows-metro/controls/chart.aspx
There is no built in datepicker for XAML, but there I found one here:
http://www.irisclasson.com/2012/07/19/example-metro-app-winrt-homemade-chart-and-datepicker-for-metro-apps/
that you can use if you cant afford Telerik ;)

Create custom chrome for a windows form in vb.net using Visual Basic 2008 express

How do you create custom chrome for a windows form in vb.net using Visual Basic 2008 express? I want to basically scrap what they give and start fresh, is there any way to do so easily?
I figured it out eventually. In the properties window with the form itself chosen, FormBorderStyle from "Sizable" to "None" will remove all built in chrome, therefore leaving me to go make my own. Resizability and moving may be a bit tough as I will have to code that myself, but this is an easy way to strip the chrome.