Hello,
It works. Thank you.
But another question. I need a Sleep command for 1 second after the taskkill, but 'Sleep(1000);' doesn't work and I can't find a solution.
How can i realize that?
My Visual Database → Posts by DanielDTR
Pages 1
Hello,
It works. Thank you.
But another question. I need a Sleep command for 1 second after the taskkill, but 'Sleep(1000);' doesn't work and I can't find a solution.
How can i realize that?
Hi,
is it possible to kill a task with script? Could you give me an example with notepad.exe, please?
It works. Thanks a lot.
Another question. I want to show a certain value from the database entry in a messagebox.
For example: Database Table 'Teileverwaltung', Field name 'revision'
Could you give me an example please?
Hello,
is it possible to copy and paste selected raw in a table grid with one button?
It looks good now. Thanks for your great help.
Edit: Last question: How can i clear the Records in the combobox?
procedure Form1_OnShow (Sender: string; Action: string);
var
i, c: integer;
sl: TStringList;
begin
sl := TStringList.Create;
sl.Text := GetFilesList('c:\Films');
c := sl.Count - 1;
for i := 0 to c do Form1.ComboBox1.dbAddRecord(-1, sl[i]);
sl.Free;
end;
I only need the name of the files, not the full filepath.
For example "Test.avi" instead of "c:\Films\Test.avi"
I Need a part of a string... strreplace doesnt work in my enviroment... what ways are there to get subsstrings or removing parts of a string?
Hello,
i export some files in a certain folder. Now, i want to show the filenames in this folder in a combobox. How can i do that?
regards
Yes. It works now. Thanks a lot.
Hello,
i need to get the full file path of a selected File.
At the moment i only get the name of the file or the folder path.
How can i get this?
Pages 1
My Visual Database → Posts by DanielDTR
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi