Hello,
When running a sub a second time in an application (in the IDE), I get this error "object reference not set to an instance of an object". It does not happen the first time the sub is being executed. Objects being used are forms and tables.
I have attached a sample program which reproduces the error.
1) open up the Basic4PPC-project
2) run the solution (ensure that the 2 csv-files are in the same directory)
3) click the button "START"
4) click on an item from the loaded form. Now another form should load with other items (filtered from the previous form)
5) exit from the form
6) exit from the form
7) now you should be back at the main-form.
8) click START again and you should get the error mentioned above (an image is attached).
I am stuck! Any ideas? Probably it is something "stupid" which I am not seeing. Maybe a sub??
Thanks.
When running a sub a second time in an application (in the IDE), I get this error "object reference not set to an instance of an object". It does not happen the first time the sub is being executed. Objects being used are forms and tables.
I have attached a sample program which reproduces the error.
1) open up the Basic4PPC-project
2) run the solution (ensure that the 2 csv-files are in the same directory)
3) click the button "START"
4) click on an item from the loaded form. Now another form should load with other items (filtered from the previous form)
5) exit from the form
6) exit from the form
7) now you should be back at the main-form.
8) click START again and you should get the error mentioned above (an image is attached).
I am stuck! Any ideas? Probably it is something "stupid" which I am not seeing. Maybe a sub??
Thanks.