First of all, the error message I am getting reads:
"An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll
Additional information: Error creating window handle."
The ToolTip of the error in the code editor reads:
"This code has called into another function. When that function is finished, this is the next statement that will be executed"
This error occurs with the following statement in a LostFocus function:
It seems that statements changing the BorderStyle of a TextBox call the LostFocus function for some reason...VB Code:
TxtBox(1).BorderStyle = BorderStyle.None
I am completely lost, so if anyone has a solution it would be greatly appreciated.




Reply With Quote