Search:

Type: Posts; User: couttsj

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: VB6 and (S)FTP

    by couttsj
    Replies
    5
    Views
    136

    Re: VB6 and (S)FTP

    See:
    https://www.vbforums.com/showthread.php?896949-Encrypted-File-Transfer
    It is designed to send encrypted files to the listening end, but could be modified to work the other way around.

    J.A....
  2. Replies
    12
    Views
    436

    Re: Buttons design and caption

    See if this thread is close to what you are after:

    https://www.vbforums.com/showthread.php?880827-Colored-Command-Button

    J.A. Coutts
  3. Replies
    2
    Views
    156

    Configuring IP Address

    I know this doesn't have a lot to do with VB, but the information could be valuable to VB programmers. In the past, when a new device is to be added to the network, it had a default address (like...
  4. Replies
    8
    Views
    364

    Re: Algorithm speed after compiled

    You need to force higher precision in the calculation, and you have to realize that there is a minimum because of the Tick Counter.


    Dim Start as Double
    Start = Timer
    ..
    ..
    ..
    Debug.Print...
  5. Re: Help with winsock class module to create array as server.

    CSocket was originally developed by Oleg Gdalevich as a replacement for MSWinSck. Emiliano Scavuzzo improved upon it with CSocketMaster, and I converted it to support IPv6 with cSocket2. With...
  6. Replies
    38
    Views
    1,050

    Re: Add-Ins, what do you use them for?

    The only Add-in I use is Make Standard DLL from Dansoft. The advantage of a standard DLL is that it does not have to be registered. The downside is that all calls to the DLL have to be defined like...
  7. Replies
    8
    Views
    4,893

    Re: (VB6) - Secure Messaging

    This is Version 3. It is a Client-to-Client messaging system similar to email. The objectives of this version were:
    1. Client authentication.
    2. Secure transmission.
    3. Secure storage.
    4. Secure...
  8. Replies
    5
    Views
    283

    Re: ballon tootip on treeview

    By default, balloon notifications are disabled on Win 11 and probably on Win 10 as well. See:
    https://www.vbforums.com/showthread.php?896557-RESOLVED-Shell_NotifyIcon-not-working-on-Windows-11
    ...
  9. Re: Winsock Close : making sure it closed regardless how form ends or windows shutdow

    I have already explained this to him when he logged in as jenniger9. A well behaved application notifies the other end of its intention to close the connection and waits for the other end to close...
  10. Re: how to check if the .exe is already opened

    I use the following routine. It has the advantage of restoring the owned top level window. Flashbox is a timed introduction window.

    J.A. Coutts


    Option Explicit

    Const gAppName As String =...
  11. Replies
    3
    Views
    310

    Re: server to client question

    See
    https://www.vbforums.com/showthread.php?866791-(VB6)-Secure-Messaging
    for example.

    J.A. Coutts
  12. Replies
    3
    Views
    310

    Re: server to client question

    There are multiple things that can cause a connection to be lost, the most common of which is the computer going to sleep. The client should send a periodic "keep alive" signal. I use a single byte...
  13. Replies
    12
    Views
    730

    Re: Set focus

    To speed up program loading, MS long ago delayed form display until after the Form_Load was complete. Setting the TabIndex of TxtChar to 0 will cause it to take the focus when the form is displayed....
  14. Replies
    6
    Views
    965

    Re: MS Office Click-to-Run Service

    Finally found the source of the problem. It is caused by a scheduled task called "Office ClickToRun Service Monitor". To disable this task, search for the Task Scheduler and expand the library....
  15. Replies
    2
    Views
    339

    eventhubprofile.xml?

    I submitted this question to Microsoft Community, but to date there have been no answers that actually relate to the question.

    The Temp directory on Windows 11 has to be cleaned out periodically,...
  16. Replies
    11
    Views
    1,348

    Re: Encrypted File Transfer

    Version 2 uses TLS 1.3 protocols to establish the connection with the receiver. By default ECDH_P256 is used. Theoretically ECDH_P384 or ECDH_521 could also be used, but they have not been tested....
  17. Replies
    11
    Views
    1,348

    Re: Encrypted File Transfer

    So I came up with a way to get direct access to SendComplete without depending on DoEvents at all. I created a new member variable in SimpleSock called "m_bRecEnd" and set it at the same time as...
  18. Replies
    11
    Views
    1,348

    Re: Encrypted File Transfer

    wqweto
    Using PeekMessage, is there a way to determine if a specific message is in queue? I just need to know the "SendComplete" message is there, as I can remove the code from the event itself.
    ...
  19. Replies
    11
    Views
    1,348

    Re: Encrypted File Transfer

    After a little research, I discovered that the use of "DoEvents" seems to be quite controversial. Most of the problems oriented around the use of DoEvents in conjunction with long winded loops...
  20. Replies
    35
    Views
    1,500

    Re: Bringing Civility Back to the Forum

    This generally happens when we get a controversial issue. Some respondents can have a personal experience that does not permit them to see the alternatives. There is nothing wrong with this. It just...
  21. Replies
    38
    Views
    4,961

    Re: Certificate Verify

    Although the clsCrypt.cls & clsHKDF.cls routines are the same for both the Client and the Server, the networking part of the program had to be rewritten. This was necessary because the working...
  22. Replies
    38
    Views
    4,961

    Re: Certificate Verify

    I ran into a problem that I am having a very difficult time trouble shooting. To streamline TLS 1.3 encryption, I moved the connection portion from the networking part of the program to its own...
  23. Replies
    22
    Views
    1,717

    Re: Some General Networking Questions

    That is a code problem. The Winsock control does not generate an error when it does not connect. When it successfully connects, it generates a Winsock1_Connect Event.

    Is this code your own, or did...
  24. Replies
    22
    Views
    1,717

    Re: Some General Networking Questions

    On the Wide Area Network (WAN), the IP address is what is used to connect 2 machines. That address is assigned by your Internet Service Provider (ISP). The Internet does not understand names, but you...
  25. Replies
    22
    Views
    1,717

    Re: Some General Networking Questions

    MSWINSCK.OCX is a VB6 component that your program is using and must be installed on the target computer. Even though modern Windows computers have a lot of the required components already installed,...
  26. Replies
    22
    Views
    1,717

    Re: Some General Networking Questions

    Question 1. - On an IPv4 network, 127.0.0.1 is known as the loopback address. I presume you are communicating using TCP/IP.

    Question 2. - You are probably operating on a local area network (LAN)...
  27. Replies
    38
    Views
    4,961

    Re: Certificate Verify

    Thanks for responding wqweto, as I was struggling to determine what Ardata was asking. I have limited knowledge of bitcoin, and the only Public/Private keys that I know of are ECC keys, and that did...
  28. Thread: VB6 exe

    by couttsj
    Replies
    22
    Views
    1,444

    Re: VB6 exe

    To speed up applications, MS long ago modified VB to postpone form display until after the form load process was complete. A MsgBox halts program execution until the user responds to the MsgBox. As...
  29. Replies
    41
    Views
    9,332

    Re: JACMail4 with TLS 1.3

    The email service that I use informs me of all spam attempts, so I catalog and trace the source for each of them. Then I report the spam to AbuseIPDB. About 97% of spam is bounced by require_ptr....
  30. Replies
    11
    Views
    1,348

    Re: Encrypted File Transfer

    In an attempt to determine if the DoEvents loop was necessary or not, I changed the Record length to 32,768 bytes and introduced a 500 ms delay in the receiving decryption routine. I then added a...
  31. Replies
    23
    Views
    3,969

    Re: Password Protection

    Wasn't sure where to put this post, but it is related.

    It looks like the online world is finally starting to recognize the lack of security presented by user defined passwords, as more and more...
  32. Replies
    11
    Views
    1,348

    Re: Encrypted File Transfer

    wqweto;
    I agree that it is not the best of code, but I had to wait for Winsock to notify me that the current record had been sent and I did not want to use the SendComplete routine directly. Any...
  33. Replies
    11
    Views
    1,348

    Encrypted File Transfer

    Attached are sample programs that facilitate sending a file over the WAN (Wide Area Network) fully encrypted.

    Transferring a file unencrypted over the Internet using SimpleSock is usually quite...
  34. Thread: VB6 exe

    by couttsj
    Replies
    22
    Views
    1,444

    Re: VB6 exe

    As Baka has said, there is probably a support file missing on the target machine. If you run the Package & Deployment Wizard, it will tell you what is needed. The ones you have listed are usually...
  35. Replies
    5
    Views
    736

    Re: GMail Using OAuth 2.0

    OAuth2 seems to be entirely oriented to browser usage. I do not want to engage a browser just to satisfy OAuth2. Is there a way around this problem?

    J.A. Coutts
  36. Re: FYI: Scrollbar Theme Fade-in-out (breath light) feature on Win11

    I personally find the disappearing arrows and shrinking scroll bars extremely annoying on Windows 11. I only wish I could disable them.

    J.A. Coutts
  37. Replies
    31
    Views
    1,434

    Re: Error Trapping in an Executable

    It is not an error trapping routine. PrintDebug only reports what you tell it to report. Assuming you use PrintDebug in the IDE to provide information as you progress through your program, that same...
  38. Replies
    31
    Views
    1,434

    Re: Error Trapping in an Executable

    That's the whole idea. You send all debug statements to the PrintDebug routine. Without the DbgFlg set, all Debug.Print statements function in the IDE as normal. In the executable, Debug.Print...
  39. Replies
    31
    Views
    1,434

    Re: Error Trapping in an Executable

    That will work. What I do is convert and Debug.Print lines to PrintDebug. Then it works in the IDE as well as the executable.

    J.A. Coutts
  40. Replies
    31
    Views
    1,434

    Re: Error Trapping in an Executable

    Forget that line. Comment it out and activate the Msgbox line above it. I copied that routine from a service program that does not permit any interaction with the screen.

    J.A. Coutts
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width