Search results for query: *

  1. M

    Question on some Functions....

    For the record I have tested Application.Exit, this.close, and this.dispose so I know what they do and am not asking the group to tell me what happens. I am looking for a more conceptual explanation (ie what is happening behind the scenes) to some of the questions I am asking. Should a coder...
  2. M

    Regular Expression validate textbox

    Help With Regular Expression Hello, I have to create a regular expression with the following conditions: 1) Must be composed of words 2) Words must be composed STRICTLY of letters (no numbers or other characters allowed) 2)Must be composed of a minimum of two words and the first two words...
  3. M

    Regular Expression validate textbox

    Not sure... I am afraid I do not understand COMPLETELY the logic of what is going on: Dim regTwoPlusWords As String = "^([^\d\s]+ [^\d\s]+)+$" Why can't we just write ([^\d\s]+ [^\d\s]+) Is it because that would just mean we can have just TWO WORDS?
  4. M

    Regular Expression validate textbox

    I was looking more for sample vb.net code as I am new. Can someone show me how to code to search for two words case insensitively?
  5. M

    Regular Expression validate textbox

    Hello, I know regular expressions can be created in vb.net but the resources are scare on the net and I cannot find examples. I need to create a regular expression that ensures that at least two words have been entered and the words can just have letters in them. Can someone tell me how to do...
  6. M

    SO how do I do this?

    Problem It says that Contains is not a member of string....searchstring was declared as a string. Any suggestions?
  7. M

    SO how do I do this?

    okay... I think we might be getting confuzed by semantincs. I assume a list variable will just have line after line of code much like the original text file. So when you say the "entire string is loaded" you mean the entire line right? If that is the case, I think I am ok...please clarify.
  8. M

    SO how do I do this?

    Remember JOhn Every one of my line items in the list variable is not composed of one component but many, some of them are separated by spaces. Hence that is why I asked you is the searchstring in the below one line item: For Each searchString As String In infoList If searchString = e.Text...
  9. M

    SO how do I do this?

    Yeah but John, I am not sure I follow what is going on. Is every line item in the list variable considered to be a STRING? If so, your code makes sense to me....
  10. M

    SO how do I do this?

    OKay now I have this problem... Okay, that code works but now I have to do the following: I need to input the entire LINE in which that string is found and perform the following. I to read info from that line from one fixed position to another. How can I do this?
  11. M

    SO how do I do this?

    In VS Studio 2005 it does not recognize ForEach and it does not recognize AsStringIn. WHat class(es) should I import?
  12. M

    SO how do I do this?

    I tried entering the code you gave but VS 2005 reports errors....it does not like "string". Can you please provide workable code or at least give me the function(s) to check the strings in a line item
  13. M

    SO how do I do this?

    One more thing... Can you give the actual code I need to check each string in the variable of type list......?
  14. M

    SO how do I do this?

    Okay this makes sense but each line item in the variable of type list will look like this: XXX XXXX XXXX XXXXXXXXXXXX The scanned item will be in the last three positions of the last string of X's. Will your code still work?
  15. M

    SO how do I do this?

    I have inputted all information in a text file into a list: Try sourceFile = "\My Documents\TOPR1.TXT" Dim objReader AsNew IO.StreamReader(sourcefile) 'Peek returns a value of -1 when there are no more... '...incoming characters thereby signifying EOF 'Add all items in TOPR1.TXT to a list...
  16. M

    Hiding the Caret

    I did... I did put that import statement and it says the code in parentheses is not valid in the namespace.
  17. M

    Hiding the Caret

    Did not work I entered in the code you suggested but it does not recognize the code within parentheses (importing the dll file). ANy other advice?
  18. M

    Hiding the Caret

    What command do I use to hide the caret?
  19. M

    New line character in Compact Framework

    That did not work I did as you suggested but I still get the same problem. Scanner is running on WINDOWS CE 4.2...any other ideas? Code is now: Private Sub Scanner1_ScanCompleteEvent(ByVal sender As Object, ByVal e As PsionTeklogix.Barcode.ScanCompleteEventArgs) txtlastcode.Text =...
  20. M

    New line character in Compact Framework

    Hello. Scanner project is going well. One last problem to solve, which I though I did before.... Private Sub Scanner1_ScanCompleteEvent(ByVal sender As Object, ByVal e As PsionTeklogix.Barcode.ScanCompleteEventArgs) txtlastcode.Text = txtBarcode.Text txtBarcode.Text = e.Text StatusBar1.Text =...
Back
Top