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

  1. davidck88

    Problem getting hwnd of external listview

    Hi all. There is an external application that has a listview in one of its window. My intention is to highlight and send double click to one of its row . So i tried to get the listview's hWnd value first but I don't know what class name it has. Most of other listviews got systemlistview32 name...
  2. davidck88

    How to detect string pattern inside textbox ?

    Andrzejek thanks for your reply .your code only covers when the content of text is ONLY tony as the one in listbox!! SO your code is same as my orginal code. What i want to detect are the following cases from textbox content : Listbox words to look for:tony,TONY,Tony,t-o-n-y,T-O-N-Y,tony_...
  3. davidck88

    How to detect string pattern inside textbox ?

    Hi all i am checking the content of textbox against a listbox items as shown in the following code. But i want to improve this code so not only it detects the exact matches but also if any part of words from listbox is found in textbox then command6 is triggred as well . For example i got word...
  4. davidck88

    Problem selecting external checkbox (LVIF_STATE not defined error)

    patrickIRL thanks for your reply. I made some changes but now now i don't get any error but when i click the button the external application that holds checkboxes freeze and crushes!! could you tell me what i am doing wrong here ? the window that holds the checkbox lists has SysListView32 class...
  5. davidck88

    Problem selecting external checkbox (LVIF_STATE not defined error)

    Hi all.I want check a checkbox in external window using the following method but i get compile error that LVIF_STATE variable is not defined could an expert show me how LVIF_STATE,LVIS_CHECKED ,LVITEM, LVIS_STATEIMAGEMASK should be defined so they get used by our local LV_ITEM to change the...
  6. davidck88

    problem sending click to external button

    opss i fixed it myself .Actually there was a space before - in "- IT Department", "")so the replace part has to be " - IT Department", "")!!
  7. davidck88

    problem sending click to external button

    Hi all . I am trying to send a click to external button. The following code works if i use instead of However the value WinCap comes from combobox but needs to modifed before it used . The messagebox shows that replace function changed the data corectly but for some reason when i test it the...
  8. davidck88

    How to fix run time error 9 subscript out of range ?

    Thanks all i got it working now . I had some textboxes/richtextbox missing in my form !! so i changed the last part of code to this and now working well : ........ 'RichTextBox3.TextRTF = Replace(RichTextBox1.TextRTF, "%song", Text3) 'If Option2.Value = True Then 'Else...
  9. davidck88

    How to populate listview with data from text file ?

    Hi all i am using the following code to load text to two listbox. However, i want to change it so it loads data into listview. Could any one show me how this can be done? I tried to use: ListView1.ListItems.Add strBuffArr(0) but i got run time error 13 data mismatch !! The data stored in...
  10. davidck88

    How to fix run time error 9 subscript out of range ?

    Strongm thanks for your reply. i know the problem is some where in this block of code but don't know how to fix it ; 'Check for unwanted vbCrLf (which would yeild a "") If Len(strArr(intLB)) <> 0 Then 'Split the Line of data strBuffArr =...
  11. davidck88

    How to fix run time error 9 subscript out of range ?

    Hi all . I try to use the following code to load playlist text file into listboxes . But unfortuenlty i get this error (but the listboxes get loaded with mp3 path and title): pointing at the following line: 'Check for unwanted vbCrLf (which would yeild a "") If Len(strArr(intLB)) <> 0 Then...
  12. davidck88

    How to send HTTPS-Post request to servlet using vb6 application?

    Hi all. I am trying to access a servlet using HTTPS Post protocol and get its response in textbox but i don't know how. All i want to send the servlet one varible which is name and get the server response in textbox.Right now when i type a name in the textbox and click submit i get directed to...
  13. davidck88

    How to prevent duplication on insert to mysql db?

    Andrzejek Many Many thanks it worked prefectly. But now i want to do the same thing without using database for example using listbox as an ip storage.Could you show me how i can check if an ip exist in listbox before adding it? If it exist already in the listbox then don't add it and tell that...
  14. davidck88

    How to prevent duplication on insert to mysql db?

    Thanks you guys for helping me. Andrzejek i tried your solution and i tested it does allow duplicat values !! :-( could you help me fix it ? gmmastros at this moment i use mysql so i hope you guys find me a mysql solution. Looking forward for replies.Thanks
  15. davidck88

    How to prevent duplication on insert to mysql db?

    Hi all . i am using the folowing code to insert listview rows to mysql database. The table in my datbase has the following structure: CREATE TABLE `test` ( `ID` int(11) NOT NULL auto_increment, `proxy` varchar(93) NOT NULL default '0', `port` varchar(93) NOT NULL default '0', `proxyport`...
  16. davidck88

    Problem closing my application on version check

    Thanks for pointing out . So how to close the application completely ? i don't the massage pops up and the application loads ...
  17. davidck88

    Problem closing my application on version check

    Hi all.I am using the following code to check for version of my program and if the current version is old i tell the user to update and close the applicaton completly. The current code does tell the user that application is old but that massage keeps coming over and over ... Like i am in...
  18. davidck88

    How to error check Inet1.OpenURL?

    I'm using the MS Internet Transfer Control to connect to a remote web server and download a small amount of text( a few lines of text.) and use it as content of one of my massagebox and its cpation text. Since this server will be serving multiple clients some time inet might fail to get the data...
  19. davidck88

    Help converting vb2008 code to vb6

    HarleyQuinn and strongm thank you both. Having this constrain that no nick can be less then 5 characters(Minimum 5 characters).I don't know about limitation of serial(is in Hex format and it is hard drive serial) name.Having all the above in mind do you guys think there is any chance that Nic...
  20. davidck88

    Help converting vb2008 code to vb6

    Many thanks HarleyQuinn the funtionDecryptedPass is working well no(No error and produces right value or sample data).My only concern is CreatR1 function, if it handles all the cases as orginial vb2008. I run your CreatR1 function and produces the right R1 for given sample.I looked at your code...

Part and Inventory Search

Back
Top