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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. clubriza

    Textbox Question

    Hi PC888 Thanks for showing me the correct way to do it. I have writen that down in my note book for future reference. cheers Clubriza
  2. clubriza

    Textbox Question

    horraaaaa finally got it to work what i did was use a richtext box, set visible = false. then used a textbox and copied the .text over from the richtext box. Dim a a = ".txt" txtRate.LoadFile("VAT Rate" & a, RichTextBoxStreamType.PlainText) TextBox.Text = txtRate.Text...
  3. clubriza

    Textbox Question

    tried that still got same error. (think i might be retired by the time i finish this, lol) clubriza
  4. clubriza

    Textbox Question

    tired this as well , no luck TextBox.Text = IO.File.OpenText("VAT Rate.txt") error message says Value of type 'System.IO.StreamReader' cannot be converted to 'String'. ahhhh the answer is probably so simple, when you konw how clubriza
  5. clubriza

    Textbox Question

    hi crisse1 the error message i get is Argument not specified for parameter 'path' of 'Public Shared Function OpenRead(path As String) As System.IO.FileStream'. cheers for helping clubriza
  6. clubriza

    Textbox Question

    thanks for your replys, i already tired the help files, and came up with these: Textbox.Text = System.IO.File.OpenRead("VAT Rate.txt", System.IO.File.OpenRead) and this ' Create an instance of StreamReader to read from a file. Dim sr As IO.StreamReader = New IO.StreamReader("VAT...
  7. clubriza

    Textbox Question

    Hi all, Im making a VAT Calculator, that shows + vat, - vat, Net, Gross ect. I want a textbox to display the contents of the "vat rate.txt" file. "ie 17.5" (is that possible?) The reason for this is, i want the user to be able to change the vat rate (+ i can set it to only accept numbers & a...
  8. clubriza

    newbie question

    hi can someone tell me how to get text from a notepad file to read in a richtextbox? cheers clubriza

Part and Inventory Search

Back
Top