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

Recent content by Horowitz

  1. Horowitz

    highlight some words in a html page

    Thanks anyway... I appriciate your help. I'll try in an other forum
  2. Horowitz

    highlight some words in a html page

    I wish you knew greek so I could understand you all better. I'll try to reset my question and hope to make myself clearer. 1. The "data.html" file has in it only text. 2. I run the "index.html" and clik the button that has. 3. The data.html page should be opened and have highlighted, e.g...
  3. Horowitz

    highlight some words in a html page

    Can't really say that it helped me. Let me make something clearer. The data page has only data, no scripts no nothing. As i call the data.html i want on the event onLoad of it to highlight the word. There are many data pages I have , so I'd like not to open them and add <script ... onLoad="...">...
  4. Horowitz

    highlight some words in a html page

    hi, all i want to do is simple (is it?...) I have a page called "data.html" that contains some text, and the "index.html" that has a textbox and a submit button. When I click it i would like to open the "data.html" (that's easy) and set bkground "yellow" to all of the words found to be equal...
  5. Horowitz

    Opening an instance of Notepad

    You must define the program that will open the txt file, if you use the Shell() method. That method opens executable files better. Otherwize you'll get error message. You should use this: System.Diagnostics.Process.Start("c:\hello.txt") Or put an import statement out of the form class...
  6. Horowitz

    How to compare military time and doay of the week?

    I do not agree with "now.day will return the day of the month
  7. Horowitz

    How to compare military time and doay of the week?

    If TimeOfDay > #7:30:00 AM# And Not (Now.Day = 5 Or Now.Day = 6) Then 'code for day Monday to Friday Else 'code for time > 7:30:00 AM OR day = Saturday or Sunday End If To understand what I do write "day." and select a day watching the tooltexttip that...
  8. Horowitz

    Selecting an item in a listbox

    I did not understand what you are trying to do :)
  9. Horowitz

    Question on Arrays

    Hi, try this dim MyArray() as String dim a as string ="Hello my friend" MyArray=Split(a," ") 'The " " is the delimiter For i as int16 =0 to UBound(a) 'index starts from zero msgbox MyArray(i) 'in our case UBound(a)returns 2 Next Ok ???
  10. Horowitz

    Replace text in textbox. Yes that so simple...

    Well, I write: textbox1.text.replace("hi","hello") but nothing happens. I suppose that it will work like below: Textbox1.text: After replacement: hi hello HI hello 'not case sensitive high...
  11. Horowitz

    write data to a cd direct from vb.net

    hi, I do the following for example: imports System.IO file.copy("c:\test.txt","e:\test.txt") If e:\ is e.g a cdrom, the file test.txt will NOT be written to the disk. The tray icon will appear and then I have to click on "Write these files" and then windows burn the cd. What should i do so...
  12. Horowitz

    write to a cd or dvd DIRECTLY from a vb.net app

    hi, I do the following for example: imports System.IO file.copy("c:\test.txt","e:\test.txt") If e:\ is e.g a cdrom, the file test.txt will NOT be written to the disk. The tray icon will appear and then I have to click on "Write these files" and then windows burn the cd. What should i do so...
  13. Horowitz

    Get full file paths of a directory

    I have tried this u wrote me but the results aren't what i want. I'll retype my question. How can I add to a listbox all the files in directory "c:\test" with the full path. There are files in subdirectories. eg: c:\test\asd.exe c:\test\1\2\3\4\5\asd.exe c:\test\test1\test2\asd.exe...
  14. Horowitz

    Get full file paths of a directory

    hi, I want to add to a listbox the full paths of the files in a directory AND the files in subdirectories. e.g : c:\test\abc.xls c:\test\aaa.exe c:\test\1\2\asd.doc ... (the folder "c:\test\1" has no files in it) Tried this: Dim dirs() As String =...
  15. Horowitz

    how to display folder's filenames

    hi, We suppose that the folder "c:\MyFolder\" has some files and other folders in it such us "c:\MyFolder\Files\" etc... ocould anybody write the code that will accept as a parameter a path and will diplay in a textbox all its files? (full pathname): eg. "c:\MyFolder\book1.xls"...

Part and Inventory Search

Back
Top