masha
March 30th, 2004, 11:43 AM
Hi,
I am new to VB.Net and OOP and am lost with using forms and modules.
I have a form with a button and I want to run some code from a module called simulate when the user clicks this button.
So, I wrote Simulate.Main() in the button's click event (simulate module should start from its main procedure), but somehow when I click the button it never gets to this module, if I click pause to debug, it shows me a green arrow and highlights the line Public Class frmSimulation green. What might be the problem?
Is it the way I call the code or is something wrong with the form?
I would appreciate any help,
Masha
I am new to VB.Net and OOP and am lost with using forms and modules.
I have a form with a button and I want to run some code from a module called simulate when the user clicks this button.
So, I wrote Simulate.Main() in the button's click event (simulate module should start from its main procedure), but somehow when I click the button it never gets to this module, if I click pause to debug, it shows me a green arrow and highlights the line Public Class frmSimulation green. What might be the problem?
Is it the way I call the code or is something wrong with the form?
I would appreciate any help,
Masha