InvalidCastException
I've to tried to create an injector,everything worked fine but as i've pressed F5 for debugging it says: "InvalidCastException was not treated"
and the line "If My.Settings.inject = "auto" Then" will be marked.
Thx for help.
You need to comment out this line or create a string setting named inject from your project properties.
If it is already created, then post the type of the inject setting. You will need to properly convert the value so the setting can accept it.
Solved! Had to change inject setting to type string not integer. Thank you.