Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 2.70 seconds.

  1. Replies
    19
    Views
    488

    Re: Welcome to Amazon Sidewalk

    I might have to get another temp/hum sensor back out of the box. It worked, but not via Alexa. Perhaps the Smart Life Skill (Echo-to-device adapter profiles are called "Skills") got updated?
  2. Replies
    19
    Views
    488

    Re: Welcome to Amazon Sidewalk

    I finally found a sensor that can report temperature via Alexa without being a whole "smart thermostat" and uses cheap long-life battery power. 2 AAA cells instead of lithium coin cells or worse.
    ...
  3. Replies
    1
    Views
    79

    Re: Print to specific PDF file name

    Of course you can also print Unicode by using the "W" entrypoints passing StrPtr()s instead of the clunky "A" entrypoints with "As String" parameters that have ANSI conversion overhead performed by...
  4. Replies
    1
    Views
    79

    Print to specific PDF file name

    Assumes Windows 10 with the optional Microsoft Print to PDF driver installed. This is normally the default unless the user has removed it via Windows Features.

    Bare bones example. Note that for...
  5. Replies
    10
    Views
    229

    Re: Bazaar behavior

    I was expecting Indiana Jones toppling over large baskets in search of a girl.
  6. Re: Print/Export RichTextBox contents to PDF.

    Windows has had a PDF printer driver for a long time now. I think we've had it since Windows 10 came out way back in 2015.

    By default this lets the user specify where the output file gets...
  7. Re: How to bold selected words in RichTextBox?

    I suspect the idea is to let users manually enter the desired markup and then convert it.
  8. Re: How to bold selected words in RichTextBox?

    Something like:


    Dim LPos As Long
    Dim RPos As Long

    With RichTextBox1
    ' .Text = "There is a #B#Little#B# cat. #B#Meow.#B# I can hear it!"
    ' /-...
  9. Replies
    17
    Views
    364

    Re: Problem parsing a pdf

    "Slurp and split" has never been good practice, but the amount of data is likely so small it isn't an issue and it seems unlikely this will ever be server-side code or a scheduled task. Of course...
  10. Replies
    17
    Views
    364

    Re: Problem parsing a pdf

    That issue is moot if the text is too scrambled to be useful.
  11. Replies
    8
    Views
    529

    Re: Stuff to watch

    Thanks. Sounds like a good recommendation.
  12. Replies
    17
    Views
    364

    Re: Problem parsing a pdf

    I suspect that's a risk inherent in trying to scrape data from PDFs. For one thing it is meant as a "dead" format: hard, published, read-only data. For another, that gives them the freedom to place...
  13. Replies
    8
    Views
    529

    Re: Stuff to watch

    Italian comedy miniseries that has been edited into the weirdest 2-part spaghetti western you've ever seen.

    Thin plot, low budget, clunky acting, awkward sound design, goofy special effects, slow...
  14. Replies
    17
    Views
    364

    Re: Problem parsing a pdf

    Wild guess, but the file may be suffering from "Linux Disease" using LF line delimiters instead of Earth Standard CRLF or Old Apple CR.

    VB's intrinsic Line Input statement will cope with either...
  15. Re: What is the future of VB.Next's UI?

    Android desktops really were "a thing" for a brief point in time. That lasted under a year though.
    Google moved Android support to the Chrome team about the same time they began to cripple...
  16. Replies
    6
    Views
    217

    Re: Form not displaying in IDE

    The project's .VBW file is used to store the order, positions, and sizes of code, designer, etc. windows in the IDE.

    Moving a Form in code when it loads is sort of silly if you only want to center...
  17. Re: Dragging and dropping folders and files between directory listboxes

    Not sure what you are asking for that isn't spelled out with sample code in the documentation.

    Here's the code for a trivial case with just two FileListBox controls.


    Option Explicit

    'We...
  18. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Bad news for the unvaccinated in the U.S. this Summer, especially in de Souf':


    https://www.youtube.com/watch?v=fOiaxsdmbEg
  19. Replies
    25
    Views
    794

    Re: Windows 11 coming soon

    Windows 11 : Is that real?
  20. Replies
    8
    Views
    300

    Re: Instrb No variant

    There is a pitfall to be aware of when replacing InStrB() with an API call.

    The VB-callable entrypoints I have found are not BSTR-aware. They can still be used until you have a case that runs...
  21. Replies
    25
    Views
    794

    Re: Windows 11 coming soon

    I think it is just hype, much like the phony "military UFO video leaks" making the rounds right now.
  22. Re: Need Help! Failed to Encode an Image to Base64

    [PC]:::WiFi:::[ESP]-[Radio]----/----[Radio]-[?]
  23. Re: Need Help! Failed to Encode an Image to Base64

    Well actually you can see my guess about what he's trying to do.


    It feels like he is really using a PC to control some "radio" device using an ESP8266 as a middleman, little more than a "WiFi...
  24. Re: Need Help! Failed to Encode an Image to Base64

    Actually, it does. But note that drag-drop requires the source be at the same privilege level as (or better than) the destination. Drag-drop was another way exploits were attacking innocent code.
    ...
  25. Replies
    362
    Views
    36,097

    Re: Hamilton 5x World Champion ?

    Watching two tribes of gumbies fighting over a ball. Is there really still a market for this?
  26. Re: VB6 QUESTION: Tool for creating a VB6 preference/config utility?

    Oh, I thought you said you had a question.

    So this is just spam. Got it.
  27. Re: VB6 QUESTION: Tool for creating a VB6 preference/config utility?

    If that sort of Form was considered frequently useful there's have been a wizard (or at least a template) to assist in creating them.
  28. Re: VB6 QUESTION: Tool for creating a VB6 preference/config utility?

    You have to remember that "RAD" was talking about a narrow set of problems that was vexing companies moving from mainframes and terminals to Windows PCs and servers: creating user-interactive...
  29. Replies
    9
    Views
    373

    Re: MySQL & ADO queries speed

    The ADOX portion of my example was just used to create a new Jet database. It only works for Jet and ACE.

    The code after creating the database and table might work though.
  30. Re: [RESOLVED] get part of string between ( )

    Avoid false hits.


    Option Explicit

    Private Function Extract(ByRef Text As String) As String
    Dim L As Long
    Dim R As Long

    L = InStr(1, Text, "(") + 1
  31. Replies
    3
    Views
    253

    Re: MJPEG: byteArray2Picture .bas module

    Another concern should be that MJPEG is becoming a rare format, mostly supported by old IP Camera devices with low resolution. Today streams are more commonly encoded with better compression, for...
  32. Re: Need Help! Failed to Encode an Image to Base64

    Example with two projects: Receiver and Sender. Compile both.

    Run Receiver.exe. Run Sender.exe. Drag "picture" files from Explorer, drop on Sender. Picture is displayed at Receiver.

    Choose...
  33. Re: Need Help! Failed to Encode an Image to Base64

    What kind of range?

    Wireless Access Point with Ethernet Port Bridge Kit Outdoor Point to Point Connection Long-Range Up to 1 KM for IP Camera

    I see them cheaper on Amazon, both 2.4GHz and...
  34. Replies
    3
    Views
    253

    Re: MJPEG: byteArray2Picture .bas module

    That cargo culted code is essentially the same as this known working code:


    Option Explicit

    Private Const READ_ALL As Long = 0
    Private Const WIN32_FALSE As Long = 0

    Private Type IID
    ...
  35. Replies
    35
    Views
    960

    Re: [RESOLVED] Decent javascript IDE

    Team work. Like 5 guys with axes instead of one with a chainsaw. One man's "scalability" is another man's "feather bedding."

    ;)
  36. Re: What's the best way for me to distribute my VB6 program?

    I'm not saying that's the "best" way, but a way. Note that it can even be a separate program your product spawns, silently to harvest updates and on demand for viewing.
  37. Replies
    35
    Views
    960

    Re: [RESOLVED] Decent javascript IDE

    We used to have tools like Visual InterDev (and the "kid's" version FrontPage). But those were pushed out of favor very early and so remained terribly crude. Over 20 years later they are almost...
  38. Re: What's the best way for me to distribute my VB6 program?

    If I wanted a way to communicate updates and such I'd probably avoid email.

    RSS might be one way, but even when RSS "was a thing" a lot of people never used it.

    One easy way might be to get web...
  39. Replies
    40
    Views
    913

    Re: Drawing on the screen

    It could be a difference in video drivers. Many are not up to par for full DWM support.

    https://en.wikipedia.org/wiki/Desktop_Window_Manager#Hardware_requirements
  40. Replies
    6
    Views
    224

    Re: Almost found another UTF-8 codec

    BTW:

    Your ToUtf8() As String can work of course, after a fashion.

    However there is a strong convention that any arguments passed As String are assumed to be Unicode (UTF-16LE). MSXML2 objects,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width