AbbasAkhtar
Programmer
Questions to be asked in Delphi Forums
Hi I am stuck with the following problems, if anyone could help out, thanks.
1: I am creating a napp, which has a central log file which logs everything. I want to know, how can i do something like syntax highlighting, for example if my log has the following characters: <Tag1>, <Tag2>, how can I get <Tag1> and <Tag2> to be highlighted blue or red colour, anything between the < and the > but it has to be less than 10 characters in between. Or just the selected <Tag1> and <Tag2> will be coloured, instead of everything with < and between >. And it has to be quite fast.
2: In delphi, how can i create a grayscale jpeg, i tried the jpeg grayscale property, it just creates a blank jpeg file.
3: How can I have many files packed into 1 central file, e.g. I want a file called pics.pak and I want my delphi program to be able to save and extract all, selected or just 1 picture out of the pics.pak file. How would I go about doing this.
4: My application is going to monitor processes, exe files. I want my program to add all newly run exe's to the new programs run listbox, and I want this for all applications. It will scan every running process, if the process is iexplore.exe then add this to the log file at which time it was run, if possible. If the process is something.exe then it has to log this to and which time it was run. I want to be able to monitor and be notified when new processes are run.
5: And my last question, my program is going to monitor internet explorer, I want my program to add to a listbox all new url's accessed, when the user hits the Go button or hits the Enter key on the keyboard. I want the program to add to the listbox all new URL's entered in IE.
Any help will be appreciated any questions answered, will be appreciated too. Thankyou.
Hi I am stuck with the following problems, if anyone could help out, thanks.
1: I am creating a napp, which has a central log file which logs everything. I want to know, how can i do something like syntax highlighting, for example if my log has the following characters: <Tag1>, <Tag2>, how can I get <Tag1> and <Tag2> to be highlighted blue or red colour, anything between the < and the > but it has to be less than 10 characters in between. Or just the selected <Tag1> and <Tag2> will be coloured, instead of everything with < and between >. And it has to be quite fast.
2: In delphi, how can i create a grayscale jpeg, i tried the jpeg grayscale property, it just creates a blank jpeg file.
3: How can I have many files packed into 1 central file, e.g. I want a file called pics.pak and I want my delphi program to be able to save and extract all, selected or just 1 picture out of the pics.pak file. How would I go about doing this.
4: My application is going to monitor processes, exe files. I want my program to add all newly run exe's to the new programs run listbox, and I want this for all applications. It will scan every running process, if the process is iexplore.exe then add this to the log file at which time it was run, if possible. If the process is something.exe then it has to log this to and which time it was run. I want to be able to monitor and be notified when new processes are run.
5: And my last question, my program is going to monitor internet explorer, I want my program to add to a listbox all new url's accessed, when the user hits the Go button or hits the Enter key on the keyboard. I want the program to add to the listbox all new URL's entered in IE.
Any help will be appreciated any questions answered, will be appreciated too. Thankyou.