| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> hm.. <1> yes <2> http://www.rafb.net/paste/results/7n4ym523.html <0> your port is 0 <2> The code's a little messy... <1> Btw, have you tried the IP instead of the address? <2> No... I'll try. One sec <1> Guess you've never heard of the DataArrival event either :P <2> Wait. <0> JNaMN, i think that the port is 0 <0> try to hard code it <1> A breakpoint would verify that <0> like sckEmail.Connect strServer, 110 <2> If you look at my code, I have a loop with DoEvents that waits until GotData = True. My DataArrival event sets GotData = True. <1> ok <3> jnamn, are you setting your local ip?
<2> No... Didn't know I could set my own ip... <3> dont worry <3> you shouldnt <2> lol <3> it does it automagically <3> just asking <2> I'm wasting all you guys' time... sorry <3> nah <3> but yea <3> hehe <2> :) <0> JNaMN - just hard code port to be 110 and try again : like sckEmail.Connect strServer, 110 <0> i get this error if i set remote port to 0 <1> Never used a debugger before? <2> No... <1> Set a breakpoint and look <2> At what exactly? lol <1> *sigh* <0> hah :)) <2> Hey I tried to connect with IP, as suggested earlier, and I just realized I didn't get an error <1> dns problem? <1> It resolves here <2> It's resolving here too I think <3> bah <2> At least everything else is resolving... <3> just have soemone write the app for you <2> No one else around here that can :( <1> ah.. error event has the winsock error number list and description <1> Couldn't remember wtf it was :/ <0> may be IP address is malformed or port is 0 <1> http://msdn.microsoft.com/library/en-us/mswnsk98/html/vbevtErrorEvent.asp <2> I have a message box pop up in the winsock_error that tells the number and description. <4> Ok one more stupid question from me.... how can I make it so the cancel button on a input box works and also when a user inputs either text or a negative number it wont allow it? Do I do a if then type statement? <0> JNaMN, replace this line 'sckEmail.Connect strServer, intPort' with this one -> sckEmail.Connect "24.154.1.41",110 <1> JNaMN: I meant for my own reference, without needing an actual winsock control <2> Oh <2> XXX--> I tried that, and it worked apparently. They though it might be a dns issue. <2> *thought <2> But dns is resolving everything else. <0> it's not DNS. <1> IP works and address does not? <0> if your IP address is malformed like "0.0.0" or "0" or "0.0.0.0" you will get that error <2> I'm starting to think you're right XXX. Let me try a different breakpoint and check <1> That's what I was trying to determine <2> OnErr0r--> Correct <2> Let me do the breakpoint brb <0> also if port is 0 this error will happen again <1> Additionally, I didn't mean alter your code to do that, I meant put the address in your textbox, or input control <1> If you've ****ed up the input information, that's your own problem, not winsock's <0> JNaMN the problem in code is reading of that "unap.prf" file - you don't get result as you expect... <2> My input isn't a textbox, it supposed to be stored in a random access file. <1> Which is why I said "input device" <2> I'm trying a breakpoint wait <1> I didn't really look at the code <0> just put MsgBox ProfInf.strPServer <1> msgbox, heh <0> after Close #1. Also put MsgBox ProfInf.strPPort <2> I FIGURED IT OUT... kind of. <1> Boys, learn to use Debug.Print and breakpoints in code <0> for debug purposes only :) <2> I set the breakpoint and used F8. XXX was right, the dang input is setting my port to 0... I didn't notice that before. I wonder why?
<0> :)) <1> A breakpoint is enabled by simply clicking to the left of the line of code in the IDE <1> The debugger then stops there <1> At that point you can mouseover the variables in question <5> leet <2> Thank you OnErr0r. that was one of the first things I learned in VB... <1> No dumb*** msgboxes nor guesswork <1> You learned but never use it? <2> I used it... <1> Not very worthwhile then, is it? <1> once <2> I used breakpoints and F8, and stepped through the code. <1> ok, enough spedtards for one day <2> lol <2> Well, XXX was right. The port was being set to 0. Looking at my code, can someone tell me why line number 11 isn't working? <4> Ok one more stupid question from me.... how can I make it so the cancel button on a input box works and also when a user inputs either text or a negative number it wont allow it? Do I do a if then type statement? <2> Sounds like you need If then MJ <0> lool :) <2> I'm not as smart as a lot of people in this chat (onerr0r, xxx, senz etc), but I figured that out. <2> XXX, did you look at line 11? <2> It's supposed to set my port, but it's setting it to 0... <0> can you copy/paste contents of that unap.prf file ? <2> To rafb? <2> Sure if it'll let me. <0> yes <0> is it text file or binary one ? <2> It's .txt <0> heh :) but it is "readable" or not ? i can rename JPG file as .TXT but that don't change it contents :) <2> Yea, it's readable. Sorry didn't understand the question lol <2> http://www.rafb.net/paste/results/Z092yf86.html <0> so, my english in not my "strongest knowledge" :) eheheh <2> Mine either <2> You don't have to answer, but what nationality XXX? <2> Just wondering <0> and what is declaration of Profile structure ? <0> I'm Bulgarian <2> Cool <2> I'm German... Off the subject, though. What do you mean declaration of Profile structure? <2> You mean the type statement? <0> yes <2> Paste it, too? <6> If you need to share some code use a service like http://nopaste.snit.ch or http://www.rafb.net <0> oh yeah, in VB it's names "Type" :) <2> I'll paste it. One sec <2> http://www.rafb.net/paste/results/JNs9JH81.html <0> let me try it with my code and debug it <2> Okay <0> wow ! :) <0> sizes in Profile type differs from sizes in file man... :) <0> want a screenshot ? <2> Sure... <2> What do you mean about sizes? <4> how can I check for a number if the variable is a string? <2> MJ use val function <0> you declare for example first field in file to be 15 chars long <4> When I try I get ErrorOption Strict On disallows implicit conversions from 'String' to 'Double'.C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\Paint Job Estimator\Paint Job Estimator\Form1.vbPaint Job Estimator <0> but in file it is different... <4> val function? <4> what is that? <2> God... I thought I was a newb lol <2> MJ... Val returns a number from a string <2> or other variable <2> XXX--> It's different? <4> hmm <2> MJ--> Put val(yourstringvariable) <0> what was the address where i can upload image ?? <2> ? <0> imageshack.com ? <2> I don't know :( <0> ok, look <7> How does one enumerate the fonts that the richtextbox control will support <7> vb6 <0> you try to "fill" that type with data from file
Return to
#visualbasic or Go to some related
logs:
#goal scrlk #sex pronson pinchot halo 3 iso
nucor stocks sucks ww1 tready of Versailles
#sk8dvdr starircd #narcotics
|
|