Jump to content

limelect

Members
  • Content Count

    775
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by limelect


  1. I still have a customer who uses BDE.

    At a time i included   PdxRbd source into the program. 

    I do not know if it can be in your case.

    How ever from my experience of 20 years with my problem

    "out of sync" it seem that they closed the computer with out closing

    the program. Now a days it is OK. however if it once every 1/2 a year it mite happen so

    i run PdxRbd.

    At a time after long investigation there was no real solution to that problem.

    Further more i did NOT GIVE PERMISSION to update from window 7 to 10 !!!

     


  2. @Remy Lebeau I will see how to apply your idea.

     

    Let me (if you allow ) how i got to this situation.

    I have a free program  http://limelect.com/downloads/explorer-list/

    which you can go to any EXPLORER address fast.

    I am adding to it explore HISTORY.

    (why ? because some time i forget where i was in explorer). 

    when i go into a directory i get the TEXT in the explorer bar

    And then if i need it letter i use it.

    If i have an address as "c:\...." that not a problem.

    However libraries... this where my problem start.

    Thanks in any case


  3. @Rudy Velthuis I tried very simple 2 line of your suggestion

    var

     Attr, Eaten: ULONG;
      PathIdList: PItemIdList;
      DesktopFolder: IShellFolder;

     

    if Succeeded(SHGetDesktopFolder(DesktopFolder)) then begin    //Libraries\Pictures\
         if Succeeded(DesktopFolder.ParseDisplayName(0, nil, 'c:\', Eaten, PathIdList, Attr)) then begin

         end;
    If i use 'Libraries\Pictures\' for path i get PathIdList=nil

    If i use 'c:\' for path i get PathIdList <>nil

    i am stuck again

    Can you put your suggestion source here ?

    With what dir librery text did you try your solution?

     


  4. @Uwe Raabe can you help with similar problem as seen

    The 2 arrows on the RIGHT of the component pallet (to move the component tab )

    are not there since D10.1.0 the demo program.

    I am using D10.2.3 and still no arrow.

    On D10.2.1 neither .

     

    ON DXE it is OK !!!

     

    Can you convey the problem to Embarcadero.

    1122550132_Screenshot-20_03_201912_01_28.thumb.png.3bc64d0a6d7ff32870fe57eeeba1df9f.png


  5. @Remy Lebeau  I know most of the answer. It seem i did not ask the right way.

    The library section on the drive is only TEXT referring to c:/users/....

    what i want is a way to translate this TEXT to c:/users/...

     

    My picture is just an EXAMPLE of my NEED.

     

    I tried  Using FileOpenDialog that returns FileOpenDialog1.ShellItem this works.

    !!!!!   BUT I DO NOT WANT TO EXECUTE.

    I just want the directory NOT a file !!!!

    I need the software behind FileOpenDialog ON A DIRECTORY (not a file)

    without the FileOpenDialog.execute. this is why i tried  SHCreateItemFromParsingName

     

    I hop it clarified my need.


  6. I am trying to translate "Libraries\Pictures\My Pictures\" for example
    to the directory "C:\Users\LimElect\Pictures"
    I am using 

    var
      LShellItem: IShellItem;
       LPlace: TFavoriteLinkItem;
    begin
        if Succeeded(SHCreateItemFromParsingName(PWideChar('Libraries\Pictures\My Pictures\'),
                 nil, StringToGUID(SID_IShellItem), LShellItem)) then
                 begin
                  Label1.Caption:= ShellItemFileSystemPath(LShellItem); //<<  here LShellItem is nil !!
                 end;

    This dose not work , any idea?
    I took the above from VCL.dialogs

     

    P.S Using FileOpenDialog and return FileOpenDialog1.ShellItem this works. BUT I DO NOT WANT TO EXECUTE.

    I just want the directory NOT a file !!

     

     


  7. demo d10.2.3

    [dcc32 Error] Casbin.Policy.pas(604): E2010 Incompatible types: 'TStringDynArray' and 'System.TArray<System.string>'

×