I am upgrading a VB6 application to VB.NET. In the VB6 application I have a
form with a sub called ShowScreen that takes arguements. This has always
worked with no problem/ When I try to upgrade I get the Buil error
"'ShowScreen' is not a member of 'System.Windows.Forms.Form'".
How do I resolve this issue? This might be related to the issue for some of
my Sheridan controls "losing" some of their properties and methods.
Thanks,
Kirk
Tim Mackey - 31 Aug 2005 14:59 GMT
hi Kirk,
'ShowScreen' is not a method of the System.Windows.Forms.Form class.
unfortunately your VB6 code won't automatically compile in .net. there is a
whole new framework in .Net and you'll find a lot of things are different.
this probably isn't what you wanted to hear!
you may want to use Form.Show() or Form.ShowDialog() to display the form on
screen.
hope this helps
tim