tahnks for your help ...i need this code in visual c++ and i use visual c++ 2008/2010. could you help me with this? I place the word that i want to search in a textbox and after i click on a button(search) i want to see where the word is. The file is loaded in a richtextbox . thanks a lot
your help was appreciated but what i wana do is to write the word in a text box and after i click on a button(search) it will show me where the word is (in my richtextbox where the text file is loaded) all these in my windows form. any idea? thanks a lot
hi, i have developed program where two separate windows, one containing Map and other the dialog form with some controls, are opened. the program is when i click on Map window, its coordinates are displayed in the static text on the dialog form window. what i want is that when i click on Map window (which is at the front at the time of clicking) the dialog form window should appear at the front showing the results of my click, i.e the coordinates.
When you click on the map you can set the dialog's property to WS_EX_TOPMOST as described here[^]. You would then need to reset that value on some other action. Alternatively you could use the SetWindowPos()[^] function to alter its place in the Z-order, i.e. bring it to the front.
One of these days I'm going to think of a really clever signature.
in my app, I use ftp raw commands to upload several files to server, after sending PASV and STOR from command port, file transfer starts on data port - so far so good.
But, when I send same commands to server again to upload second file before first uploading completed , server answers "unknowing command" - to second PASV and STOR. So, I have to wait for first uploading completed to upload second file.
Any comments as solution?
Anything wrong in my ftp commands or process? how to upload 2 or more files at same time? how to open multiple data sockets (ports) with one command socket (port)?
The number of simultaneous transfers is under control of the server. When you send PASV, it will respond with none, one or more lines indicating a data port on which it is listening. If you can't work it out from reading manuals (RFC959 is a good start), find a real server that works, and get Wireshark on the job to see what messages go back and forth. (A good server like Filezilla maintains a log so you probably don't need Wireshark, but it'll be useful when you come to debugging your own code.)
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012