Results 1 to 8 of 8
  1. #1
    Platinum Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    5,638
    Thanks
    53
    Thanked 9 Times in 8 Posts

    Dratted file extensions!

    I just "started over." I can get it all to work fine, but cannot get it to add to the Shell New listing.

    The dbp extension in the registry looks like this:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.dbp]

    [HKEY_CLASSES_ROOT\.dbp\ShellNew]
    "NullFile"=""



    Sigh....

    ---
    What I want to do seems simple enough:

    I want a new filetype that has a "dbp" extension; I want it associated with Word (2010); I want to have it default to the "standard" Word format; I want it to show up in the Explorer New listing.

    That doesn't seem to be asking too much...

    I set the extension in the registry, leaving it "blank." I then put a document on the desktop with that extension. When I went to open it, and it said "With what program?" I associated it with Word 2010. So far, okay.

    But...

    When I set up a file with that extension, and then went to save it (using Save As just to verify) it wants to save it in the Works 6 - 9 format.

    What am I doing wrong here??

    Regards,
    Chuck Billow
    Last edited by CWBillow; 2014-05-14 at 02:37.
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    4 Star Lounger
    Join Date
    Mar 2014
    Location
    Forever West USA
    Posts
    513
    Thanks
    0
    Thanked 44 Times in 44 Posts
    It could simply be that the file format of .dbp is being refused, it stands for database project. Some pages about .dbp found by Google Search:
    https://www.google.com/search?noj=1&....0.x1gpR-UZgcY

  4. #3
    Platinum Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    5,638
    Thanks
    53
    Thanked 9 Times in 8 Posts
    Berton,

    I think you are right, that it was/is some type of conflict with the "dbp" extension being "already spoken for."

    Thing is, I got it to work. Not sure how, nor am I at all clear on what would be needed to back it up in case I wanted to use it later.

    Here's what I did:

    I deleted the "dbp" extension from the registry;

    Reboot;

    Created the extension;

    Associated the extension with TextPad -- this was what I had used to edit "dbp" textfiles before, and the ShellNew had worked;

    Associated "dbp" with Word 2010;

    Rebooted;

    Guess what?

    The Word association held, the icon assignment from when I was using TextPad held, and the DBPost document shows up in the "Shell New" list.

    So I got what I wanted, but no idea how, nor, and more importantly, how to back it up for use elsewhere or at another time -- AND, I don't want to start over and try again, since I don't even know what I really did.

    Here is the current "dbp" registry entry in HKLM:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.dbp]
    @="TextPad.dbp"

    [HKEY_CLASSES_ROOT\.dbp\ShellNew]
    "NullFile"=""

    And then, here is the entry for Textpad.dbp

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\TextPad.dbp]
    @="DBPost"

    [HKEY_CLASSES_ROOT\TextPad.dbp\DefaultIcon]
    @="C:\\WinApps\\Editors\\TextPad\\TextPad.exe,1"

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell]

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\open]

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\open\command]
    @="C:\\WinApps\\Editors\\TextPad\\TextPad.exe -s"

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\open\ddeexec]
    @="[open(\"%1\")]"

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\open\ddeexec\a pplication]
    @="TextPad.7"

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\open\ddeexec\t opic]
    @="System"

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\print]

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\print\command]
    @="C:\\WinApps\\Editors\\TextPad\\TextPad.exe -s -p \"%1\""

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\printto]

    [HKEY_CLASSES_ROOT\TextPad.dbp\shell\printto\comman d]
    @="C:\\WinApps\\Editors\\TextPad\\TextPad.exe -s -pt \"%1\" \"%2\" \"%3\" \"%4\""

    It would seem for all the world that the association is with TextPad, but if I create a new DBP file, it opens with Word!

    I am totally baffled -- glad it works, but so confused.

    AND, how the heck and what the heck do I back up for "later"?

    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  5. #4
    Platinum Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    5,638
    Thanks
    53
    Thanked 9 Times in 8 Posts
    Berton, just to answer the question regarding the use of the DBP extension, I

    1) Backed up the registry
    2) deleted the DBP extension
    3) Created a KBP extension
    4) Set out to define the file association
    5) Establish KBP files in the "New" Shell.

    1 - 4 worked fine. 5 would not work. I could not get KBP files to appear in the New listing.

    So, it's not the extension itself. It is something in my process.

    I restored the registry to the original state that had DBP working.

    Chuck
    Last edited by CWBillow; 2014-05-26 at 17:25. Reason: Missed a poimt
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  6. #5
    4 Star Lounger
    Join Date
    Mar 2014
    Location
    Forever West USA
    Posts
    513
    Thanks
    0
    Thanked 44 Times in 44 Posts
    *.kbp http://www.solvusoft.com/en/file-ext...extension-kbp/

    Do you have programs installed that use the .dbp and .kbp file formats to save data created in them?

  7. #6
    Platinum Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    5,638
    Thanks
    53
    Thanked 9 Times in 8 Posts
    Nope, and I think it's interesting that two extensions I thought I was making up were in fact already out there in the ozone accounted for!

    But if I don't have that software installed, shouldn't I be able to associate them as I wished? And THEN there's the hassle getting them into the 'New' group.

    CB
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  8. #7
    4 Star Lounger
    Join Date
    Mar 2014
    Location
    Forever West USA
    Posts
    513
    Thanks
    0
    Thanked 44 Times in 44 Posts
    Quote Originally Posted by CWBillow View Post
    But if I don't have that software installed, shouldn't I be able to associate them as I wished?
    You'd think that would be possible but it could be coding within the Operating System that is looking for an associated program since they already belong to known programs. Have you tried other letter combinations or maybe letter/number combinations? Or is there some particular reason you need to use .dbp and .kbp? The extension .dbp does 'belong' to Microsoft's Visual Studio.

  9. #8
    Platinum Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    5,638
    Thanks
    53
    Thanked 9 Times in 8 Posts
    I have tried other letter combinations. Same result. I can associate the extension, either directly in the registry or via something like NirSoft's FileTypeMan, or the Default Programs. It's not the association that seems a problem. It's the getting the filetype into the Explorer's "New" listing. As I showed, somehow I was or am able to do it with TextPad as the program in question. But not when the program is Word.

    I do know that 'just' adding ShellNew and NullFile to the extension in the registry seems to have no effect at all.

    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

Posting Permissions

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