Help me to understand! I wanted to do my first program. I came across a website with step-by-step instructions on how to create a Hello World type program in Visual Basic. I did everything as it is written, and the code seems to be correct, but when debugging, such an error appears:
The first step in handling exception type "System.Windows.Markup.XamlParseException" in PresentationFramework.dll
More information: "Provide value on" System.Windows.Baml2006.TypeConverterMarkupExtens ion "threw an exception." Line number '16' and line position '132'.
If there is a handler for this exception, program execution can continue safely.
I did not find anything useful on the Internet. Maybe someone here will help. Only please, can explain in a language that is understandable not only to an experienced programmer. https://msdn.microsoft.com/ru-ru/library/jj153219.aspx - link to the site
Program Code:
Class MainWindow
Private Sub Button_Click(sender As Object, e As RoutedEventArgs) If RadioButton1.IsChecked = True Then MessageBox.Show("Hello.") Else : RadioButton2.IsChecked = True MessageBox.Show("Goodbye.") End If End Sub End class
