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...
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="...">...
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...
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...
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...
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 ???
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...
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...
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...
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...
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 =...
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"...
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
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...
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...
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...
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.