At the end of a calculation Pweight stores a number, I need to format this number so that it only shows to 2 decimal places.. I have tried this:
If cmbSub.SelectedItem = "NAC(N - acetlycsteine)" Then
While i > 0
'Calculate current weight - %...
I have a drop down combobox, the user selects (for example) "Feet to Metres", the user enters an amount in feet into a text box and then upon clicking the convert button will calculate the conversion.
This calculation works fine if I entered in "6ft" or "5ft" but not if I enter in 6.2 (ie 6'2")...
I'm reading in a RTF file that I want to search by either using WholeWord or MatchCase search options.
atm I have this:
If (chkWhole.Checked = False) And (chkMatch.Checked = False) Then
'ERROR - MUST SELECT A SEARCH OPTION
MessageBox.Show("Select a search method"...
Hi all, first off nice 2 be on the forums (1st post)
I'm currently a student studying IT Consultancy / Networking, and a free-lance web designer / IT Consultant.
I have coded Pascal/Delphi before, and alittle Visual Basic for personal use, nothing more, small printing programs e.t.c, i...