Your code works because you have a "New" each time you open Form2.
In VB, you don't have to do the "New" and that cause the issue.
(In the second call, the form is in memory)
Regards.
Search found 3 matches
- Wed Mar 19, 2008 3:32 pm
- Forum: .NET
- Topic: Teechart V 3 crashes on hide and unhide of containing window
- Replies: 14
- Views: 22515
- Wed Mar 19, 2008 12:47 pm
- Forum: .NET
- Topic: Teechart V 3 crashes on hide and unhide of containing window
- Replies: 14
- Views: 22515
Sorry but I can't access to newsgroup or upload page from my Office. It's very simple to do: 1) Create a new project with Form1 2) Add a new Form2 3) Put a button on Form1 and add "Form2.showDialog()" in the Button_Click 4) On the Form2, put a chart and a button to close the form Run and open twice ...
- Wed Mar 19, 2008 12:30 pm
- Forum: .NET
- Topic: Teechart V 3 crashes on hide and unhide of containing window
- Replies: 14
- Views: 22515