S
Shane Story
I am getting a very bizarre error.
Says something about system memory and then
Cannot create window handle
I have a form with constructors.
1 is passed nothing
(new document)
2 is passed a class having a strong dataset
(open document)
the form has a datagrid and binds to the dataset(the form has a member
variable that gets set to the class having the dataset) The grid binds to
this class.
if from my MDI form
I open a document works great.
if I click new, it does soemthing like
dim f as new frmMyformName
f.mdiparent=me
f.show
I set a breakpoint on new statement
I trace into it and it gets by the constructors and the New() contructor
makes a new empty class and binds that empty dataset to the grid.
Then on f.show I trace into it
it goes to form.load
it goes so far in there and then bombs out to the f.show call in the MDI
form.
Says system out of memory error or something and then
Cannot create window handle.
I can't seem to discover the real problem
Any ideas would be appreciated.. All else works fine. This did work right
before but I discovered I needed another class and when i made thoses
changes it no longer works correctly. I am not sure why.
Thanks,
shane
Says something about system memory and then
Cannot create window handle
I have a form with constructors.
1 is passed nothing
(new document)
2 is passed a class having a strong dataset
(open document)
the form has a datagrid and binds to the dataset(the form has a member
variable that gets set to the class having the dataset) The grid binds to
this class.
if from my MDI form
I open a document works great.
if I click new, it does soemthing like
dim f as new frmMyformName
f.mdiparent=me
f.show
I set a breakpoint on new statement
I trace into it and it gets by the constructors and the New() contructor
makes a new empty class and binds that empty dataset to the grid.
Then on f.show I trace into it
it goes to form.load
it goes so far in there and then bombs out to the f.show call in the MDI
form.
Says system out of memory error or something and then
Cannot create window handle.
I can't seem to discover the real problem
Any ideas would be appreciated.. All else works fine. This did work right
before but I discovered I needed another class and when i made thoses
changes it no longer works correctly. I am not sure why.
Thanks,
shane