|
-
Jan 10th, 2001, 04:06 PM
#1
Can someone please tell me what the GetChunk command does and how I can use it? Thanks
Gantic
-
Jan 10th, 2001, 10:37 PM
#2
Fanatic Member
If i remember corectly...what GetChunk does is attain a file Chunk by Chunk...with the maximum Chuck size specified in the code (.GetChunk, 1024). I could be wrong though.
Hope that helped,
D!m
-
Jan 10th, 2001, 11:01 PM
#3
It was a long, long time ago...in a thread far, far away when I asked something about the INET Control. What I asked was why it timed out and how I do I get the source using the Inet Control. Then, within the next day, a Jedi came and answered my question. He was a nice fellow, his name...was Chris. Just plain Chris. And he showed me how to get the source using the GetChunk method. He still around, you still see him from time to time...an old Jedi, he is, but very wise . This is the exact code he gave me:
Code:
RichTextBox1.Text = Inet1.OpenURL("http://forums.vb-world.net", icString)
ReturnStr = Inet1.GetChunk(2048, icString)
Do While Len(ReturnStr) <> 0
DoEvents
RichTextBox1.Text = RichTextBox1.Text & ReturnStr
ReturnStr = Inet1.GetChunk(2048, icString)
Loop
And now, it has been passed along a few times, hopefully to help people in need .
-
Jan 10th, 2001, 11:04 PM
#4
Guru
If you are referring to GetChunk in the context of ADO, this is used for getting and retrieving binary data from a database. You can also use it to get binary data from a file as well.
-
Jan 14th, 2001, 05:43 AM
#5
Nice story and useful info! thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|