Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by daves22406

  1. daves22406

    call function on inherited form from another form

    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...
  2. daves22406

    Setting up a database connection...

    If you want to use databinding, you can just set the connection and datasource properties of the datagrid control.
  3. daves22406

    Run an application inside another application

    Try this: Dim proc As New Process proc.StartInfo.FileName = "calc.exe" proc.StartInfo.WorkingDirectory = SystemPath proc.StartInfo.ErrorDialog = True Try proc.Start()...
  4. daves22406

    how to limit the keypress by just entering decimal numbers

    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...
  5. daves22406

    call function on inherited form from another form

    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...

Part and Inventory Search

Back
Top