Is there a way to find a word in a text and replace it with another? Can somebody give me an example code? (The word may be more than one time in the text)
How can I move a form which has BorderStyle=0 (None)? I want to do it by clicking and dragging on a label which is on the form. Can somebody give me an example code?
Is there a way to see the remote port on a peer to peer connection. For example if I am connected with IP address 213.56.334.32, how is it possible to see the remote port which is connected with me? Can somebody give me an example code?
Is there a way to get directory's name from path? For example if I have in string variable the path "C:\My files\Pictures" how can I get in a string variable the word "Pictures"? Can somebody give me an example code?
I have a multiline textbox which has about 50 lines. On every line there is a word. I must take out every word and put it in a different variable. For example, lets say that the textbox is like that...
first
second
third
I nead to put the word "first" in the string variable fstr, the...
I'm trying to find out a way to create a file using its binary text. For example if I have an executable file called "sth.exe", I opened it with MS-DOS Edit and I copied and pasted it in a TextBox in my program. Then I use this source code.
Open "c:\blahblah.exe" For Binary...
I tried to open an executable file with windows notepad.Then I copied and pasted the letters which where in the notepad after opening the file in a textbox on a project in Visual Basic.Then with a command button I did this...
Open "C:\something.exe" For Output As #1
Print #1...
Is there a way to find out if a file which I know its name and its path exists?
For example...
I want to know if the file: "blah-blah.txt" is in the folder: "c:\My files"
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.