Search:

Type: Posts; User: couttsj

Page 1 of 13 1 2 3 4

Search: Search took 0.24 seconds.

  1. Replies
    0
    Views
    58

    Default Connection Timeouts

    According to RFC 7230:
    ----------------------------------
    A client, server, or proxy MAY close the transport connection at any time. For example, a client might have started to send a new request...
  2. Thread: Extending VB6

    by couttsj
    Replies
    55
    Views
    1,718

    Re: Extending VB6

    I am surprised that the major advantage of VB6 has not come up in this thread, and that is RAD (Rapid Application Development). Run your new program in the IDE, and it highlights each problem. Edit...
  3. Re: What is the best way to hide online database password?

    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...
  4. Replies
    16
    Views
    462

    Re: Create random value from string.

    You are right. That permutation count is wrong. I used an online calculator for 32 characters when I was using an SHA-256 hash. For the 14 character string I am now using, the number is ...
  5. Replies
    16
    Views
    462

    Re: Create random value from string.

    posted in error!
  6. Replies
    16
    Views
    462

    Re: Create random value from string.

    I ran several text strings with varying lengths using seed values 1 through 254, and there were no duplications in the shuffled strings. Then I ran the string "UserIDpassword" through 1270 loops with...
  7. Replies
    16
    Views
    462

    Re: Create random value from string.

    It appears that I did not describe the purpose adequately. The seed is used to shuffle the string bytes, and the shuffle must be reversible. That is to say, the old string must produce a seed that is...
  8. Replies
    16
    Views
    462

    Create random value from string.

    I am trying to create a random byte from a string to use as a seed. What I have so far is this:


    Private Declare Function WideCharToMultiByte Lib "kernel32" (ByVal CodePage As Long, ByVal dwFlags...
  9. Replies
    0
    Views
    153

    Background Update problem

    Some time ago, I discovered a bunch of background update files in my temp directory:
    "MozillaBackgroundTask-CA9422711AE1A81C-backgroundupdate-xx"
    In each directory there was 2 empty database files:...
  10. Replies
    13
    Views
    1,308

    Re: [RESOLVED] Userid question

    I was disappointed that I did not get a response to the question, but I found the answer somewhat by accident searching for something else. Current versions of Chrome, Edge, Firefox, and Opera only...
  11. Replies
    7
    Views
    513

    Re: PicServer problem

    Very good question. I am using Firefox V56. The only add-on is NoScript. So I tested it with Firefox V92, also with NoScript. Low & behold, it does not repeat the connection on a mouse over. So it...
  12. Replies
    7
    Views
    513

    Re: PicServer problem

    I am fully aware that HTTP does not maintain a connection, but why does moving the mouse over a link without clicking on it create another connection?

    J.A. Coutts
  13. Replies
    7
    Views
    513

    PicServer problem

    I ran into a small issue with PicServer, that I can't explain and I am not sure how to handle. After the directory listing is sent to the browser, the browser closes the connection. If after 5...
  14. Replies
    13
    Views
    1,308

    Re: [RESOLVED] Userid question

    I originally used cloudflare to do the hash.


    <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9/core.js"></script>
    <script...
  15. Re: How do ActiveX DLLs actually store their exported functions?

    This is my understanding, which may not be entirely accurate and lacks technical terms. An ordinary DLL has one or more entry points which you must define (as in API function definitions). When...
  16. Replies
    13
    Views
    1,308

    Re: Userid question

    I needed a fixed, unique, hidden value to use as a seed for creating a key that is used in shuffling a hash of a password plus salt. That hash is stored as a cookie. In order for a hacker to learn...
  17. Replies
    38
    Views
    1,950

    Re: [RESOLVED] Why can't Enum of VB6 be a string?

    The best thing about VB6 is the edit and continue feature. Since JS is a script like VB6 is in the IDE, I don't see why that functionality could not be built into it. I can dream can't I?

    J.A....
  18. Replies
    13
    Views
    1,308

    Re: Userid question

    I believe that I have resolved the issue. When it came time to add the cookies, I realized that the expiry date was close to being unique. So I added the date/time to local storage.

    J.A. Coutts
  19. Replies
    38
    Views
    1,950

    Re: Why can't Enum of VB6 be a string?

    I am currently working with Javascript, and I certainly agree with you. It is a pain in the butt, and makes me appreciate VB6.

    J.A. Coutts
  20. Replies
    13
    Views
    1,308

    Re: Userid question

    That is exactly what I said in post #4. That is why I need a fixed unique hidden value to act as a key source. In a non-browser program, I used the User SID.

    J.A. Coutts
  21. Replies
    19
    Views
    3,677

    Re: need help on multi thread pinger

    Have a look at:
    https://www.vbforums.com/showthread.php?877505-How-to-get-the-ARP-table
    It uses an "arp" call, but all UDP calls exhibit the same problem; they have to wait for a timeout because...
  22. Replies
    15
    Views
    5,016

    Re: How to get the ARP table.

    Sorry, but I block scripts, so I have never seen your ad.
    J.A. Coutts
  23. Replies
    13
    Views
    1,308

    Re: Userid question

    The first application that used the Fisher-Yates shuffle was secure, but the one I am currently working on will not be. Neither are used to connect to a standard server over port 443.

    J.A. Coutts
  24. Replies
    13
    Views
    1,308

    Re: Userid question

    By using a unique value from the logged in user, I attempted to provide some degree of protection for the connecting parties password. The password was hashed and then the hashed password was...
  25. Replies
    15
    Views
    5,016

    Re: How to get the ARP table.

    Probably. The Sub ProcMsg simply adds it to the Textbox at the moment.

    J.A. Coutts
  26. Replies
    15
    Views
    5,016

    Re: How to get the ARP table.

    That is my network Packet Analyzer program.
    https://www.vbforums.com/showthread.php?783709-VB6-Packet-Ananlyzer

    J.A. Coutts
  27. Replies
    2
    Views
    3,356

    Re: VB6 - Fisher–Yates shuffle

    I found a shuffle routine implemented in JavaScript, but unfortunately it doesn't produce the same results as the Fisher-Yates routine. I find it much easier to implement the JS routine in VB6 than...
  28. Replies
    13
    Views
    1,308

    [RESOLVED] Userid question

    In one of my applications I used the user Security ID (SID) to create a key that was used to shuffle the user provided password. Then I hashed the result (SHA-256) to create the actual password. Then...
  29. Replies
    0
    Views
    535

    PicServer as Service

    PicServer has been made into a service. It is quite a bit more complex than the original, and is called PicSvc.

    PicSvc requires the use of NTSVC.ocx. To allow some trouble shooting in the IDE,...
  30. Re: Why does chrome block downloading my application

    Because that's what chrome does. They block any download they consider executable, whether zipped or not. They used to do that only in Gmail, but recently started in chrome as well. What I have...
  31. Replies
    27
    Views
    2,016

    Re: Simplified Picture Server

    Can you elaborate? I have zero experience with cookies. It seems to me that I would still have to instruct the browser to save the encrypted/encoded password supplied by the user.

    J.A. Coutts
  32. Replies
    27
    Views
    2,016

    Re: Simplified Picture Server

    jg.sa;

    "Asking for a Username and Password then validate against AD to auth."
    I have done something similar in the past using an Access database. In that case I controlled both ends. In this case...
  33. Replies
    27
    Views
    2,016

    Re: Simplified Picture Server

    I may have misunderstood your question here. Are you talking about password protection or encryption? If password protection, are you talking about individual or group passwords?

    J.A. Coutts
  34. Replies
    27
    Views
    2,016

    Re: Simplified Picture Server

    I also intend to make it optional to run it as a service and to log access to a file instead of the screen.

    J.A. Coutts
  35. Replies
    27
    Views
    2,016

    Re: Simplified Picture Server

    No problem. I intend to add TLS 1.3 myself. BTW, the link times out.

    J.A. Coutts
  36. Replies
    27
    Views
    2,016

    Re: Simplified Picture Server

    In theory, PicServer has been updated to accept non-Latin character sets. I say in theory because it was extremely difficult for me to test properly. The best I could do was to produce specially...
  37. Replies
    11
    Views
    630

    Re: Problem with InkEdit Control

    Following wqweto's advice, the following works properly.


    Private Sub cmdtest_Click()
    Dim sUtf8 As String
    Dim sTmp As String
    sUtf8 = Utf8ToStr(bHebrew)
    txtDisp = sUtf8 & vbLf...
  38. Replies
    11
    Views
    630

    Re: Problem with InkEdit Control

    The full code is available here:
    https://www.vbforums.com/showthread.php?892896-UTF-8-Demo
    It looks like the display of the Hebrew string is somehow affecting the display of the ASCII display...
  39. Replies
    11
    Views
    630

    Re: Problem with InkEdit Control

    I will make it simpler.


    Private Sub cmdTest_Click()
    Dim sUtf8 As String
    Dim sTmp As String
    sUtf8 = Utf8ToStr(bHebrew)
    sTmp = sUtf8 & vbLf & HexDump(bHebrew)
    Debug.Print...
  40. Thread: UTF-8 Demo

    by couttsj
    Replies
    0
    Views
    383

    UTF-8 Demo

    Attached is a UTF-8 demo of several Unicode samples; ASCII, Spanish, Japanese, Chinese, & Hebrew. UTF-8 byte arrays are converted to Unicode strings and back again. An InkEdit Control is utilized in...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width