Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOrm Gets Redrawn
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
FOrm Gets Redrawn
Miscellaneous
Thread ID:
00924892
Message ID:
00924892
Views:
51
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.
Reply
Map
View

Click here to load this message in the networking platform