Search:

Type: Posts; User: fafalone

Page 1 of 13 1 2 3 4

Search: Search took 0.58 seconds.

  1. DrawWidth and DrawStyle could not be set?

    I was working on a project, doing absolutely nothing related to the PictureBox controls, then all of a sudden that error pops up on load "Problems loading ctl see ctl.log for details" for a couple...
  2. Replies
    10
    Views
    241

    Re: COPY file from C:\ to ftp dir...

    So my theory about IFileOperation working seems to be incorrect... kept saying "name invalid or too long" (which wasnt true)

    But dragdrop absolutely works, check this out:


    Public Sub...
  3. Replies
    10
    Views
    241

    Re: COPY file from C:\ to ftp dir...

    Technically, Windows Explorer supports FTP objects.

    If you create a shell item with an FTP url, you can drop files on it to upload. This is why my shell browser control can navigate FTP sites and...
  4. Replies
    21
    Views
    481

    Re: Accessing a class/obj from another .exe

    The question is 'Are the legitimate uses of this exceptionally unlikely, or is this commonly used for legitimate purposes.'
    There's many reasons why you'd access the class objects of another exe,...
  5. Replies
    21
    Views
    481

    Re: Accessing a class/obj from another .exe

    In an actual gray area sure. But this isn't asking about how to execute arbitrary code using a buffer overflow, or silently escalate privileges above the current user... what a 'gray area' is should...
  6. Replies
    21
    Views
    481

    Re: Accessing a class/obj from another .exe

    Now I'm curious about doing this too because I'd like to dig into some of the ListView and shell objects in Explorer to try to figure out some of the undocumented stuff I can't quite get to work in...
  7. Replies
    8
    Views
    364

    Re: Loading music files

    Just FYI, if you ever wanted to include sample songs, there's https://freemusicarchive.org which offers music under the Creative Commons license, where it's free to share with attribution.
  8. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    ah good call, I'd tend to fix it at the source, GetComboText was adding a 1 to the length even if it was 0. Can't recall if the extra 1 is needed for anything or not, but in case:

    Private Function...
  9. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    Definitely possible, just a few small changes. Not sure when I'll be ready with a new version, but the way you'd go about it is to add an lParam: Add the bolded code in the functions below:

    ...
  10. Re: Getting the ball rolling. Which VB6 projects are you working on?

    Be aware: A while back VBForums upgraded the forum software here, and this new version has a feature that randomly picks old posts, replaces imgur embeds with what appears to be an attempt to host...
  11. Replies
    7
    Views
    9,562

    Re: VB6 - Use Vista+ Task Scheduler 2.0 API

    Task Scheduler 2.0 is still the current version, so it should work on Windows 10 without issue.

    My type library has all of the Task Scheduler interfaces defined, so you could more easily modify...
  12. Re: ListView Group View + Small Icons = Disappearing items

    I noticed the behavior in my shell browser control.

    Then verified it's not just my problem, as it appears in the other API-based ListView controls as well.

    I've since written code that solves...
  13. ListView Group View + Small Icons = Disappearing items

    So I hadn't noticed this in other programs, and figured it might be something with my code, but apparently it's just the item names...

    When I put it into Group View and Small Icon view, some items...
  14. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    Ah well I think I tried a few different things and after an example from MSDN didn't work either I just said screw it, I'll do it manually :ehh:
  15. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    **New update again on Feb. 11**

    Project Updated to v9.2 R3
    Quick fix: When Group View was enabled and the current View Mode was something besides Medium/Large/XL Icons, or Thumbnails, if you then...
  16. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Project Update: Version 9.2 (February 9th, 2021)
    Severe bug: I'm very sorry for a bug in the previous version that showed an incorrect menu when right clicking a file (the shell background menu...
  17. Replies
    1,745
    Views
    106,901

    Re: Corona virus, China major city lockdowns, etc.

    Where's the preliminary data coming from?

    You have to remember that the 95% numbers only apply after the full course... at least a few days after the second shot, for the full immune response to...
  18. Replies
    20
    Views
    757

    Re: Help converting code

    If you're talking about the 3rd party thing I mentioned, ffprobe isn't a shell extension you need something like the AJD FLAC Property Handler
  19. Replies
    5
    Views
    262

    Re: Using oleexp.tlb by fafalone

    If the DeleteFile API is failing too it definitely seems like a permissions issue, it's supposed to specify the error for GetLastError but that might be broken, I couldn't get error codes for...
  20. Replies
    20
    Views
    757

    Re: Help converting code

    The shell extendedproperty method likely wouldn't work on XP. Only Windows 10 has a built in FLAC property handler; even Windows 7 doesn't.

    You can install a 3rd party one and then the shell can...
  21. Replies
    5
    Views
    262

    Re: Using oleexp.tlb by fafalone

    It seems that error can be related to access issues, and I'd tend to agree since you said this exact code used to work? Was it working on the same drive, or locally? Because I was just playing with...
  22. LVM_SETVIEW SmallIcon causes app to freeze... sometimes

    So I've been using the same code to switch views for a long time, and this is a new issue that's occurred on unmodified code. The project, when run from the IDE, freezes and has to be killed from a...
  23. Replies
    5
    Views
    262

    Re: Using oleexp.tlb by fafalone

    Was it a Windows update that broke it? Could be you need to run as admin now.

    But what specific line is causing the issue?
  24. Replies
    15
    Views
    500

    Re: Listview truncating texts

    You can remove the column header from Details view and only have one column if you want to maintain the same appearance.


    Dim dwStyle As Long
    dwStyle = GetWindowLong(ListView1.hWnd, GWL_STYLE)...
  25. Replies
    15
    Views
    500

    Re: Listview truncating texts

    I'd try making sure the LabelWrap style is turned off, and expanding the 1st column length just in case. I've not seen it truncate text like that, but it definitely controls item widths even in List...
  26. Replies
    15
    Views
    500

    Re: Listview truncating texts

    Are you sure the strings are variable length and ended... it's 'Compare Two Stores' and not
    'Compare Two Stores '?
  27. Replies
    26
    Views
    996

    Re: Ethics and choice

    That some companies want to pretend there shouldn't be a difference between words used to describe something that runs over the open internet and words used to describe something running on the local...
  28. Replies
    26
    Views
    996

    Re: Ethics and choice

    "web" implies "world wide web"

    If it wasn't going over the internet I'd expect it to be referred to as a network system, LAN system, or even server system, rather than "web" system.
  29. Re: Swhithing between module/controls... when running in IDE

    Do you just mean when you open a project, or when you actually go to run it?

    When you first open a project it cycles through all the windows you had opened when you last closed it... Form UI, Form...
  30. Re: Is the VB6 community capable to grab the bull by its horns?

    The biggest disappointment of the decade in the programming world was when that massive source code dump of Windows didn't include the source of msvbvm60.dll... we really could have used that...
  31. Replies
    26
    Views
    996

    Re: Ethics and choice

    Unless there's a really good reason it must be a web system...

    Making something a web system and thus requiring an always-active internet connection, and introducing security vulnerabilities that...
  32. Thread: FYI: Adios

    by fafalone
    Replies
    59
    Views
    2,398

    Re: FYI: Adios

    My job has nothing to do with VB6, everything I do here is just for fun in my free time outside of work :D

    But I understand some people have what's called a "life" that limits their time outside...
  33. Replies
    6
    Views
    469

    Re: Numbers, Numbers, Numbers

    Indeed it's not that I couldn't create the array, it's manually writing out each and every number. The perl script attached implements the naming rules themselves, so has no upper limit, while my...
  34. Re: CommonDialog: update file extension automatically when user changes file type

    The main advantage is if you wanted to add customizations to the dialog; it's much easier to add additional controls with IFileDialog.

    Also really helpful the event callback class makes handling...
  35. Re: [VB6] Encode binary data to bitmap for use in a PictureBox

    The 65k total physical limit is for the module.

    Yep you could store a few MB if really determined to do it that way, but I like the bitmaps for more than a few kb.
  36. Replies
    6
    Views
    469

    Re: Numbers, Numbers, Numbers

    Your Num2Str function would seem to only support (1 trillion - 1)?

    I have a function someone wrote that supports no maximum whatsoever, but it's written in perl that was hosted on a website, and I...
  37. Re: [VB6] Encode binary data to bitmap for use in a PictureBox

    You can't exceed 65k physical lines.

    So theoretically you can store (65k - actual code lines) * 1,024 bytes in blocks of strings up to 15kb each (it says 24 concatenations per line, but using a...
  38. Re: [VB6] Encode binary data to bitmap for use in a PictureBox

    There's limits on that:





    Plus, when it's more than a very small amount of data, having thousands or tens of thousands of lines of binary data is not ideal for editing.
  39. Re: [VB6] Encode binary data to bitmap for use in a PictureBox

    The important part is not having any additional dependencies; just the object that uses the data having it within its own file.

    Your method or something like dilettante suggested is definitely the...
  40. Re: [VB6] Encode binary data to bitmap for use in a PictureBox

    The FileStorage control is saving the file in Form1.frx, making it persist with the project. And then the data is associated with the control, so it can't be removed, adding several more files as...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width