| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> heh... http://www.ebaumsworld.com/richman.html <0> reboot's life - http://www.ebaumsworld.com/beforeaftermarriage.html <1> yo <1> i like this: http://www.codeproject.com/dotnet/ExceptionHandling.asp <2> Is there some reference for the RichTextBox control for VB6? It seems to be missing from MSDN now <3> hey <3> in vb 2005, i have a dll file that i want as an embedded resource. i right clicked the solution, went to properties, and added the file i want... my first problem is i can't set "persistence" to embedded <1> google ilmerge <3> i guess you can't embed a dll? <3> i'll try this, thanx <2> why would you want to <2> Thats like embedding a zip file in a zip file <1> to make it just one .exe <2> it defeats the purpose of a DLL <1> if you got the DLL as a precompiled binary <1> like a graphing component. but you still want your app to be one .exe
<4> Why does anyone care about that anyway? <5> nobody cares... <1> i did it for my app <6> if your inside a function and want to return back to the private sub how do you do that <1> you exit the function <6> Envador, I cant seem to get it to work. http://pastebin.ca/100277 Under the first function, you see Exit Function. In that area I want the program to stop running so the user can change his integer. <7> plz 2 turn on Option Strict <7> A program doesn't just 'stop'. <7> You have to give it something to do. <8> MJ-12, use an inputbox <6> teycho I turned on option strict.... I don't want it to stop persay I want it to start over... which I found if I tell it to return sngTotalArea then ExitFunction it works, but it seems it still does some sort of calculation because I get $0 instead of just staying blank <8> MJ-12, step through your program and look at the variables in real time <8> when you're stepping through it <8> step through it in your head as well <9> MJ-12, heck sngTotalArea after GetTotalArea() and if it is 0 do "Exit Sub" <9> heck=check :) <6> hmm <9> works ? <6> yea <6> :-) <9> MJ-12, name your cl*** variables with some prefix like "m" -> msngTotalArea . This will remind you that this variable is "cl***-based" not "internal" variable of some function/sub <10> that naming convention has been depracated <10> that's VB6-era <10> the new recommendation is to name cl***-level variables with an _ prefix <9> ok, let it be "_" :) <4> I prefer to prefix with "ThisIsACl***Member_" <9> what is the purpose of these recommendations if they change it with every new version of languages ? <9> something like "forget about our old recommends, the new one is the best ever" <9> till next <9> but in other side... "_" is good - you can distinguish it very easy :) <9> is there different color settings for cl***-scope and method-scope variables ? <8> I use camel style <8> getProjectParameters() <8> im fine with it <8> my code still works without fancy underlines <11> Halo_Four, i got your subsystem right here baby <12> I'm getting an "Address is not available from the local machine" error from winsock. Can someone help me out here? <9> what is the IP address ? <12> I think I'm going blind scanning articles on MSDN and in the VB help trying to figure it out, and I can't find it. <12> My IP address, or the one I'm connecting to? <9> not your <9> the one you are connecting to <12> 25.154.1.36 <12> Sorry, 25.154.1.42 <12> It's a pop3 server. <9> hmm.. <12> I set a breakpoint and was going through it with F8, but didn't reveal anything lol <9> I suffer from this error before but... <9> VB6 ? <12> Yea <9> let me check <13> jnamn, whats the problem? <12> I'm getting "Address is not available from the local machine" error from winsock. <9> same error here... <13> ok <13> xxx, annoying nick <9> are you sure that it starts with "25" ? <13> jn, you're trying to use 25.154.1.42 as the ip address within winsock? <12> I'm trying to connect to a pop3 server. <12> It's pop3.zoominternet.net. I used nslookup and got the IP I gave you. <13> port 110 is pop3
<12> Yea. That's what I'm using. <12> winsock.connect pop3.zoominternet.net, 110 <9> i think that you don't set port number... <12> ? <9> hey <9> enclose address in " <12> It is... I'm sorry, I left those out. <9> i get error if i don't set the port, when i place it it's ok <12> I actually have the name of the server in a variable. I set a breakpoint and used F8 to go through the code, and the variable was correct. <14> Remember to specify Winsock.Localport = 0 before you connect <12> OnErr0r--> Why? I never had to do that before... <13> i think this is all fuked up <14> So you can connect again later <12> What? <13> first thing, ___XXX_X_ change that nick please, so fukin annoying <14> Otherwise that port will be in use <12> 110? <13> remoteport=110 <12> Oh <9> Senz ?? why it is annoying ?!?!? <13> localport=0 (not required) <13> ___XXX_X_ please, its annoying <14> That's the port to which you are connecting. I'm talking about the port you're using locally <9> sorry <9> don't want to change my nick <12> But port 0 doesn't exist, does it? <13> then leave <14> JNaMN: That gets you a new random port each time <12> Fight nice now, guys :) <12> Oh <12> On the localport? <14> yes <12> Why does that matter? I believe you, but y? <14> Otherwise it will be "in use" on the second attempt <12> What will be in use? The local port? <14> yes <13> gawd <2> yes? <12> But winsock.close should fix that, shouldn't it? <14> nope <13> mswinsock in vb6 doesnt require localport to be set if he's using it as a client connect <12> Hmm... Didn't know that. <14> Unless you want to wait 4 minutes <13> just set remote host and remoteport <2> You have to close the socket if you are to accept the connection with it <12> Oh... OnErr0r--> I haven't been able to connect. Why would it be in use? <14> MindChild: We're talking about the client here <12> I haven't been able to connect because of the address not available error. <14> Try what I said <12> I'll brb then <12> Before I connect, correct? <14> yes <12> one sec <12> Still getting the Address is not available error. <14> That's another issue then <14> Firewall problem? <12> I'll check. I don't think so... <14> Which winsock error number is that one? <12> No firewall right now... <9> 10049 <12> 10049 <9> JNaMN, try to winsock.connect "www.google.com",80 <12> What about the rest of the procedure? <12> Cut it? <9> is it show the same error ? <12> What? <9> try winsock.connect "www.google.com",80 <12> Yea, but what about the same error thing? <12> I don't understand. <9> is it shows the same error like winsock.connect "pop3.zoominternet.net", 110 ? <14> JNaMN: http://www.rafb.net/paste <12> No error connecting to google... <12> OnErr0r--> Entire procedure? <9> hm..
Return to
#visualbasic or Go to some related
logs:
#stocks #windows #politics driving distance montreal/philadelphia
#winxp Dell Latitude D800 Power Button broken flv skin autohide car towing fee
#worldcup #nhl
|
|