I have a string variable and a textfield component, I want to compare the contents of the string to the textfield.text value and check for equality but I want to ignorecase, so providing the l...
Hi,
I am currently using MySqlCommand to insert records into a remote database. It's very slow executing one insert query at a time.
Can somebody show me how I could do multiple inserts ...
I'm converting a Delphi 7 application to .NET (vcl.net).
I have a component in the Delphi 7 which returns amongst other things the application version. However, it seems to be reference str...
Can someone show me the trick of populating a empty treeview menu in code (in the Page_load procedure).
say I have 6 strings with a menutext, and 6 strings with a url, and I want to make a t...
I'm trying to save a string to a filestream.
The documentation says that I should use an encoder class, for example ASCIIEncoding, to implement this. (i.e. use the GetBytes method to create...
Converting a delphi 7 application to .NET and enjoying every minute of it.
The application uses a TExcelApplication,TExcelSheet,TExcelWorkBook and TExcelPageHeading components to create spr...
When adding a gridview to a page, setting datasource/connectionstring, selectstatement and all, it is working nicely, even with paging, getting data out of a ms sql 2005 db. But a lot of thing...
I have a form whereby I want to enable a search feature. I have two edit boxes one to search by surname and one to search by employee number. The remainder of the fields on the form are dbedit...
Can somebody show me some .NET 1.1 code to import a CSV?
Thanks
Converting Delphi 7 code to Delphi.Net and I'm having difficulty with API message handling. Take the following code:
procedure TPriamPageControl.WndProc(var Message:TMessage);
begin
...
Converting a Delphi 7 application to VCL.NET forms.
I wish to use the HelpProvider class. Is this possible in VCL.NET application and if so how? Or is it just a winforms class?
The Delph...
I'm having problems to access the private key of the certificate stored on the chip card.
If i access the private key of a certificate with private key stored on the machine certificate sto...
How do you convert Variant Records to a safe type in Delphi.Net? For example, I want to use the following type in a .Net program
type
TMyDate = packed record
case boolean of
...
For various reasons I initialize datetime fields in a SQL 2005 table to 0 instead of NULL, meaning the fields will show something like '1900-01-01' in a gridview with AutoGeneratedFields.
...
Does anybody have any examples of how to use EnumchildWindows in Delphi.NET?
The following win32 code does not work:
var
Form4: TForm4;
var WindowList:TList;
TopWindow:THandle;
i...
Converting a form from Delphi 7 to Delphi .NET VCL Forms.
The form has images on it. Images are static or loaded from internal resources.
The original Delphi 7 form has the unit JPEG in ...