I have a SOAP 1.1 client that was generated with the Delphi 2007 WSDL Importer.
Now I need to change it to SOAP 1.2. Since I changed things in the generated code I prefer not to generate it again. How can I manually change it to SOAP 1.2?
Thanks, Miel.
...
Hi guys,
I have a delphi application with a Indy TCPServer and TCPClient
I use the AContext.Bindind.Handle for the identification of each connection (wrong?).
So I have a grid which displayed the connections and I will remove the entry after disconnection:
procedure TfrmMain.serverIndyDisconnect(AContext: TIdContext);
var I:Integer;
b...
Dear All,
I have piece of code which I use to format a range of cells in Excel. It works fine in Excel 2007 but when the range is only 1 column wide and it is Excel 2003 instead of 2007, I'll get an error saying the I am assigning invalid value for a border's line style.
** valuables such as "xlInsideHorizontal", I have declared them a...
I've console app. written in Delphi 2010. It's output is Unicode supported. (I used UTF8Encode and SetConsoleOutputCP(CP_UTF8) for this). When I run the program from command prompt it works fine.
Now I want to read the output from another program which was created in Delphi 5. I use this method. But I've problems with unicode characters....
How can I make the Tpopupmenu to support floating, so that user can drag and drop the menu items (sub menus) to all around the user's desktop?
...
Is there any single event on the DataSet that I can use to make sure my client has applied updates and has the newest data from the SOAP Server?
At the moment I need to add
clientDataSet.applyupdates(0);
clientDataSet.refresh;
for each AfterDelete and AfterPost event on all datasets I use in my SOAP client?
It seems rather a lot...
mybox.Checked := true;
Setting TRadioButton to checked (by code) causes OnClick event handler to be called.
How can I recognize if user is making the state change by GUI interaction
...
I'd like to write a simple application that needs to display notes on a score (musical notes on a music staff). It is not for writing a music notation software, it is just for showing some notes on the staff, in readonly mode. I could of course have an image as background with an empty staff and paint the notes... But of course this take...
hi
is there any way to turn off exception message showing during run-time in Delphi application?
i think there must be a directive to turn off exception message but i cant remember it.
...
I don't know what happened.
When I try to change the encoding of a file in Delphi IDE 2007, It shows me just two options "Binary Form" and "Text Form", some one already faced this problem ? or know how to save it ?
tks for advice
...
How can I use MS Access as a back-end database for a Delphi program?
...
I have a Delphi (BDS 2006) application with TOleContainer control. It has an OLE object inside, MS Equation formula (name 'Equation.3') from MS Office 2003.
How can I extract the vector metafile from the formula image to insert it into web-page or some other document without OLE support?
TOleContainer has only 'Equation.3' objects ins...
Question:
Can anyone point to an article or code samples anywhere on how to
provide BOTH editing AND range selection in a TStringGrid?
Yes, I KNOW there are third-party grids that do this, but it's
frustrating that the built-in grid lacks this basic capability.
Background:
It's pretty normal to expect to be able to both edit a cell...
I have read a text file (of names) into an array and I need how to sort those names into alphabetical order and display that in a rich edit?
Please give me the code from this point onwards:
readln(myfile,arr[i]);
'myfile' is the text file and 'arr' is the array of string.
Also, I have declared 'i' as an integer even though it is a arr...
I think this question was already asked, but I couldn't find a solution which works for me. I use Delphi 7 under Windows 7 Ultimate, 64 bit. Actually I started writing application under 32 bit OS, but then changes PC, so now its 64. In my program I use registration process with Licence ID generated from PROGID value of Windows. Unfortun...
How do I auto highlight the 1st entry in a DBLookupListBox without the end user highlighting it.
procedure TForm2.FormCreate(Sender: TObject);
begin
Form2.ActiveControl := DBLookupListBox1;
end;
But this doesn't work, I've also tried DBLookupListBox1.setfocus on form create, but this gives an error, because the DBLookupListBox is ...
Hi everyone!
I'm trying to remake some of my older projects to support Aero Glass. Although it's kinda easy to enable glass frame, I've encountered some major problems. I used this code:
var
xVer: TOSVersionInfo;
hDWM: THandle;
DwmIsCompositionEnabled: function(pbEnabled: BOOL): HRESULT; stdcall;
DwmExtendFrameIntoClientArea: f...
Hi
I've implemented a search using the TFindDialog on my form. Everything works well except that I cannot find a way to mimic the "F3 - Find Next" behaviour as in Notepad. Once you have entered a search string, pressing F3 finds the next instance without opening the search dialog.
Regards, Pieter.
...
I can only translate my application to my language using TcxLocalizer at runtime, but I need this working also in design-time.
Does anyone has some suggestion?
Thanks in advance
...
How do I go about sending a Windows Message to a form in my application that is not the MainForm? Using the code below gives me an Access Violation.
procedure TMainForm.SendMessageToAnotherForm;
begin
SendMessage(MyForm.Handle,WM_MY_MESSAGE,0,0);
end;
MyForm has already been created and is the top most window.
Edit: I have tried P...