@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> How do I store binary using the Put statement?
<1> put #filenum,,variable
<0> I did that, and it created the file, but it was supposed to be a text file, and it wasn't readable.
<1> Why would you store binary to a text file?
<0> Well, I'm new, and I guess putting it that way doesn't make sense.
<0> But how do you copy a file then?
<1> FileCopy statement
<0> Okay... Let me rephrase that...
<0> I want to send a file via winsock.
<1> read 2K, send, repeat until done
<0> What's '2K'?
<1> 2K of data
<0> Okay
<0> How do I tell it to read just 2K at a time, though?
<1> Dim b() As Byte: Redim b(2047): Get #filenum,, b
<1> winsock.senddata b



<0> Dumb question... Will that work for vb6?
<2> Whats the best way to compare two dates?
<1> explain yes
<3> The answer is yes, but the more appropriate answer is, DUH!.
<1> mbkowns: DateDiff
<2> vb6
<0> Is .NET really as much better than vb6 as some people say it is?
<1> It's much easier, in some respects
<0> Oh
<0> But vb6 can do pretty much the same stuff though, right?
<1> If you never learned to use cl***es in VB5/6, you'll find .net harder
<2> well vb6 will be pushed away eventually
<1> no, vb6 is much more limited
<0> true
<1> no 64 bit support either
<2> for future proof use net
<0> That too
<2> for small apps use vb6
<0> I mostly write small apps...
<2> can datediff do time also
<2> I need to compare datelastaccessed of a file to current time
<1> See interval
<0> Error: What kind of file do I store the binary to then?
<1> Whatever kind the original was
<2> onerror you talking to me?
<0> Well... I tried that. I tried to store the binary from a text file to another text file, and it wasn't readable.
<2> I converted time and date to integer
<1> brb
<2> I was just going to subtract but i don't think that will work
<1> JNaMN: Did you use a byte array?>
<0> Sorry, I'm not that advanced... What is a byte array?
<1> See above
<0> Oh... Like where you said about the ReDim statement?
<1> *sigh* yes
<0> Oh... No, I didn't do that the first time.
<0> So is the b(2047) what specifies 2K at a time?
<0> Error: You said to just put the bytes that I transfer into the same type of file that the original was, right?
<0> Am I the only one in here now? :)
<0> Hey Error: I got the thing to work! Thanks for your help :)
<1> np
<4> chit
<4> chit...
<5> yo
<4> what
<6> http://www.wtfur.org/temp/src/1125897024224478sg.jpg hmmm
<7> OnErr0r?
<8> nice pic
<8> i fuked her
<7> haha
<7> did you give her the layer 3 **** ? ;-p
<8> http://www.txstreetbandits.com/content/blowjobs/images/x141/thumbs/bigtop.jpg
<8> you know it
<8> http://www.masterspeaks.com/extremetours/hardcorepics/ad_hardcore_big_black_blowjob260.jpg
<8> there we go
<8> i love that one
<6> what was the deal with those old 3750's you replaced, was the emi software too expensive for them?
<8> nah dude there was no 3750 at all
<8> it was a 4908G
<8> the config looked like this
<8> http://us.f2.yahoofs.com/users/412a4c3fzdc130631/sister_flippy_of_the_nunhood/__sr_/5fb3scd.jpg?pfEDX1EBHhZLx9eu
<6> how did you get a pic of my mom?



<1> From her webcam
<6> did you check your email/
<6> ?
<1> yes, thanks
<6> k
<8> http://us.f2.yahoofs.com/users/41a74ed6z18b37107/unpredictable_redhead/__sr_/e0d2scd.jpg?pfLXX1EBbPzOACHo
<8> dude
<2> got a question
<2> anyone there
<2> in vb6 whats the command to refresn directory
<8> refresh the directory list box?
<2> ya
<2> hi senz
<2> i got my times and dates as integers
<2> and I am comparing the times and dates
<2> but it seems that sometimes when the files are open it won't refresh that until I go to the directory and hit refresh
<2> recall your memory I am looking at datelastaccess with a file and comparing that to current time
<2> sometimes programs hold the file and won't refresh the directory and If I manually go to the directory my app with detect it
<2> so I am thinking I need a way to do that
<2> Also do you know how to detect read access of a file
<8> what function are you using to get the directory?
<2> filesystemobject
<2> using that method or another do you know how to detect read access of a file?
<8> check to see if it has a refresh method
<2> i did and don't see anything
<9> hey guys, long shot here.. but i'm using a sheridan dropdown object but i can't figure out how to have it so that when a key is pressed it will jump to that letter in the drop down list.. know what i mean?
<8> sometimes
<2> number your listbox and just say highlight 3
<9> just say highlight 3?
<2> i am thinking that you can number the list
<2> and activate the number you neeed
<2> 3 was and example
<9> hmm.. yea i'm not sure.. i'm trying to figure it out at work.. and i can't seem to get it
<9> stupid 3rd party
<2> anyone ever use the FindFirstChangeNotification
<2> api
<9> noy i
<9> not i
<2> I am trying to detect if 87 wav files in a directory are in use and MSGBOX "IN USE"
<2> if any one file is in use
<2> I have tried datelastaccessed but it doesn't work everytime so I need something on the proccess use level
<2> senz I would like your help please
<0> Hey uh... Error: You remember my prob from last night, with file transfer?
<0> Does anyone know why when I try to make my .exe, I get a "Permission denied" error
<0> I made a file transfer thing using binary... It does Redim bytInput(2047); Get #filenum,,bytInput; winsock.senddata bytinput. It only sends 2Kb of my file... Does anyone know why?
<0> That's in a loop...
<0> Can someone look at my code? http://www.rafb.net/paste/results/MQDNL769.html
<10> when does gotdata1 get ***igned a value other than false?
<0> In the dataarrival event for that winsock
<0> The program is supposed to acknowledge that it received that byte.
<0> Hey Error: having another prob with that file transfer... Can you check my code?
<0> http://www.rafb.net/paste/results/MQDNL769.html
<1> Sure, I could use a laugh
<0> Ouch my feelings :)
<1> No point in redimming inside the loop
<0> Oh
<0> The prob is that it's only sending 2Kb of my file
<1> Not until the final packet, if necessary
<0> Noted
<0> But if all that's in a loop, why wouldn't it go until EOF?
<1> Where is GotData1 = true?
<0> Dataarrival for that winsock
<1> You're using ACKs?
<1> DCC?
<0> The program sends back a "RCVD" or something like that when it gets the data, then sets GotData1 = True
<1> ok, that's an ACK
<0> What's ACK? :(
<1> notification that a packet was received
<1> Not technically necessary with TCP
<0> Oh... Yea, mine is a very simple form of that I guess
<1> Anyway, what you're saying should work
<0> That's what I thought... i go try again. I tried a 32Kb file, and it only sent 2K
<1> Is it getting stuck in the inner loop?
<0> The one with doevents?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #visualbasic
or
Go to some related logs:

2fast2furious moives
#beginner
#linuxhelp
#nhl
#politics
#delphi
dkestop
#beginner
#stocks
www.dngloz.com



Home  |  disclaimer  |  contact  |  submit quotes