What do you guys make of this error?
![]()
What do you guys make of this error?
![]()
Try putting a System. in front of it?
Useful (or not) things of mine:
Detecting OS Architecture|My Hangman Game Example|Asynchronous File Downloading Queue System|Project RattleSnake|Approximating Integrals|
Is my Structure/Class serializable?|FlagCollection VB C#|INI Class VB C# NEW!
That fixed that error, so strange, how an earlier version of my work worked and it had compensated for this issue with name spaces, but i dont recall removing any namespaces to cause this error since then!
Any how i got another error right after i fixed taht error, could you have a look at this?
System.InvalidOperationException was unhandled
HResult=-2146233079
Message=An error occurred creating the form. See Exception.InnerException for details. The error is: Conversion from string "" to type 'Double' is not valid.
Source=Part2
StackTrace:
at Part2.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at Part2.My.MyProject.MyForms.get_MyProject()
at Part2.MyProject.Main() in D:\Users\darkdave\Desktop\part2\Part2\MyProject.Designer.vb:line 0
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.InvalidCastException
HResult=-2147467262
Message=Conversion from string "" to type 'Double' is not valid.
Source=Microsoft.VisualBasic
StackTrace:
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
at Part2.MyProject.txtCylinderEmploymentPeople_TextChanged(Object sender, EventArgs e) in D:\Users\darkdave\Desktop\part2\Part2\MyProject.vb:line 5311
at System.Windows.Forms.Control.set_Text(String value)
at System.Windows.Forms.TextBoxBase.set_Text(String value)
at System.Windows.Forms.TextBox.set_Text(String value)
at Part2.MyProject.InitializeComponent() in D:\Users\darkdave\Desktop\part2\Part2\MyProject.Designer.vb:line 2459
at Part2.MyProject..ctor() in D:\Users\darkdave\Desktop\part2\Part2\MyProject.vb:line 132
InnerException: System.FormatException
HResult=-2146233033
Message=Input string was not in a correct format.
Source=Microsoft.VisualBasic
StackTrace:
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
InnerException:
----------
I went to line 190 of my code but i didnt see relevant errors, i even put a bullet point there to break the program before it got there but the error occured before then, i get the feeling line 190 is refering to the build file of my program, how do i access that if thats the case?
While im not a noob to opengl im a bit of a noob when it comes to vb, im usint tao.
------------
Thanks for helping me, for some reason my project seems to work in another OS im running in a dual boot of the same machine, both running win 7 but here on the 64 bit os the project spits out all these errors while i have vb2010 express installed on both OS i dont see why i have problems with this version of vb2010 on the 64bit version of win7 but i guess thats a seperate issue. For example i dont have the above problem in the 32bit win7 version of vb2010 express, same project folder and files and everything! Im wondering if its because i have not properly set up resources links in this newer install of vb2010.
I went to line 190 of my code but i didnt see relevant errors, i even put a bullet point there to break the program before it got there but the error occured before then, i get the feeling line 190 is refering to the build file of my program, how do i access that if thats the case?
While im not a noob to opengl im a bit of a noob when it comes to vb, im usint tao.
Look at that line specifically. It looks like you're doing a cast:at Part2.MyProject.txtCylinderEmploymentPeople_TextChanged(Object sender, EventArgs e) in D:\Users\darkdave\Desktop\part2\Part2\MyProject.vb:line 5311
Which is trying to convert a string (i'm guessing the text value of txtCylinderEmploymentPeople) which, at the time of the conversion, is blank:at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
Hence the error message.Message=Conversion from string "" to type 'Double' is not valid.
Useful (or not) things of mine:
Detecting OS Architecture|My Hangman Game Example|Asynchronous File Downloading Queue System|Project RattleSnake|Approximating Integrals|
Is my Structure/Class serializable?|FlagCollection VB C#|INI Class VB C# NEW!