Problem with dbExpress is that it does not raise an exception if anything is wrong in database (for example, if you try to add primary key which already exist). So, to get an exception, best would be to use OnReconcileError in TClientDataSet......
TObject(Sender) is unsafe since:
TButton(Edit1).Caption := 'junk code';
will not raise an exception, while:
(Edit1 as TButton).Caption := 'junk code';
will raise an exception. Taken from here.
I was using TEmbeddedWB: EmbeddedWb1.ElementByID['username'].SetAttribute('value', 'stanko', 0) This is if you ger error: Exception class EOleError with message 'Method 'Name' not supported by automation object In TEmbeddedWB.
If you are receiving a message like this, and you know that path exist, also, you added in the system path, then check in Delphi Tools->Options->Environment Variables, if you have path defined there too, then Delphi will override existing...
If you receive that exception, and you are using something like: ... var  Buffer: array [0..MAX_SIZE] of Char;  Than MAX_SIZE is too big, because Char can take small mount of data. Use better something like this: procedure...
Here is an example of function for geting logs from command line. This mean, if you call, for example, chkdsk, you will get what would be writen on a console output. Also, if command failed, you will get that information :) Â function...
If you are using ClientDataSet, with flat file database (SaveToFile, LoadToFile), then also use: procedure TDataModule1.ClientDataSet1AfterOpen(DataSet: TDataSet); begin  ClientDataSet1.LogChanges:=False; end; Because otherwise ClientDataSet...
First of all you have to install MSMQ. You will do it through Control panel->Add remove programs->Add/Remove Windows components. Second you will need to access MSMQ for managing, you can do it through Computer Management->Services and...