• Member Avatar for J.C. SolvoTerra
    J.C. SolvoTerra

    Replied To a Post in How to get only numbers and - in text box?

    I need to apologise to Reverand Jim for my prior outburst, and indeed to the other participants on this thread. It was rude and uncalled for. @Deep Modi. None of …
  • Member Avatar for J.C. SolvoTerra
    J.C. SolvoTerra

    Replied To a Post in How to get only numbers and - in text box?

    That's not quite there as a solution Deep Modi, for example IsNumeric(1234-5678-91011) [depending on the ID format] would return false. Also clearing a user input isn't cool beans. It could …
  • Member Avatar for J.C. SolvoTerra
    J.C. SolvoTerra

    Replied To a Post in How to get only numbers and - in text box?

    It would also be important prevent a user from Pasting as all these solutions would be rendered useless TextBox1.ShortcutsEnabled=False
  • Member Avatar for J.C. SolvoTerra
    J.C. SolvoTerra

    Replied To a Post in How to get only numbers and - in text box?

    I'm sorry Reverend Jim... I find the reasnoble alternative solution I provided quite acceptable and much more versatile. Not good coding? I'm sorry sweet heart, did I venture away from …
  • Member Avatar for J.C. SolvoTerra
    J.C. SolvoTerra

    Began Watching How to get only numbers and - in text box?

    I am desiging a Form in which I am asking user to enter: Name in Textbox1 ID Card Number in Text2 here i want to code for textbox2 that it …
  • Member Avatar for J.C. SolvoTerra
    J.C. SolvoTerra

    Replied To a Post in How to get only numbers and - in text box?

    I find this method really useful. AllowedCodes also holds values for Delete, BackSpace, Home, End, Numeric Keypad Numbers, Standard Numbers etc. Private Sub TextBox1_KeyDown(sender As Object, e As KeyEventArgs) Handles …
  • Member Avatar for J.C. SolvoTerra
    J.C. SolvoTerra

    Replied To a Post in Ftp Upload with Progress Help.

    -Hi Bud, It looks like you are writing all the file bytes at once strr.Write(file, 0, file.Length) Typically when you want to generate a progress you need to write chunks …
  • Member Avatar for J.C. SolvoTerra
    J.C. SolvoTerra

    Began Watching Ftp Upload with Progress Help.

    Progressbar not updating :'( please help. Private Sub ftpupload() Dim ext As String = Path.GetExtension(NsTextBox1.Text) Dim fname As String = Path.GetFileNameWithoutExtension(NsTextBox1.Text) Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://xxx@xxx.org/" & fname & …

The End.