Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 2.65 seconds.

  1. Replies
    2
    Views
    107

    Re: Floating Desktop Date

    Why does it have (what looks like) an obsolete version of the UAC Shield on it?
  2. Replies
    31
    Views
    944

    Re: Windows 11 coming soon

    Windows 7 is dangerous as a development platform. Around SP1 there were a ton of weird breaks with binary compatibility and typelib versioning in system libraries, mainly rubber crutches used to...
  3. Re: Swap Word UDF error while handling negative values

    You get the wrong results, the output should have been 1450709556. You also seem to think characters are bytes (they are not). All sorts of crazy is going on there.

    A couple of alternatives:

    ...
  4. Replies
    14
    Views
    202

    Re: Change Event of Textbox

    Why not just write the action as a method other code can call?
  5. Replies
    31
    Views
    944

    Re: Windows 11 coming soon

    5 years plus 5 extended years has been a typical support life cycle for a long time. Windows 7 went through that before it died a year and a half ago. Windows 10 merely got a full 10 years instead...
  6. Re: VB6 Bluetooth to dumb cellphone

    Yeah, I have a smart phone but I'm still a bit of a miser.

    I don't pay for data but only use WiFi for that. I like long battery life so normally I have both BT and WiFi turned off.

    In the car...
  7. Re: VB6 Bluetooth to dumb cellphone

    Even if you found an API to do this you'd have to keep the phone paired to the PC. I haven't seen anything in Windows for Bluetooth file transfers anyway. The oldest support seems to be for virtual...
  8. Replies
    2
    Views
    146

    Re: Image Viewer

    I wouldn't expect OleLoadPicture() to handle any image file data that VB's LoadPicture() doesn't.

    WIA 2.0 is a COM wrapper for a bunch of cameras and scanners stuff but also several GDI+...
  9. Replies
    20
    Views
    573

    Re: Welcome to Amazon Sidewalk

    BTW: That smart sensor/display is a Zigbee device, not WiFi.

    That lets it get by with low power, but it does mean you'll need a compatible Zigbee hub. It is a Tuya device, meant for use with...
  10. Replies
    6
    Views
    239

    Re: Print to specific PDF file name

    An all-API example:


    Option Explicit

    Private Const WIN32_NULL As Long = 0

    Private Declare Function CreateDC Lib "gdi32" Alias "CreateDCA" ( _
    ByVal DriverName As String, _
    ByVal...
  11. Replies
    20
    Views
    573

    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?
  12. Replies
    20
    Views
    573

    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.
    ...
  13. Replies
    6
    Views
    239

    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...
  14. Replies
    6
    Views
    239

    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...
  15. Replies
    10
    Views
    242

    Re: Bazaar behavior

    I was expecting Indiana Jones toppling over large baskets in search of a girl.
  16. 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...
  17. 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.
  18. 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!"
    ' /-...
  19. Replies
    17
    Views
    379

    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...
  20. Replies
    17
    Views
    379

    Re: Problem parsing a pdf

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

    Re: Stuff to watch

    Thanks. Sounds like a good recommendation.
  22. Replies
    17
    Views
    379

    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...
  23. Replies
    8
    Views
    544

    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...
  24. Replies
    17
    Views
    379

    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...
  25. 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...
  26. Replies
    6
    Views
    225

    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...
  27. 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...
  28. 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
  29. Replies
    31
    Views
    944

    Re: Windows 11 coming soon

    Windows 11 : Is that real?
  30. Replies
    8
    Views
    305

    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...
  31. Replies
    31
    Views
    944

    Re: Windows 11 coming soon

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

    [PC]:::WiFi:::[ESP]-[Radio]----/----[Radio]-[?]
  33. 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...
  34. 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.
    ...
  35. Replies
    362
    Views
    36,236

    Re: Hamilton 5x World Champion ?

    Watching two tribes of gumbies fighting over a ball. Is there really still a market for this?
  36. 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.
  37. 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.
  38. 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...
  39. Replies
    9
    Views
    385

    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.
  40. 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
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width