This is doing my brain in.
I need to be able to delete rows on an entire sheet that contain specific words eg a row/s containing the words 'Mat' & 'Delta' regardless what cell it is in. It could be in some instances more than 2 words.
I'm curretly only able to delete according to one word...
Hi,
Could someone help write a batch file that will look into a particular folder (including sub folders)on my pc and delete any files that are 0kb in size.
much appreciated
I've installed an adaptec 39320-R controller card.
It has two internal channels.
When connecting my boot drive (maxtor 36GB 15K) to channel A I get this error:
39320 A at Slot 03, 03:0A:00 - SCSI controller configuration error:03
Connecting in Channel B works fine. The PC boots up.
I updated...
In other words I want a form to always stay on top and no other apps or actions can be run until this form is closed. I'm using this in my 'about' menu which I noticed is very common on apps.
Thanks,
Jayz
Ok, I know this may not be the best way to do this but it has worked for me.
I ended up using a command which basically cleared the contents in the combox then updated the combobox.
procedure TForm1.Button1Click(Sender: TObject);
var
FileListBox: TFileListBox;
index : Integer;
begin...
Hi Clive,
The filelistbox is created at runtime as per your code thread102-515425.
I even tried dropping a component on the form and it still comes up with the access violation.
All appears to be correct. I even tried just entering the default directory:
FileListBox.Directory := 'c:\';
FileListBox.Directory := 'c:\tasty\vobs';
I still get the error:(
Clive,
I tried your idea but I'm getting an access violation error when I click the button (at runtime).
"Access Violation at address 6F747475. Read of address 6f747475"
This is the code I used:
procedure TForm1.Button1Click(Sender: TObject);
var
FileListBox: TFileListBox;
begin...
Hi Clive, unfortunately there is no code that adds the spreadsheet to the dir if that's what you mean. The user just saves it to this directory and then while the application is open, it should show up in the dropdownlist of the comboBox at the click of a refresh button.
The problem is, at the...
Ok, I've created this combobox which displays a list of excel spreadsheets within a specified directory.
see combobox post here:
thread102-515425
Now, what I want is a refresh button which will refresh this combobox whenever a new excel spreadsheet is added to that directory.
At the moment I...
Basically I just wanted to open an application that was stored within the same directory as my main application.
This was my original code:
procedure TForm1.Button1Click(Sender: TObject);
begin
ShellExecute(Handle, 'open','c:\lazy\calc.exe'
,nil, nil, SW_SHOWNORMAL)
end;
which simply runs...
Ok I found the problem.
Because we are using FileListBox there needed to be a control in 'uses' clause.
So what was happening when I pasted the FileListBox onto the form, FileCtrl was automatically added to the uses clause.
And then when I removed the FileListBox I had pasted onto the form...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.