Thanks for responding. If I declare the Calculate Function in BaseForm as MustOverride then everything seems to work fine.
In BaseForm:
Protected Overrides Function Calculate(ByVal Params() As Single, ByRef BaseFR As Single) As CalcRtn
There are many Subforms that are inherited from...
Try this:
Dim proc As New Process
proc.StartInfo.FileName = "calc.exe"
proc.StartInfo.WorkingDirectory = SystemPath
proc.StartInfo.ErrorDialog = True
Try
proc.Start()...
I'm using the following in a subclassed textbox control:
Sub OnKeyPress(ByVal e As KeyPressEventArgs)
MyBase.OnKeyPress(e)
Dim Keystroke As Integer = Asc(e.KeyChar)
' only 1 decimal point allowed
If Keystroke = 46 And (InStr(Me.Text, ".")) Then...
I have a form (NewForm) that is inherited from a base form (BaseForm). There are several types of NewForm, all of which inherit from BaseForm. Each NewForm contains a method called Calculate. When I click on a button on NewForm, it opens another form (GraphForm) and passes NewForm as a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.