Search:

Type: Posts; User: couttsj

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: Hex String

    by couttsj
    Replies
    5
    Views
    163

    Re: Hex String

    I must have screwed something up before, because it seems to work now.
    Before:
    Text: :38522:TZ10200252.-3011-
    3a33383532323a545a31303230303235322e2d333031312d...
  2. Thread: Hex String

    by couttsj
    Replies
    5
    Views
    163

    Re: Hex String

    That doesn't work. As a matter of fact, none of the suggestions I found work because I am using an ordinary array. Apparently, to get the non-character bytes to convert properly, I have to use a...
  3. Thread: Hex String

    by couttsj
    Replies
    5
    Views
    163

    Hex String

    Found this javascript code to generarate hex strings:


    function StrToHex(str)
    {
    var arr1 = [];
    for (var n = 0, l = str.length; n < l; n ++){
    var hex =...
  4. Replies
    24
    Views
    918

    Re: Super Precision Timer

    Some time ago I experimented with getting an accurate timer. You can only get as accurate as the CPU tick counter will permit, and it is a compromise. If it is set too low, it has a negative effect...
  5. Replies
    20
    Views
    1,616

    Re: Password Protection

    No problem. My own server is too old to support this program, so I am using my desktop machine. It does not operate continuously, so you will have to let me know what hours to keep it running....
  6. Replies
    20
    Views
    1,616

    Re: Password Protection

    I had used the Date/Time stamp in localStorage because it was convenient and appeared to be universal. MS Edge proved that it was not universally applied. Upon further examination I found that it was...
  7. Re: VB6: Question - best alternative to a settings.ini file?

    I haven't used an "ini" file for ages. I find it faster, simpler, and easier to use the registry. It is a little more difficult for service programs, because they have to use the system area of the...
  8. Re: Commend button to pen an internet browser.

    Maybe this will help. I have used this routine for years to read an HTML encoded file in my default browser.

    J.A. Coutts


    Private Sub cmdHTML_Click()
    Dim TempPath As String
    Dim...
  9. Replies
    20
    Views
    1,616

    Re: Password Protection

    After a lot of trial and error, I found an answer to the MS Edge problem. By default, Edge appears to clear cookies and other site data, even if you give your site specific permission to store...
  10. Replies
    20
    Views
    1,616

    Re: Password Protection

    Sorry for the delay in responding, but other priorities got in the way. Using the modified code from w3schools below, I was able to narrow down the problem.


    <!DOCTYPE html>
    <html>
    <head>
    ...
  11. Re: Is it possible to change the color of this one in the form?

    I agree with Elroy. I just use a Label Box.

    J.A. Coutts
  12. Replies
    20
    Views
    1,616

    Re: Password Protection

    I ran into a problem using Edge on Windows 11. For reasons unknown, it does not store the Date/Time stamp in Local Storage when setting up the account. I am not that familiar with either Win 11 or...
  13. Replies
    47
    Views
    19,586

    Re: VB6 - Simple Sock

    Data normally requires a header, or at the very least some kind of End-Of-Data. In the world of HTML, the header is a variable length defined by ending in a double CrLF. More often that not, the...
  14. Replies
    47
    Views
    19,586

    Re: VB6 - Simple Sock

    The "yellowhead.com" domain name does not belong to me anymore. However, for as long as it lasts, it can still be reached at "http://96.53.96.50/yellowhead/documents/jcrypt.dll".

    J.A. Coutts
  15. Replies
    47
    Views
    19,586

    Re: VB6 - Simple Sock

    You are obviously sending and receiving data. You are just not reacting to it properly. You sent 21 bytes, and the other end sent 924, 866, 5554, 11446, and 27292 bytes in separate packets. You can...
  16. Thread: C DLL for VB6

    by couttsj
    Replies
    14
    Views
    623

    Re: C DLL for VB6

    I use:
    ------------------------------
    Make DLL's In Visual Basic v.2
    (c) 2004 DanSoft Australia
    ------------------------------
    Just search for "make dll dansoft".

    J.A. Coutts
  17. Replies
    3
    Views
    281

    Re: bcrypt password hashing

    See:
    https://www.vbforums.com/showthread.php?856681-VB6-Simple-Hash-Program

    J.A. Coutts
  18. Replies
    23
    Views
    1,139

    Re: Transmit Executables

    This all started when I attempted to send an associate a copy of PicServer to test. I first of all zipped it and emailed it to him. Unfortunately he used Gmail, and it was silently dropped. It was...
  19. Replies
    23
    Views
    1,139

    Re: Transmit Executables

    If your clients trust you, why can't you supply a hash of the executable, which they can verify on the receiving end.

    J.A. Coutts
  20. Replies
    23
    Views
    1,139

    Re: Transmit Executables

    That's the idea behind this. I intend to add it to PicServer once I have confirmed that the encryption is adequate.

    J.A. Coutts
  21. Replies
    23
    Views
    1,139

    Re: Transmit Executables

    Zip format worked for a long time, but recently Google Chrome started dropping these as well.

    J.A. Coutts
  22. Replies
    23
    Views
    1,139

    Re: Transmit Executables

    Base64 is available from the command line:
    --------------------------------------------------------
    certutil -encode setup.exe tmp.b64 && findstr /v /c:- tmp.b64 > data.b64

    certutil -decode...
  23. Replies
    23
    Views
    1,139

    Transmit Executables

    I discovered a way to get around the problem of web bowsers (eg. Google Chrome) and mail servers (eg. Gmail) blocking executable files without any notification or bypass method. The servers do not...
  24. Replies
    2
    Views
    2,187

    Re: VB6 - Add to Hash using CNG

    This is quite an old post, and I had to download it to answer your question. I believe that this particular program was written to handle latin characters only. The StrToByte routine will not handle...
  25. Re: hex to based64 conversion gives different result from online tools

    Without using the class:


    Option Explicit

    Private Declare Function CryptBinaryToString Lib "Crypt32.dll" Alias "CryptBinaryToStringW" (ByRef pbBinary As Byte, ByVal cbBinary As Long, ByVal...
  26. Replies
    20
    Views
    1,616

    Re: Password Protection

    Initially, I had planned on using a hash function, but I wanted something that would work with HTTP, and crypto functions are only supported on HTTPS with most browsers. I did find an SHA-256 hash...
  27. Replies
    20
    Views
    1,616

    Re: Password Protection

    I think I have figured out a way to resolve the security issue with resetting the password. It requires the server operator to reset the user's password to a preset value. The user then clears the...
  28. Replies
    20
    Views
    1,616

    Re: Password Protection

    Although there are some similarities, this is not cryptography. The closest thing I can find is the Rnd function in VB.
    ---------------------------
    For any given initial seed, the same number...
  29. Replies
    20
    Views
    1,616

    Re: Password Protection

    What you need to remember about this system is that all the precautions that were necessary with static passwords are no longer needed. If there is no network activity for 2 minutes on Firefox, it...
  30. Replies
    20
    Views
    1,616

    Re: Password Protection

    There was a problem with the original version of PicServer that was resolved in the service version, and I believe you are using a modified version of the original. The best way to resolve this is...
  31. Replies
    20
    Views
    1,616

    Password Protection

    Protecting passwords is not a simple task. For material that is not highly sensitive, it is enough just to make it difficult for the hacker. That involves using passwords at least 8 characters in...
  32. Thread: Strange Error

    by couttsj
    Replies
    5
    Views
    612

    Re: Strange Error

    What this tells me is that newer versions of Firefox block script sources by default, and have to specifically be authorized. I assume that Chrome and Edge do the same, but I cannot confirm that. If...
  33. Thread: Strange Error

    by couttsj
    Replies
    5
    Views
    612

    Re: Strange Error

    Had some success. Added a Meta Tag:
    <meta http-equiv='Content-Security-Policy' content='default-src *'>
    as suggested by:...
  34. Thread: Strange Error

    by couttsj
    Replies
    5
    Views
    612

    Re: Strange Error

    Running it on Version 56 produces:
    Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src file://”). Source: adjust().

    I ran this on V56 because V92...
  35. Thread: Strange Error

    by couttsj
    Replies
    5
    Views
    612

    Strange Error

    The following page works great on Firefox V56. If scripts are not enabled, the page displays the message and exits.


    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    ...
  36. Replies
    12
    Views
    770

    Re: Windows 11 forces Edge

    This may be a little off topic, but Edge is a real pain in the butt on Win 10. My wife keeps complaining about Edge c/w Bing popping up when she opens her computer. I did a search and disabled Edge...
  37. Replies
    8
    Views
    725

    Re: src path question

    You are 100% correct; the user should not be able to access files outside of the shared directory. My server does do that, but I was not aware of how the browser handled the external script. This...
  38. Replies
    8
    Views
    725

    Re: src path question

    Thanks wqweto. What you are saying makes sense. I was indeed trying to load the file from a directory below the share path. I was trying to prevent the client from directly accessing the file, but it...
  39. Replies
    8
    Views
    725

    Re: src path question

    Using the Web Console is how I traced the problem. When I moved the file to the shared directory, it operated correctly.

    J.A. Coutts
  40. Replies
    8
    Views
    725

    [RESOLVED] src path question

    When loading the following script as a file, the "../test.js" executes correctly from the preceding directory of where the script was loaded from.


    <!DOCTYPE html>
    <html>
    <head>
    <meta...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width