[RESOLVED] Error creating window handle
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:
VB Code:
TxtBox(1).BorderStyle = BorderStyle.None
It seems that statements changing the BorderStyle of a TextBox call the LostFocus function for some reason...
I am completely lost, so if anyone has a solution it would be greatly appreciated.
Re: Error creating window handle
Ignore my last post... I turns out I needed to use Enter and Leave instead of GotFocus and LostFocus. :rolleyes: