Or atleast, that's what I think.
I have an application upgraded from VB6 to VB.Net. I am using the following code to call the method to open an xml file and draw the graph based on the file contents.
Public Sub mnuFileOpen_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles mnuFileOpen.Click
FileOpen_Renamed()
End Sub
But just after executing the end sub, whatever i have drawn gets erased. And when I look through the debugger, the step goes nowhere after endsub.
These are the steps.
Running the app displays the form.
Click on the file open menu option (which calls the FileOpen_Renamed())
Graph is displayed
Just after executing the end sub in mnuFileOpen_Click, graph disappears.
I am new to VS.Net. Any help would be appreciated.
Thanks,
Smitha.
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement