| | |
Its a matter of converting it i guess...
Please support our Pascal and Delphi advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
thats because vb doesnt do the #$ notation.. I believe its something like vbCrLf .. but I dont do vb, its pointless.
and I believe VB still has a pos function where you can test if its > 1 or not.. check the helpfile
and I believe VB still has a pos function where you can test if its > 1 or not.. check the helpfile
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
•
•
Join Date: Nov 2007
Posts: 100
Reputation:
Solved Threads: 2
i think putting that in actually worked! lol! niiiiiice!
but now im stuff in the data retreival part.. i need to look into that before i ask more questions.... If you care to... you could look into what i did wrong on that part...
I think that did it tho... it made it through the procedure** ermm the subroutine. 
thanks a million... now for the next part.. im sure you can do it LizR
but now im stuff in the data retreival part.. i need to look into that before i ask more questions.... If you care to... you could look into what i did wrong on that part...
I think that did it tho... it made it through the procedure** ermm the subroutine. 
thanks a million... now for the next part.. im sure you can do it LizR
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
Debugging is always the answer
Follow the data you get back, look at its values, look at what your code does.
I dont have vb6 to put it in. (or rather its around on a cd somewhere, but I am not loading it)
Follow the data you get back, look at its values, look at what your code does.
I dont have vb6 to put it in. (or rather its around on a cd somewhere, but I am not loading it)
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
•
•
Join Date: Nov 2007
Posts: 100
Reputation:
Solved Threads: 2
ok well, i guess ill take the remaining bit of it to the VB forum. If you are interested in helping me figure out how to parse the proper characters, I think the only problem is a matter of syntax at this point LizR.
The line: buffer = Winsock2.GetData(TmpData, vbString)
seems to be the only part the is keeping this code from parsing the text. As always, thank you and any help is certainly appreciated.
Pascal and Delphi Syntax (Toggle Plain Text)
Private Sub Winsock2_DataArrival(ByVal bytesTotal As Long) Dim buffer As String, S As String, TmpData As String Pause 1.5 buffer = Winsock2.GetData(TmpData, vbString) If InStr(1, "abc123", buffer) > 0 Then
The line: buffer = Winsock2.GetData(TmpData, vbString)
seems to be the only part the is keeping this code from parsing the text. As always, thank you and any help is certainly appreciated.
Last edited by squidd; Nov 10th, 2008 at 4:00 am.
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
Put a break point on the first line in your data retrieval code
Add a watch to the value of the data returned eg buffer
Step through the code.
Most likely the issue is the value of buffer, if not, make a dummy app and play around with string functions till you find the one you want and how to use it
Add a watch to the value of the data returned eg buffer
Step through the code.
Most likely the issue is the value of buffer, if not, make a dummy app and play around with string functions till you find the one you want and how to use it
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
![]() |
Similar Threads
- fstream Tutorial (C++)
- Quicktime Buffer Overrun Error (Viruses, Spyware and other Nasties)
- HELP - can't access Yahoo Mail (Viruses, Spyware and other Nasties)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: Problem "..system32\adortl100.bpl can't be installed..
- Next Thread: looking for server client example or help delphi
| Thread Tools | Search this Thread |
Tag cloud for Pascal and Delphi







I am so close to getting this.