Search:

Type: Posts; User: passel

Page 1 of 13 1 2 3 4

Search: Search took 0.30 seconds.

  1. Replies
    1
    Views
    74

    Re: serial port read

    Are you saying the keyboard you're typing on is connected to a comm port somehow, i.e. some old fashion serial keyboard?

    Otherwise, I don't see how typing on the keyboard has anything to do with...
  2. Re: Why is my form locking up my computer when it loses focus?

    I guess I would consider at least limiting the number of controls.
    Perhaps create four panels, each with the same set of controls.
    You position the four panels vertically inside your scrolling...
  3. Re: Strange Windows update that included BIOS recovery

    Last checked, doesn't mean last updated.
    It could have checked at 9:52 to see if there were any updates needed and there were none.
  4. Replies
    16
    Views
    903

    Re: [VB6] GDI Path clipping

    You are correct. I almost felt like commenting sometime earlier in the thread, given how far advanced you are in so many areas that I'm not, and now these fairly basic examples of various graphical...
  5. Replies
    5
    Views
    254

    Re: look for the carriage return character

    Since the ReadExisting may not be a complete string, i.e. you're reading what you've got so far, which may be an arbitrary point in the stream of characters coming in the serial port, you have to...
  6. VS 2013 Re: Vb net permutation list only between odds...

    Why is that a problem?
    If you want permutations based on position, then the contents shouldn't matter.
    If you get the permutations for the odd positions and the even positions, then combine the...
  7. VS 2013 Re: Vb net permutation list only between odds...

    Off the top of my head, but not trying anything, I would think you would combine the evens into a list, and do the permutations, and the odds in a list and do the permutations.
    Then, I would think...
  8. Replies
    5
    Views
    254

    Re: look for the carriage return character

    If the data ends with a Cr, rather than using SerialPort1.ReadExisting() I would use SerialPort1.ReadLine().
    That way you only process a whole line of data, you don't have to reassemble from partial...
  9. Re: Putting multiple lines of text in a Label's caption

    I guess easier may be using a textbox. Set it to Multi-line, set its background color to ButtonFace, which may match your Form's background color and turn off the border. You may also want to set...
  10. Thread: VB6 Bubble Sort

    by passel
    Replies
    17
    Views
    653

    Re: VB6 Bubble Sort

    So, are you trying to get the highest price from each day, for 20 days, and then average the highest 10 of those?

    Or are you trying to find the highest 10 prices in a 20 day period, regardless of...
  11. Replies
    20
    Views
    616

    Re: Weird Screen Redraw Issue

    Could have been a resource issue.
    If you have programs running that are leaking resources, then windows pool of resources can get low so programs that need resources can get bogged down during the...
  12. Thread: VB6 Bubble Sort

    by passel
    Replies
    17
    Views
    653

    Re: VB6 Bubble Sort

    So, when you step through the code in the debugger and examine the values and see what the code does at each step, is it what you expect it to do?
    Can you see where it doesn't do what you expect and...
  13. Re: Creating Control Array - Handles Clause Requires a WithEvents Error

    Depends on what you need to know. The sender is the object that generated the event.
    You cast that object to the correct type. There are several ways to do that, below is one.
    If you just want to...
  14. Replies
    17
    Views
    568

    Re: How to get hDC Image & Shape

    I wouldn't say that no one knows about it. I think dilettante explained its purpose pretty well in post #7.

    All the "real" controls in Windows are "windows". A button is a window, a picturebox is...
  15. Re: How good is my source coding or what, then???

    Note:


    Both Shockwave Player and Flash are risky business these days, and most users should be avoiding content requiring them.
  16. Re: Class library project not the same as windows form project for string functions

    No (at least not yet).
    https://docs.microsoft.com/en-us/archive/msdn-magazine/2017/september/net-standard-demystifying-net-core-and-net-standard

    Net Framework - the original stack, for building...
  17. VS 2019 Re: Trouble with assigning the result of a function to a property

    Vertex is a reference to an object in PTriangle.Vertices.
    If you change Vertex to point to your local instance "unused", that will have no effect on the object in PTriangle.Vertices.
    You want to...
  18. Replies
    14
    Views
    584

    Re: windows 10 is blocking this site

    Well, the site recently changed to https: so perhaps the Win10 machine has some old cached pages that it is trying to access.
    Perhaps try creating a new user on the Win10 machine, and accessing the...
  19. Re: Best Way Trap (Examine) Mouse Values because Volume

    I guess in the MouseMove event, add a static counter, and don't process the x,y until you counted up, or counted down (your choice) some number of times.

    If I want to slow down a fast event into a...
  20. Replies
    5
    Views
    252

    VS 2012 Re: Run cmd minimized

    Somehow, intuitively, I wouldn't expect that would run cmd minimized, although I didn't test it.
  21. Replies
    11
    Views
    500

    VS 2013 Re: Serial data outputs nonsense

    I agree with Catch22. Perhaps with Python, and the library used, it caps the speed at a maximum value, so even though you specify 2000000 perhaps it caps it at 115200, which happened to match the...
  22. Thread: Internet speed

    by passel
    Replies
    14
    Views
    1,267

    Re: Internet speed

    The cost of moving to Spain will probably obliterate any savings for the majority of us.
  23. Replies
    8
    Views
    1,293

    Re: why Polygon() don't use the brush?

    If you think you really want to get involved, the last "full" code post was in post #124 of this thread. There was an update and question in post #125.
    Unfortunately, work is intruding on my hobby...
  24. VS 2017 Re: Trying to understand unknown operations in C# to convert to VB

    As I mentioned it makes sure only the four bits that are valid are kept, and all the other bits that are not valid will be 0.

    In this case, it doesn't matter since you set the number to a value of...
  25. VS 2017 Re: Trying to understand unknown operations in C# to convert to VB

    private const string Hex = "0123456789abcdef";
    /* What the code is doing
    The string name Hex gives you the value of the hexadcimal digit by the index of the character in the string
    i.e. 0...
  26. Re: Auto combined keystrokes command to change keyboard layout from one to another

    Did you not read the comments in Post #8?
    Are you unfamiliar with the term "Third Party"?
    He is writing the software so is the First Party, and he is writing if for someone, who would be the second...
  27. VS 2019 Re: How to pause a loop until a variable gets set, or an event gets raised?

    Yeah, that's how I remember the time of a lot of things as well, because of my moving.
    I don't think it bothered my daughter too much, but as a result of my moving, she also has a few of those...
  28. Thread: Post Race!

    by passel
    Replies
    64,520
    Views
    5,090,052

    Re: Post Race!

    Just got my utility bill today.
    Noticed the Electricity was significantly higher than this period last year.

    I guess all the working from home adds up, with the extra lighting through the day,...
  29. VS 2019 Re: How to pause a loop until a variable gets set, or an event gets raised?

    I guess you must of had a pre-pre-release.

    I remember buying VB5 the second week after it was released in 1997. I was using VB3 at that time, hadn't updated to VB4 because heard it was slower,...
  30. Replies
    7
    Views
    827

    Re: Map location on rotated image

    I'm not sure, but I would try a few points along the vertical and see if you can see a pattern, e.g. is the value off by a constant number, or does in increase or decrease in a direction opposite...
  31. Replies
    8
    Views
    313

    Re: Trouble logging in

    Once upon a time....:)
  32. Replies
    8
    Views
    313

    Re: Trouble logging in

    No, he's speaking from the perspective of "one who hast been banned".:eek:
  33. Replies
    3
    Views
    237

    Re: Close edge in a button

    I think the point was to search for closing an application in general, not in closing Edge specifically. You would use the same technique regardless of application.
  34. Replies
    7
    Views
    827

    Re: Map location on rotated image

    Dug up a very old example (from VB3 days) of the manual method I described.
    The Cos of the Angle (Rot_Cos) was calculated outside the sub, likewise the Sin of the Angle (Rot_Sin) was also calculated...
  35. Replies
    7
    Views
    827

    Re: Map location on rotated image

    Not clear to me. How are you rendering the rotated map in the control?
    Is what you are showing the full 5693x5693 image, shrunk down to fit in a 500x300 image,
    A center point of what, where? A...
  36. Replies
    7
    Views
    827

    Re: Map location on rotated image

    Are you using .Net, and rotating the image in a .Net language using the Rotation Transform?

    If so, you don't need to understand the math, you would just draw the dot with the same rotation...
  37. Replies
    6
    Views
    497

    VS 2017 Re: WebView2

    Does the webview control fill the form, that is, you can't get the mouse to trigger MouseDown or MouseMove events to the form?
    If so, does the webview control provide a mouseMove event?
    I usually...
  38. Replies
    6
    Views
    497

    VS 2017 Re: WebView2

    Since it uses a library that is part of the Microsoft Edge (Chromium) Canary Channel installation to do rendering, you did install that first (one of the prerequisites) before NuGetting the Webview2...
  39. Re: How do you create GUI interface from scratch ?

    If I wanted to emulate an actual hardware panel, I would start with good image captures of the hardware panel and then modify the image and create other images that can be drawn on top to allow...
  40. Replies
    10
    Views
    473

    VS 2015 Re: picturebox in execute

    Ahh...
    I don't use the HIGHLIGHT tag very often, so hadn't noticed... I guess we've probably hijacked the thread enough.:o
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width