Search results for query: *

  • Users: Sadie
  • Order by date
  1. S

    Question on Substring method of the String Class

    I am struggling a little to find out how I can acheive the following: I have saved some data to a file and from that file I need to create a report. The saved data is saved in the following format: 000123600020001201230156 I have used a text box to receive the data called txtData - this bit I...
  2. S

    Saving an ArrayList to a file

    Thank you for your speedy reply! I will give it a go!! Many thanks, Sadie
  3. S

    Saving an ArrayList to a file

    Hi jmcilhinney, Thank you for your help! I have created the class: Public Class CPurchase Public RefNum As Integer Public Type As Integer Public Weight As Integer Public Quantity As Integer Public CalcMeth As Integer Public BuyPrice As Integer Public SalePrice As Integer Public Price As...
  4. S

    Saving an ArrayList to a file

    Hi, I have created an ArrayList called AL to hold the values of 5 textboxes and 2 comboboxes. These all represent one purchase object. The code is as follows: Dim AL as ArrayList = Nothing AL = New ArrayList AL.Add(objPurchase.RefNum & objPurchase.Type & objPurchase.Weight &...
  5. S

    Help needed.....(file IO, format function)

    Thank you for all your help and suggestions. Your speedy response is much appreciated. :)
  6. S

    Help needed.....(file IO, format function)

    [Resolved] Help needed...(file IO, format function) Hi sevenhalo, thanks for your help! I have tried the code and it works perfectly. :D Here is my code: If Len(txtRefNumber.Text) < 6 Then txtRefNumber.Text = Me.txtRefNumber.Text.PadLeft(6, "0") End If Thanks again!!
  7. S

    Help needed.....(file IO, format function)

    I have created a form that has 5 text boxes and a button. When the user enters a value in the boxes they click on the button to save the data. The saved data must then be read to a text file in a required format. For example, the data entered in textbox1 is a reference number. The reference...
Back
Top