dcsimg

Search:

Type: Posts; User: guitar

Search: Search took 0.01 seconds.

  1. Re: VB6 Download multiple files at once: no API, no extra dependency

    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...
  2. Re: VB6 Download multiple files at once: no API, no extra dependency

    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...
  3. Replies
    6
    Views
    793

    Re: Downloads files using INET

    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...
  4. Re: Is there a way to open a 10 gig file in Classic VB and if not what is the Largest

    Look in the VB6 CodeBank for my "Ultimate Winsock Downloader"...it uses the Windows API functions to read/write files > 4GB.
  5. Replies
    25
    Views
    1,208

    Re: How to Print the Variable Name?

    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...
  6. Re: finding a replacement to the Collection class

    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"...
  7. Thread: Patcher

    by guitar
    Replies
    1
    Views
    361

    Re: Patcher

    I don't understand...
  8. Thread: Live Video Feed

    by guitar
    Replies
    3
    Views
    526

    Re: Live Video Feed

    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...
  9. Replies
    11
    Views
    676

    Re: Arrays arrays arrays... :(

    I'll write an undo example...never used it before in any of my programs but will upload it in a few...
  10. Replies
    12
    Views
    857

    Re: [RESOLVED] Overflow

    Perfect. :D

    Thanks to both of you...
  11. Replies
    11
    Views
    676

    Re: Arrays arrays arrays... :(

    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...
  12. Replies
    8
    Views
    35,835

    Re: Remove Duplicates From A Listbox?

    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...
  13. Replies
    2
    Views
    533

    Re: Getting the file name from file number.

    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...
  14. Re: detect first run of my program on any pc[RESOLVED]

    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...
  15. Replies
    11
    Views
    676

    Re: Arrays arrays arrays... :(

    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...
  16. Replies
    7
    Views
    1,073

    Re: big chunk of data in winsock

    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...
  17. Replies
    3
    Views
    597

    Re: Form Positioning

    I know...

    Crap...I edited the wrong post...oh well. :/
  18. Replies
    7
    Views
    512

    Re: Plain text textbox issue!

    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)...
  19. Replies
    2
    Views
    474

    Re: Help with Sonic Button Control

    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...
  20. Replies
    5
    Views
    1,469

    Re: Sendkeys to a specific window

    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...
  21. Replies
    4
    Views
    464

    Re: Hide/Show Clock?

    Edit: Removed code, why do you want to hide/show clock and disable command prompt?
  22. Replies
    12
    Views
    857

    Re: Overflow

    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.
    ...
  23. Replies
    7
    Views
    1,375

    Re: Any way to make this faster?

    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... :(
  24. Replies
    12
    Views
    857

    [RESOLVED] Overflow

    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...
  25. Replies
    7
    Views
    1,375

    Re: Any way to make this faster?

    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...
  26. Replies
    1
    Views
    312

    Re: Memory usage issue ?

    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
  27. Replies
    4
    Views
    428

    Re: Need Parsing Help !!

    Like this?


    Option Explicit

    Private Sub Form_Load()
    MsgBox GetBetween("i am to0 sweet for you", _
    "i am ", " for you")
    End Sub
  28. Replies
    213
    Views
    108,014

    Re: [VB6] - Multi-User Chat Example (Winsock)

    Because the password to my e-mail is on that hard drive also...
  29. Replies
    8
    Views
    798

    Re: store data in memory

    :confused:

    You mean a variable?

    'General declarations
    Option Explicit

    Private strSID As String

    Then use strSID to store it instead of the TextBox...
  30. Replies
    213
    Views
    108,014

    Re: [VB6] - Multi-User Chat Example (Winsock)

    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...
  31. Replies
    8
    Views
    573

    Re: list of programs that will not run on pC?

    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...
  32. Replies
    8
    Views
    573

    Re: list of programs that will not run on pC?

    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
  33. Replies
    8
    Views
    798

    Re: store data in memory

    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.
  34. Replies
    8
    Views
    848

    Re: Concatenating Files

    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...
  35. Replies
    3
    Views
    349

    Re: VB6 Program to Use Internet Calls

    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...
  36. Replies
    4
    Views
    482

    Re: Your thoughts on distributing help files

    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...
Results 1 to 36 of 36



Featured


Click Here to Expand Forum to Full Width