PCSGU250 DLL
An application is being developed using VB 2010 express On Windows 7 and Windows XP.
The base for the program is the Velleman Demo VB code.
The VB program is nearly complete and running fine… that is until a “chart” was added.
A button was added to the Demo VB code to open a “chart”.
The code is being run in the debug mode.
The following have been observed:
If any DLL function has been run, the next operation with the “chart” causes this error message:
“An unhandled exception of the type ‘System.StackoverflowException’ occurred in Systems.Windows.Forms.dll”
If the scope is opened from a desktop Icon, there is no error using the chart. It is only after the use of a dll function the above error occurs. That means any button in the Demo that operates the scope, followed by the button to the chart.
Is there some housekeeping needed with the use of the dlls? Or the use of private vs public?
Using a “picturebox” works fine in place of the “chart”. With the chart removed, there are no error messages debugging the code.
First time using VB2010.