VB.net 2015 Form Type Mismatch
See original GitHub issueUsing VB 2015 (Visual Studio Enterprise 2015) running with .NET 4.5.2
It simply complains that Form1 cannot be converted to MaterialForm.
BC30311 | Value of type ‘Form1’ cannot be converted to ‘MaterialForm’.
I would say this is a huge problem that can effectively prevent the use of the library, any thoughts?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
Type mismatch - Visual Basic
Learn more about: Type mismatch (Visual Basic) ... You attempted to convert a value to another type in a way that is not...
Read more >database - Data Type Mismatch Vb.net Access
The error message talks about a mismatch between the datatypes of the values in your parameters and the datatype of the columns on...
Read more >Type Mismatch while calling VB6 function from VB.NET
Trying to call a vb6 function in an OCX that has a prototype Initialize(byref Object,Optional byref Object) from VB.NET. VB.
Read more >VBA Type Mismatch Error (Error 13)
Type Mismatch (Error 13) occurs when you try to specify a value to a variable that doesn't match with its data type. In...
Read more >how to fix vb.net error data type mismatch in criteria ...
Parse your user input into a DateTime value, and pass that as a parameter - your problem will go away, and you will...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@Dutchs I am such a dumbass, I figured out where I borked it. I put the inherit in the wrong place, I put it in the code not the designer, ARGH! and now it works, thank you for your help.
That is strange, i have been able to inherit a Form from MaterialForm without any issues using the provided sample code, with vb.net 4.5.2 (VS2015)
Just so we are on the same page: You have added a refrence to MaterialSkin and added a Form and in Form1.Designer.vb you changed:
Inherits System.Windows.Forms.Formto:Inherits MaterialSkin.Controls.MaterialFormand at this point the Designer for Form1 displays a MaterialForm.