AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Multimedia Delphi Load image from device without letter...
Thema durchsuchen
Ansicht
Themen-Optionen

Load image from device without letter...

Ein Thema von WojTec · begonnen am 18. Apr 2010 · letzter Beitrag vom 18. Apr 2010
 
fatalerror
(Gast)

n/a Beiträge
 
#4

Re: Load image from device without letter...

  Alt 18. Apr 2010, 18:10
normally a drive can have no driveletter in two cases:
1. It is mounted as a folder on another NTFS volume.
2. It is not mounted

in your screenshot you can see the file with an opendialog control, so this code should work:

Delphi-Quellcode:
if OpenDialog1.execute then
begin
    str_path:= ExpandFileName(OpenDialog1.FileName);
    ShowMessage(str_path);
end;
see also ExpandUNCFileName
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:52 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz