0

I'm fairly new to visual basic. I was trying to make a program that generates code for you, based on whatever the user inputs. But whenever I click generate, I get this error "Invalid CastException was unhandled. Conversion from string "//Generated using MAYAN. Minecr" to type 'Double' is not valid." It says it is affected by the line: "
Code_Viewer.TextCodeViewer.Text = "//Generated using MAYAN. MinecraftMayan.tk" + vbNewLine

Here is my source code..

Thanks to anybody who helps! :)

http://pastebin.com/wHBbqK5K

I decided to post it on pastebin, it's easier to read.

Edited by BadVinegar

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by BadVinegar
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.