Search:
Type: Posts; User: guitar
Search:
Search took 0.02 seconds.
-
I'm assuming it's limited to 2GB by the fact that the AsyncProp's "BytesMax" and other members are of type Long. Maybe I am wrong about that?
Works perfect for an auto updater and other things...
-
It is indeed the easiest way I've ever known to do it but I prefer to use the Winsock API or the control, mainly because:
1.) Most cases, you don't need large file downloads, but depending on what...
-
If that URL provides a directory listing, then yes. Otherwise, there is no way to know what files are in that folder (unless you have FTP access).
For downloading, I would prefer to use something...
-
Look in the VB6 CodeBank for my "Ultimate Winsock Downloader"...it uses the Windows API functions to read/write files > 4GB.
-
I think he wants to get the variable's name at runtime when there is no such thing at runtime...at least not in the compiled EXE...
And there is no logical reason I can think of, where you would...
-
Easy enough...you can save/load a UDT array directly from disk, even if it has arrays of its own, and it's very fast...and doesn't add a dependency... :p
Not sure what you mean about "metadata"...
-
-
VB6 is usually not used to make web applications...you may want to use something like Java or Flash...
The only way I can think of, in VB6, is to make it an ActiveX control which can be embedded...
-
I'll write an undo example...never used it before in any of my programs but will upload it in a few...
-
Perfect. :D
Thanks to both of you...
-
Then maybe use temporary files like a lot of programs do...instead of the array being a string of text...they could contain the paths to the temporary files...
-
Or just use Error Handling for "speed"...Collections are good...if you add a duplicate item (key) to a collection, you get an error.
But, for looping through it, Hack's method using API is the...
-
I'm pretty sure there is not...
You shouldn't need to do this, though...you can use a Collection, array, or something else to store open file paths/file numbers in your program...
-
I always write stuff to the \Documents and Settings\Username\Application Data
or if, during install, they chose "All Users" then \Documents and Settings\All Users\
I use the SHGetSpecialFolder...
-
Probably like this...
http://www.vbforums.com/showthread.php?t=530759
I would also turn this into a property of the form...a quick example...
Option Explicit
Private Const HISTORY_SIZE As...
-
My guess is that you're doing something wrong on the receiving end or maybe the sending end...no data should be getting cut off...
Also, TCP splits data up into chunks that are usually 4096 bytes...
-
I know...
Crap...I edited the wrong post...oh well. :/
-
A few little unnecessary things in there...not a very big deal though...
downlinks = Split(links.Text, vbNewLine)
'No need for all the empty strings ("")
For lngPosition = LBound(downlinks)...
-
I would use an INI file to save this. But you can also use a standard text file...just save the top/left positions.
I went ahead and wrote an example of saving all control positions on the form...
-
I use PostMessage, but SendMessage may work as well...you will probably want to send the WM_CHAR message, with the first argument being the Asc(Character) you are sending (I think).
This should...
-
Edit: Removed code, why do you want to hide/show clock and disable command prompt?
-
Merri - thanks a bunch.
Leinad - I think there are Winsock APIs for doing this, but none I am aware of. Either way, I have to have my program use the same format as the one in the CSV database.
...
-
ahn's is the same one I've always used in the past but I thought maybe mine would be faster for case-insensitivity...
But of course, Merri comes out with the faster one... :(
-
I am following instructions within a CSV file (which contains IP addresses in "numerical form"). They state this at the top of the file...using an IP address of "1.2.3.4" as an example...
I...
-
Are you using this function in a loop? Depending on size of data and how many times you are calling it, you may want to re-work your code and possibly use byte arrays instead...
Otherwise, this...
-
Try something like this...there are a lot of them on there...probably better than this one...
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=30597&lngWId=1
-
Like this?
Option Explicit
Private Sub Form_Load()
MsgBox GetBetween("i am to0 sweet for you", _
"i am ", " for you")
End Sub
-
Because the password to my e-mail is on that hard drive also...
-
:confused:
You mean a variable?
'General declarations
Option Explicit
Private strSID As String
Then use strSID to store it instead of the TextBox...
-
Everything is on that old hard drive, password to my DigiRev account, e-mail address, all my programming stuff, etc. I had that computer since about 1998 so it was just a matter of time before it...
-
I'll keep searching, but did you try that link I sent you? It tells you when a program is executed and even gives you the full path. Would not be hard to make it so if that path matches one in the...
-
There is something for this in the Windows registry but I can't find where I read it before.
You could try using this:
http://allapi.mentalis.org/vbexamples/vbexample.php?vbexample=DSCBTSHL
-
If it's already in the textbox, then what do you mean...?
Extract the sid from the data received from the http server...if you don't know how...then post the data you receive that contains the sid.
-
Here's a reusable procedure you can use...for really large files, you may want to write parts of the file at a time, in chunks. This one loads the whole file into memory and then dumps it to the...
-
You should use a program like Spy++ to find the window (a text box, drop-down, etc. is actually a Window) that contains the phone number.
You would then use the SendMessage API function to send...
-
I remember Help Workshop being good. For smaller programs, a simple, self-contained HTML file with embedded CSS can be good enough. I usually add this as a custom resource and extract it/open it at...
|
Click Here to Expand Forum to Full Width
|