Search:

Type: Posts; User: smUX

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    3,399

    Re: Winsock Data Arrival issue

    Update: In case no-one responds to this and someone else needs this code too, I've written a quick hex to decimal converter:
    Public Function hextodec(str As String) As Long
    Dim vl As Long, n As...
  2. Replies
    9
    Views
    3,399

    Re: Winsock Data Arrival issue

    I know this is an old post I'm replying to, but I've been using the above DecodeChunkedMessage code in a project of mine for a while, and for the first time yet it's encountered a block size over...
  3. Re: Removing Blank Space at bottom of Website -- VB6

    It would be best to upload the source as an attachment to the forum (in the advanced posting, click "go advanced") rather than posting it directly into the post, but yeah...then anyone can look at it...
  4. Thread: key generate

    by smUX
    Replies
    6
    Views
    680

    Re: key generate

    People already have. You're asking us to talk you through every tiny step and basically write your security for you, and that's not what we do.

    Ask a specific question if you want a specific...
  5. Replies
    3
    Views
    499

    Re: mixed string Timer1, Timer2

    Form1.caption = timer1.text & " " & timer2.text

    Replace the timer1.text and timer2.text with the relevant string names that you're storing the data into
  6. Re: Removing Blank Space at bottom of Website -- VB6

    Blank space on webpages that are placed there by the HTML coding are removable, but if you find that certain tables (like a menu on the left hand side) are higher than the text on the right then the...
  7. Re: List words that contains atleast 4 characters

    http://www.webhostingtalk.com/showthread.php?t=497486 might help, they asked the same question there and there's been answers
  8. Replies
    11
    Views
    8,122

    Re: hex to degrees celsius ?

    Once I fixed the bug, the program came up with the answer (btw, the only answer in a range of 300 and +-300) in a few seconds and it would have been answered before you answered (although I accept...
  9. Replies
    11
    Views
    8,122

    Re: hex to degrees celsius ?

    Damn you! I notice a bug in my code that wasn't doing an important part of the calculating, and after fixing it *I* also found the 16/-55 algorithm :P

    However, it needs to be tested with other...
  10. Replies
    11
    Views
    8,122

    Re: hex to degrees celsius ?

    I've looked into this, and written a simple brute-force program to calculate a method for converting the decimal to Celsius using the algorithm (decimal/value1) + value2 = celsius but had no luck as...
  11. Replies
    11
    Views
    8,122

    Re: hex to degrees celsius ?

    You have everything you need to know to do it...you just have to work out the decimal value per 0.1c and work out what the value must be based on the decimal value of the hex that has been returned. ...
  12. Re: Having several forms in the same form window

    Firstly, the method you require is known as an MDI form and you set up one MDIform when you select new project then add normal forms and set them to MDIchild=true

    Secondly, although that's the...
  13. Replies
    15
    Views
    5,568

    Re: Validating Social Security Numbers

    Also if you use format(ssn,"XXX-XX-XXXX") you could have them type the 9 digits and it'd put the - in itself, no need to mess about adding them :-)
  14. Replies
    5
    Views
    785

    Re: Using MOD function

    I suppose one workaround would be to make your own custom function for dealing with large eponated (is that a word?) numbers, one that does pretty much what the mod function does but with any size of...
  15. Replies
    5
    Views
    785

    Re: Using MOD function

    Did a little playing around and actually got working results:

    Dim b As Double

    p = 23
    b = 5
    secreta = 6
    secretb = 15

    a = b ^ secreta Mod p 'I get 8
  16. Replies
    5
    Views
    785

    Re: Using MOD function

    I've had a play about and the problem is with the MOD command, declaring wouldn't make much difference. I changed the code to:

    p = 23
    b = 5
    secreta = 6
    secretb = 15

    a = b ^ secreta Mod p 'I...
  17. Replies
    13
    Views
    1,280

    Re: Is this source code block, right???

    I think (partly by the way he stressed "Got that!!" and my own personal reading of the situation previously) that he was entirely understanding of for/next loops, he just didn't understand the...
  18. Replies
    13
    Views
    1,280

    Re: Is this source code block, right???

    In "For aa = 1 to 1000" the counter would be aa, the variable used to count from 1 to 1000
  19. Re: can i edit a jpg file or a mp3 file with visual Basic

    Editing (authoring) of wave or MP3 files is legal without a licence unless you use someone else's codec to do it, but it's a lot of work unless you understand the way the compression works :)
  20. Replies
    20
    Views
    4,320

    Re: Autosaving a project in VB6

    Looks like it could be useful...if I decide to work on it I'll try to make use of it. I'm thinking about making it so the person prefixes their code with 'startbackup and suffixes it with 'endbackup...
  21. Replies
    20
    Views
    4,320

    Re: Autosaving a project in VB6

    That coupled with the incremental backup might be a good solution :)


    I tend to do coding projects on my own, my coding styles and sloppy methods don't always work well for other people, but if...
  22. Replies
    20
    Views
    4,320

    Re: Autosaving a project in VB6

    They look like the sort of thing I intended to work on, pretty much, but I like to do these things myself even if it never actually gets used...I like the practice and a challenge, and it's the way I...
  23. Replies
    20
    Views
    4,320

    Re: Autosaving a project in VB6

    It may not be compilable but at least it'll contain the bits of info you need to make it compilable. Also, in theory you could complete a partial line by looking at the differences in each line...
  24. Re: can i edit a jpg file or a mp3 file with visual Basic

    What you're asking has nothing to do with VB6 or even any version of VB, simply right click a file (mp3, JPG or whatever) and go to "open with" and choose "other" and you can specify which program it...
  25. Replies
    20
    Views
    4,320

    Re: Autosaving a project in VB6

    Except what I am trying to accomplish is an *incremental* backup system where every time the files are backed up a copy of the PREVIOUS save is safely stored and only the changes are stored...if you...
  26. Replies
    20
    Views
    4,320

    Re: Autosaving a project in VB6

    I was considering backing up the saved data files, although that still requires the user to be a regular file saver. I was also thinking about watching each file's last access time and only backing...
  27. Replies
    20
    Views
    4,320

    Re: Autosaving a project in VB6

    I'm looking more for something that doesn't distract the programmer from his/her task rather than something that reminds them to save or interferes with their coding, although if I can't find a...
  28. Replies
    20
    Views
    4,320

    Autosaving a project in VB6

    I know it's a lot to ask, but is there any way (even with another program, which might be preferable) to make VB6 IDE save the project every X minutes? If this isn't possible, instead is there any...
  29. Replies
    12
    Views
    890

    Re: need help for total time lapsed

    A better method (if your two time periods will be in the one run session of the program) would be to use gettickcount and store the value before and after then divide the difference by 1000 to get...
  30. Replies
    28
    Views
    1,376

    Re: Functions and Procedure HELP!!

    It has to be after the "End If" but you could use goto. Put "gohere:" where you want it to go and put "goto gohere" where you want it to go from
  31. Re: Is there any article about image processing for bypassing CAPTCHA?

    Although to answer the question, it certainly ISN'T impossible...just google should be where you research your answers, rather than here, as it's against the rules as mentioned.

    I've an interest...
  32. Replies
    5
    Views
    2,908

    Re: database Access connection using Visual c++

    The different forum sections are there for a REASON and if there are less readers in the section you require this is NOT a good reason to post wherever you like. You post in the VC++ section because...
  33. Replies
    97
    Views
    4,554

    Re: Is this source code, right or what???

    I'm not sure if it is POSSIBLE but it would be good manners to copy the clipboard contents to memory before putting the smilie into it then putting back the original contents afterwards
  34. Thread: Ms dos batch file

    by smUX
    Replies
    2
    Views
    633

    Re: Ms dos batch file

    Shell should be able to handle it.
  35. Replies
    5
    Views
    617

    Re: Counter

    "Counter" is a local variable in that sub, so it will always be 0 or 1. Set up a module and in it put "public counter as double"...public makes it public globally to the whole program and all its...
  36. Replies
    8
    Views
    804

    Re: [ask] how to check scrambled string?

    I think that the word "scrambled" is wrong...he probably means encrypted. Some virii use polymorphism to evade capture from the old trick a lot of virus checkers use, and I think he won't have much...
  37. Replies
    20
    Views
    1,210

    Re: Can I do that with VB6?

    Can it be done? Yes.

    Can you do it? No idea, none of us know the experience of VB you have and what you're capable of.

    Search the forum for "quiz" and you should find some examples of how...
  38. Replies
    4
    Views
    1,855

    Re: ZLib - CopyMemory - Streams

    The "visible" part of the packet may be 2-3 bytes (or 7-10 uncompressed) but the overheads that go with that data will make it an unfeasible option...for instance just the target IP address will be 4...
  39. Replies
    11
    Views
    1,199

    Re: Brute Force Search

    Your best bet is to do a speed comparison to work out where your code is slow, although in a way we already know where it is because a 4x is taking 256x as long as a 3x so maybe that point is moot.
    ...
  40. Replies
    7
    Views
    919

    Re: WebBrowser & HTML Object Library Tutorial

    Static used to have one on his website, but the site's been down a long time so unless he has moved it or something, you might be SOL as his was the only good one I knew of.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width