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: *

  • Users: Horowitz
  • Order by date
  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"...
  16. Horowitz

    Get some data from a text file

    Hi, I want the code snipset that when i click a button a messagebox will appear display to me the 3rd line or the file "c:\abc.txt" (using streamreader???;don't know) Tnx
  17. Horowitz

    embed excel sheet in th exe of the application

    hi, I create an excel sheet and i embed it in my form (using OLE(i'd prefare not using the OLE) or the COM component "excel spreadsheet"!!). I will communicate with the sheet programmatically to make some changes. The next step is SOMEHOW to save the changes NOT in the disk but in the control...
  18. Horowitz

    [b]unprotect excel sheet,write and protect it[/b]

    Hi, listen to this... I want to open excel from vb6 and load a sheet.The sheet is protected (Tools -> Protection -> Protect sheet) with the password "Hello". My vb application should open the file (e.g c:\abc.xls) provide the password so i can make some changes, and last protect the sheet with...
  19. Horowitz

    Positon of Message Box

    hi cmonthetic, I think the best you can do is to add a windows form in your project with a label on it. Set the form to appear for example at down-right of your screen. If something would trigger a messagebox to appear... call the form (form.show()) and then label1.text= "your message". Then...
  20. Horowitz

    Upgrade problem from vb6 to vb.net

    Hi all, In vb6 i'd write: Picture1.CurrnetX = 200 Picture1.CurrnetY = 200 Picture1.print "Hello and thanks for your help." In vb.net how should print a message in a picturebox? The CurrentX and Y methods, as well as the print method do not exist... Any help for that?

Part and Inventory Search

Back
Top