The type initializer for {Data.DataModule} threw an exception.
- by squirms
In visual basic, when in the "frmMain Events: Load", I get the following error
The type initializer for 'projData.projDataModule' threw an exception.
when running the code:
var = 180
"var" is defined in projDataModule as
Module projDataModule
Public var As Double
End Module
When I rebuild the solution, It says "0 errors, 0 warnings" and will actually compile, however the Error list shows the following error:
Error 1 Custom tool error: Failed to generate file: There is an error in XML document (1, 1). I:\Documents and Settings\Bill\Desktop\Projects\Data\My Project\Application.myapp 1 1 Data
Any ideas or help at all would be greatly appreciated. Thanks in advance.