Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Jayz
  • Order by date
  1. Jayz

    Delete Rows containing specific words - MS Excel.

    thanks for the attempt PHV, tried your code but ended up in the loop of death. any other ideas?
  2. Jayz

    Delete Rows containing specific words - MS Excel.

    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...
  3. Jayz

    Burn a downloaded movied to disk.

    try the proggy winavi or the more advanced software thefilmmachine. google it
  4. Jayz

    Batch file to delete 0kb files in directory and sub directories

    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
  5. Jayz

    SCSI Controller Configuration error

    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...
  6. Jayz

    How do I make a form modal

    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
  7. Jayz

    How do I refresh a combobox?

    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...
  8. Jayz

    How do I refresh a combobox?

    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.
  9. Jayz

    How do I refresh a combobox?

    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:(
  10. Jayz

    How do I refresh a combobox?

    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...
  11. Jayz

    How do I refresh a combobox?

    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...
  12. Jayz

    How do I refresh a combobox?

    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...
  13. Jayz

    Can't seem to get shellExecute work with ExtractFilePath

    Ahh I see where I went wrong. Thanks clive for that.
  14. Jayz

    Can't seem to get shellExecute work with ExtractFilePath

    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...
  15. Jayz

    How do I display a list of certain filenames in a combo box?

    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...
  16. Jayz

    How do I display a list of certain filenames in a combo box?

    Kistal, you are correct I pasted a FileList box onto the form. But I had no other choice. I kept getting the error Undeclared identifier: 'TFileListBox'. FileListBox: TFileListBox; would be highlighlted. So now I'm confused. What am I missing?. Here is the complete code that won't compile. I...
  17. Jayz

    How do I display a list of certain filenames in a combo box?

    Strangely enough I did do that, but have just realised that it should be placed as the last line of code. var FileListBox: TFileListBox; index: Integer; begin FileListBox := TFileListBox.Create(Panel1); FileListBox.Parent := Panel1; FileListBox.Directory := 'c:\temp'...
  18. Jayz

    How do I display a list of certain filenames in a combo box?

    Clive thanks very much for that. Just one more thing, how do I make the ItemIndex display the first file instead of a blank. I'm unable to change this in the object inspector. I am using the style csDropdownList. Regards, Jayz
  19. Jayz

    How do I display a list of certain filenames in a combo box?

    Hello Experts of the realm, I need to display in a combobox, a list of filenames (including extension) of a certain type, eg spreadsheets with the extension '.xls' that is in a set directory. I hope this is clear. So, as a simple example: I have a form with only a combobox displayed, that...
  20. Jayz

    How do I text wrap the message Dialog box?

    Thankyou both for your great tips.

Part and Inventory Search

Back
Top