dcsimg

Search:

Type: Posts; User: couttsj

Page 1 of 13 1 2 3 4

Search: Search took 1.20 seconds.

  1. Replies
    9
    Views
    649

    Re: Colored Command Button

    And finally an ActiveX control. There are advantages and disadvantages to using such a control. The advantage is that it reduces the size of your new project, but the disadvantage is that you must...
  2. Thread: IPWhois (v3)

    by couttsj
    Replies
    0
    Views
    170

    IPWhois (v3)

    This latest version (V3) of IPWhois is an upgrade to the original version. The network interface was upgraded to use SimpleSock, and the latest MAC_Buttton was also included. Whois servers respond...
  3. Replies
    9
    Views
    649

    Re: Colored Command Button

    This latest version includes the changes to the Font property suggested by LaVolpe, as well as moving the pixel colors to a Resource file. Using the Resource file eliminates the necessity of coupling...
  4. Replies
    9
    Views
    649

    Re: Colored Command Button

    LaVolpe;

    Thank you for the detailed explanation. Using a Debug.Print statement, my original code shows 3 trips to the FontChanged routine complete with the associated refresh (Why there is only 3,...
  5. Replies
    9
    Views
    649

    Re: Colored Command Button

    I kinda wondered about that too, but that's what Microsoft advised here:
    https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-basic-6/aa261313(v=vs.60)?redirectedfrom=MSDN
    ...
  6. Replies
    9
    Views
    649

    Re: Colored Command Button

    The Font property has bee added. It took me a while to get this working. The first problem was that every time I went to change the Font property, I would get an error message that it wasn't...
  7. Replies
    9
    Views
    649

    Colored Command Button

    In a continuing effort to produce a better command button, I offer the attached. The original was adapted from Derp's Glossy Button post:...
  8. Replies
    26
    Views
    5,406

    Re: VB6 - Text Editor

    Yes, the date on my last post matches the update date on post #6 (Updated: 06/15/2018).

    J.A. Coutts
  9. Replies
    8
    Views
    264

    Re: Keep On Top when Shelled

    Private Const SWP_NOMOVE = 2
    Private Const SWP_NOSIZE = 1
    Private Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE
    Private Const HWND_TOPMOST = -1
    Private Const HWND_NOTOPMOST = -2

    Private Declare...
  10. Thread: Glossy buttons

    by couttsj
    Replies
    8
    Views
    1,096

    Re: Glossy buttons

    Regarding your original MAC OSX button, I found a number of redundancies in the pixel code and I fixed the white border on the end plates. But the dark border on the upper corners appears ragged...
  11. Re: Fastest way to convert long IP address from network to dotted string

    This is how I do it. Assuming you want the long value in network byte order, the first job is to reverse the order of the bytes stored in memory. Then copy that to a byte array, and finally convert...
  12. Replies
    6
    Views
    422

    Re: MAC OSX button issue

    Thanks wqweto.

    I was going to ask about this possibility, but you saved me the trouble.

    J.A. Coutts
  13. Replies
    6
    Views
    422

    Re: MAC OSX button issue

    Solved. I went ahead and adjusted the routines anyway.

    J.A Coutts
  14. Replies
    6
    Views
    422

    [RESOLVED] MAC OSX button issue

    To better understand how the MAC OSX button is drawn in different colors, I put together a simulator of the upper left corner composed of 198 small frames organized into a rectangle. I would normally...
  15. Replies
    17
    Views
    1,489

    Re: Creating a new Command Button

    Interesting. Does this RaiseEvent issue exist in classes too? I don't use DoEvents very much, but I do use RaiseEvent quite a bit in classes, and I have yet to encounter a "client site not available"...
  16. Replies
    17
    Views
    1,489

    Re: Creating a new Command Button

    Thanks jpbro. Your timing is unbelievable. I had already tried that and was about to post it, when I discovered your message. From this, can I conclude that my suspicions about delayed graphics is...
  17. Replies
    17
    Views
    1,489

    Re: Creating a new Command Button

    Microsoft says this about DoEvents:
    "Consider what happens during a DoEvents call. Execution of application code is suspended while other forms and applications process events."
    "Caution Any time...
  18. Replies
    17
    Views
    1,489

    Re: Creating a new Command Button

    Used properly, I have never had a problem with DoEvents. I only use it in cases where I need to stop the current thread in order to allow system messages to be processed. Some people use it as a time...
  19. Replies
    17
    Views
    1,489

    Re: Creating a new Command Button

    Why not? You are the one that got me interested in this in the first place.

    J.A. Coutts
  20. Replies
    17
    Views
    1,489

    Re: Creating a new Command Button

    Not sure what you are saying, but I think you are saying that the button retains the dark blue color when a depressed mouse is moved off the button. When you click on a button, it takes the focus and...
  21. Replies
    17
    Views
    1,489

    Re: Creating a new Command Button

    Installment 3

    In this installment, we will change the control shading and shape to that of a MAC OSX style contoured button.

    The first step is to remove the border and the coloring, and make...
  22. Thread: Spam Question

    by couttsj
    Replies
    9
    Views
    1,235

    Re: Spam Question

    I am really having difficulty understanding the logic behind this second spammer's technique. They send so many similar messages via cloud type servers (59 to a single account on one 5 hour day),...
  23. Replies
    17
    Views
    1,489

    Re: Creating a new Command Button

    Installment 2

    In this installment, we will cause the button color to change when the mouse is moved over the control and when the focus is shifted to the control.

    To detect when the mouse is...
  24. Replies
    17
    Views
    1,489

    Creating a new Command Button

    The MAC OSX button in the Glossy Buttons post by Derp! interested me, but I had never used the User Control in that manner before, so it was a learning experience. In this edition, I will outline the...
  25. Re: Generating Keypairs, Signing and Authenticating Signed Digital Signatures in VB6

    When looking at third party solutions, keep in mind that the only thing considered secure these days is TLS 1.2 or better.

    J.A. Coutts
  26. Thread: Run elevated

    by couttsj
    Replies
    15
    Views
    1,288

    Re: Run elevated

    I have not been able to get DuplicateToken/DuplicateTokenEx to work. I found a way to bypass the elevation prompt using the Task Scheduler trick, but that is difficult (if not impossible) to set up...
  27. Re: Winsock is reaching its limit and freezing - $20 Bitcoin for whoever solves!

    I suspect that the problem is in the way that MSWINSCK handles the output buffer. See dilettante's stress test in the link below for more details.
    ...
  28. Replies
    5
    Views
    310

    Re: Elevation Bypass

    I started this project just to see if I could do it, but after getting it to run I discovered that it was twice as fast on the server end as products that use Terminal Services (aka RDP). On the...
  29. Replies
    5
    Views
    310

    Re: Elevation Bypass

    Elroy;
    I don't disagree. Session Isolation has brought us many security benefits, but it also came with some real road blocks. My remote Desktop software is next to useless without the ability to...
  30. Replies
    5
    Views
    310

    Elevation Bypass

    In my attempt to provide elevation remotely, the problem boils down to the Yes/No response window residing in the Secure Desktop. The Secure Desktop has very limited access, and is designed to...
  31. Re: How to start a desktop program from session "0"

    Two problems have arisen with RunAsSvc, both associated with Allow.lst. It was intended that the Allow.lst file contain the dotted string IP addresses, but I accidentally stored the loopback address...
  32. Replies
    22
    Views
    1,105

    Re: TCP and internet security

    Let me give you an example. Long ago I farmed out our SMTP (email) service to a third party because it was just taking too much effort to deal with the spam. After the ISP service was sold, I dropped...
  33. Replies
    22
    Views
    1,105

    Re: TCP and internet security

    Any listening port is a potential vulnerability. The more open ports, the greater the risk that some hacker will find a way in. No matter how hard we try, software is never perfect. If you have ever...
  34. Replies
    2
    Views
    276

    IPv6 Implementation

    I am having trouble finding out the real current status of IPv6 implementation. The information I find is somewhat contradictory. Some studies only look at ISP implementation, with a few countries...
  35. Replies
    6
    Views
    1,055

    Re: How to get the ARP table.

    This version replaces the ARP table lookup with ARP requests. This allows us to find network devices that are alive but not active. To accomplish this I am using the "SendARP" API call adapted from...
  36. Replies
    6
    Views
    1,055

    Re: How to get the ARP table.

    In this version I have added dilettantes GetAdaptsInfo routine to identify the active Network Adapter and display only the associated IP addresses.

    Is it safe to assume that only the active...
  37. Replies
    6
    Views
    1,055

    How to get the ARP table.

    Sometimes you need to know what is active on your local network. This little application scans the ARP table and displays the results. So what is the ARP table? Your local network is more than likely...
  38. Re: How to start a desktop program from session "0"

    In this version, the instruction to run the desktop program is sent via TCP. Before proceeding further, let me issue a word of warning. Allowing unrestricted outside access to start a program is...
  39. Re: How to start a desktop program from session "0"

    I cut out all the excess code and changed the location of the call to start the Desktop program to the "Form_Terminate" routine. This allowed the Desktop routine to retain the focus when started from...
  40. Re: VB6 system Tray issue in Windows 10 toast tray Icon.

    I gave up on using balloons with Win 10, as too many people just ignore the barrage of notifications. I now use a simple popup similar to the one dilletante used in:...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width