Jump to content

limelect

Members
  • Content Count

    924
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by limelect

  1. limelect

    Blast from the past: BDE and Win10 W/S

    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. 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 !!
  3. limelect

    A directory translate

    @Remy Lebeau Thank you very much every body. From Remy who gave me a starting point i found what i NEED. It is MustangpeakVirtualShell-2.7.0\Demos\Namespace Browser It dose exactly my need. Thanks again
  4. limelect

    A directory translate

    @Attila Kovacs your solution mite work but in my case i cannot use . http://limelect.com/downloads/explorer-list/ My software opens the same ! explorer page to a new location !! i do NOT open a new page unless i want it. I need the real address P.S Try my software it is very useful to us programmers and many people downloaded it. I will try Remy solution
  5. limelect

    A directory translate

    @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
  6. limelect

    A directory translate

    @Rudy Velthuis sure no problem for that C:\Users\Rudy\Pictures. Since this is your directory for pictures . But that where i started to GET !!! from libraries\pictures to C:\Users\Rudy\Pictures THIS IS MY PROBLEM !!!
  7. limelect

    A directory translate

    @Rudy Velthuis Libraries\Pictures\My Pictures is OK I tried C:\Libraries\Pictures NOT OK. this is not logical since there in NO such directory. Just go to explorer and see how Explorer open 'libraries' and more
  8. limelect

    A directory translate

    @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?
  9. limelect

    Issue with code-editor toolbars

    @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.
  10. limelect

    A directory translate

    @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.
  11. limelect

    A directory translate

    NO because picture is only an example. However you gave me an idea to decode (i do not like it) a WORD in the explorer address to TPath.Get.... However i would like a nicer approach
  12. limelect

    Communication between processes (IPC)

    Many years ago with D6 i used TmdMailSlot very successful . Here you can download it https://torry.net/authorsmore.php?id=152
  13. limelect

    Shortcuts in Grep Results window no longer work?

    Just checked D10.2.3 V1.3.11.64 experimntal It works OK F5 (refresh), Ctrl+N (collapse all) and Ctrl + E (expand all) All work
  14. limelect

    How to replace whole words in a string

    In RX library use RxStrUtils.pas and use function ReplaceStr(const S, Srch, Replace: string): string; {$IFDEF RX_D9}inline; {$ENDIF} { Returns string with every occurrence of Srch string replaced with Replace string. } It dose the job
  15. limelect

    MMX Beta 14.1 available

    This is mine D10.2.3
  16. if you have the source just point to the source path in the project and the project will be compiled with the NEW source. Project>option>search path> to source
  17. limelect

    Casbin4D

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

    Feature request for search shortcut

    I just compiled for curiosity . On D10.2.3 XE8 i took out VirtualTreesD and included jedi.inc thats it. It compiled. I did not install.
  19. In those cases i just leave the DPR and PAS. Make a new directory , copy dpr and pas and load.
  20. limelect

    Google Map Component

    @Rollo62 I use to have many GOOGLE applications for free which i do not even publish. I do not trust this company. What is the point if you do not have a stable program because some has changed the policy. Are we always to change the source for ever?
  21. limelect

    Google Map Component

    @Mavarik Unfortunately you are right My application http://limelect.com/downloads/kml-reader/ has this problem now. https://stackoverflow.com/questions/50977913/google-maps-shows-for-development-purposes-only We can no longer trust GOOGLE for any application. See what they did to G+.
  22. limelect

    Google Map Component

    There was a post on G+ Delphi developer (Now closed) for a paid component. Try to search for it.
  23. I have resource as {$R ResourcePNG.RES} It include png as RCDATA.No problem. I know how to show all resources of a program by using EnumResourceTypes(hinstance, @enumResTypesProc, Integer(mmo1.Lines)) How ever i would like to see ONLY the ResourcePNG.RES content. I suspect i have to have the handle of ResourcePNG.RES instead hinstance ? am i correct and how to do it? I do NOT WANT TO LOAD A FILE while running.
  24. Ok new it compile and as for TortoiseSVN it mite have been an older version i installed TortoiseSVN-1.11.0.28416-x64-svn-1.11.0 and now it is OK. Thanks
×