Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOrm Gets Redrawn
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
FOrm Gets Redrawn
Divers
Thread ID:
00924892
Message ID:
00924892
Vues:
50
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
Fil
Voir

Click here to load this message in the networking platform