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 strongm 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. TonyVBnet

    error when trying to read file

    i've found and corrected the mistake. thanks for your help
  2. TonyVBnet

    error when trying to read file

    okay, i've found out something. there are several folders in folderarray. i read them out from an xml-file. if there's only one folder in the xml it'll work all fine. but the program has problems with two different folders. i don't know why. the information in the xml are okay. i also get them...
  3. TonyVBnet

    error when trying to read file

    hi. here's my code. it's very long, but perhaps you could find the mistake... the error occurs in the last catch-statement ("error when trying to write to file"). so it has to be somewhere after the first try-statement (i don't have the possibility to run the program with vs.net to find the...
  4. TonyVBnet

    error when trying to read file

    hey guys. i've got a problem with an application. my program loops through folders and subfolders to find defined filetypes. i've tried with some files and it works. but if i have large folders the programm will throw an exception: Specified argument was out of the range of valid values...
  5. TonyVBnet

    search database for special word

    hi. i've got some questions about databases. the program i'm developing should search database-fields for a special string. i think with something like SELECT * FROM table WHERE field LIKE 'http%' it shouldn't be a prob. my question: is it possible, to return a value? i want to store the found...
  6. TonyVBnet

    error occurs when trying to write to database

    hi. i've got a prob with an application. it helps you to find urls in different filetypes. i made some loops and wanted to store the data in a database. it works, but it's not complete. some files and urls are lost. do someone know why? another problem: the values for my primarykey are written...
  7. TonyVBnet

    wildcards in strings

    thx for your help! i've found a solution: searchWord = "(""(http:[^""]*)"")" so you can find all http-links. works really fine (syntax in regular expressions is sometimes so confusing!)
  8. TonyVBnet

    wildcards in strings

    hi. thx for your tip, but this also doesn't work. i've tried it out. perhaps i'll find the right way (but it doesn't seem so!
  9. TonyVBnet

    wildcards in strings

    i've really forgotten the main question! how could i add the "http" in this "searchword"? i want to find all urls, but with href it doesn't work properly, because there are not only http and mailtos (which i only want!). and do you know if (and how) i can use ' instead of "? e.g. in js-files you...
  10. TonyVBnet

    wildcards in strings

    thx for your help. i've taken a look at the regular expressions classes. so i found a code, that helps to search for the "href"-tag. thats not exactly what i need, but it helps. unfortunately i don't understand the "searchword". here it is: searchWord =...
  11. TonyVBnet

    wildcards in strings

    hi. now my program is able to search. my last thread but there's now another problem: do you know if i can use wildcards for this search? i've tried, but it actually doesn't work. do you have tipps how to use them inside a word? e.g. i'm searching for a word that begins with "b" and ends with...
  12. TonyVBnet

    search for special string in different filetypes

    thanks for your support. i asked a collegue and he found the mistake: i forgot to close the streamreader. sometimes it's so easy... bye
  13. TonyVBnet

    search for special string in different filetypes

    hi. i've typed a new codeline: befor "matches=r.matches(s).count" i've written: fw.writeline(f) and it works! but it'll only work, if the output contains the filename (so the "f"). i don't understand it. how is it possible? next problem: he seems to "ignore" the javascript files. do you have any...
  14. TonyVBnet

    search for special string in different filetypes

    thanks for your answer. this also doesn't work. has anybody else an idea?
  15. TonyVBnet

    search for special string in different filetypes

    hey guys. i've got a problem. my program that i've coded doesn't work. normally it should loop through a folder and its subfolders and find special filetypes. this part works. but i also have a method, which reads a file und tries to find a special word. unfortunately this part doesn't work...
  16. TonyVBnet

    sending an error code from an app to a batch-file

    thx i'll try this. unfortunately the programs start about the windows scheduler. so i think its not possible to make one project. also, they should be independent from each other. but i think your solution is a good one. bye tony
  17. TonyVBnet

    sending an error code from an app to a batch-file

    i've got two apps. the second one can only start, when the first was successfull. so i want to send an error code from the first app to a batch-file, which helps to start the second app. so in the batchfile i've got an if-statement to check if the code is 0 or not. if it isn't the second app...

Part and Inventory Search

Back
Top