CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Selected Item and Browse CD?
It apperars that the moderators are not allowing my messages with
attatchments to get posted (even though they are always under 10K). I took
the GetCDPath code (previously discussed) one step further and made it a
component. You can download it at:
http://home.pacbell.net/rmfci/browsecd.zip
I wrote it for BCB1, but, it'll work on BCB3 with the package
modifications.
The non-visual component only has two functions:
To use:
BrowseCD->Execute();
or
if(BrowseCD->Execute())
returns 0 if failed, 1 if succeeded
To use:
BrowseCD->Extract(AnsiString)
example:
String path;
Label->Caption = BrowseCD->Extract(path);
or
OpenDialog->InitialDir = BrowseCD->Extract(path);
The above syntax examples are also in the source "title comment block".
Rick Malik
rmfci@pacbell.net
"Visit the C++ Builder Hobby Pages"
http://home.pacbell.net/rmfci/bcbhp.htm
W Komornicki's Home Page |
Main Index |
Thread Index