Results 1 to 18 of 18

Thread: Redesign of Resource Editor - Suggestions

Threaded View

  1. #11

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Redesign of Resource Editor - Suggestions

    Elroy, already ahead of you for most of that. Here's some of the issues:

    - FileNames are not truly ideal: resources within VB can't have spaces, so they are removed
    :: resource names also can't contain the @ or accent characters within VB
    :: resource names technically can contain unicode, but from previous tests & problems associated with them, the new tool will only allow ASCII characters (inclusive range: 33 to 127).

    - More on this. And I know initially, you will not like it on the surface. Don't use file names for IDs. The optional tagging options are more what you are after I think.
    :: tags can include file names, CRC values, original file length and more
    :: though you can only have 1 tag per resource item, you can always custom delimit it for your use
    :: I'm already designing auto-tagging during import based on user-defined settings, i.e., like a Format() command, where you can choose the tagging format. For example: FILENAME, SIZE, FILEPATHNAME, FILEDATE, DATE and a few more. The idea is that you can add tool-defined placeholders (as just listed), along with user-defined values. And if auto-tagging isn't something that is needed, each uploaded resource can be tagged individually when importing just one resource, or tagging can be done later at any time for any resource.

    As for automatically replacing an imported resource... When one file is uploaded, that's easy to code, regardless of the resource's ID. But when multiple are uploaded that isn't so simple. Obviously, in your case, you are using filenames for resource names, so a one-to-one match can be done. But in most cases, people are not going to use string resource names for everything. I need to consider this more and any other input you have on this topic is more than welcomed. Maybe offering an option to assign resource IDs for each imported file used for replacing, after files are selected, but before being imported?

    In any case, worth more discussion. And honestly, this is sort of what I was hoping for when I posted this thread.
    Last edited by LaVolpe; May 31st, 2020 at 05:20 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width