In my Delphi 2009 application I need to check if a field exists and if it doesn't add it during application execution.
I have figured out the test for the field, but cannot get a field to add. I tried this
var
fld : TStringField;
begin
if not ADOConnection1.Connected then
ADOConnection1.Open;
fld := TStringField.Create(tbl...
I'm trying to show a popup menu when right clicking my Notification Icon, which works fine; But I want the menu to disappear when the user clicks outside of that menu.
It's supposedly by design (as per this document: http://support.microsoft.com/kb/135788), but no decent app I know of behaves like this. I've tried calling SetForegroundW...
I am creating a desktop application written in Delphi and
I am looking for a database for my application.
I'm a bit overwhelmed by the number of available options.
I'd really appreciate some recommendations and insights from other developers based on their experiences.
Critical factors
Low or no buyin cost.
No distribution fees.
E...
During rebuild after a computer crash, I re-installed Delphi 7, then Delphi 2007. We skipped installation of Delphi 2006. However, now I would like to install Delphi 2006 before Embarcadero discontinues allowing for download of the latest version of D2006.
Is it possible to install Delphi 2006 on this computer without having an advers...
Hi,
Is there any option to not draw "focus rect" on a control in Delphi 2009?
-Pavan.
...
I'm familiar with using Delphi RTTI to access "simple" properties (ints/enums/strings, etc) but I cannot grasp how to work with Array properties.
I'm starting by looking for array equivalents for the GetPropValue/SetPropValue calls. I'd expect to see similar ones to these, but taking an extra "index" parameter, but can't seem to find a...
(More package/component install fun for me -- thanks everyone for all your help to date).
I am getting the error listed as the title, in Delphi 2007. Package A is my package of frame-based "viewer panels." Package B is a package containing a couple of components that are used to show information about datasets linked to a gven databa...
In Delphi 2009, my program now produces a "List index out of bounds" error. It generates a popup box:
I'm using the "Debug" Build Configuration that has all the Runtime error checking turned on. But this does not capture the error before it happens.
Is there any simple way to locate the source of this error in my program without havi...
I have this idea for a project. Associated with any web page, i want to create notes that will be saved locally in a database, the notes will be reloaded automatically from that database the next time i visit the same page.
Creating the note is easy, but i'm looking for how to link the notes to the web page url and how to keep aware of...
I have come to the point of thinking that the onWrite Event of a ClientSocket is redundant when I directly write bytes into the socket connection via SendBuf().
Is my point of thinking somewhere in the desert?
The Delphi Documentation is also somewhat bad because it just sais: "Write a routine for the onWrite event to write into the so...
Hi,
I'm writing delphi app which should have capability of loading plugins. I'm using JvPluginManager as plugin system/manager ;) Now, in the new plugin wizard they say it's better to use .bpl type plugins instead of .dll plugins ... What are the pros of this solution versus dll type plugins?
So far I've found only cons of this solution...
I'm trying to build several 'trees' in memory, and later assign one of them to a TTreeView control that the user can interact with. However, I can't construct any TTreeNodes objects without passing a pointer to an existing TTreeView. Passing in NIL causes AVs.
Two questions:- What's the reason for this "hard" linking between TTreeNodes ...
I'm using D2009. I have a component derived from TWinControl to which I'd like to add mouse panning. I see that there's a new control style, csPannable, and a new control state, csPanning. I've been looking at the vcl source to try to figure it out, but so far I'm a bit lost. Does anyone know of any documentation for this? Any sugge...
I'm getting this runtime error R6034 when I try to execute an application in a Windows 2003 Server.
Microsoft Visual C++ Runtime Library
Runtime Error!
R6034
An application has made an attempt to
load the C runtime library
incorrectly. Please contact the
application's support team for more
information.
This s...
Is there a way to get strings in records bigger than 255 chars?
EDIT:
I have something like the following:
TQuery = Record
Action: string[255];
Data: string;
end;
if I now say:
Test: TQuery;
Test.Data := 'ABCDEFGHIJKLMN...up to 255...AISDJIOAS'; //Shall be 255 chars
It does not work and the compiler complains... How to fix th...
This question seems easy but for some reason I have trouble finding the answer.
I have an application that saves the form's size and position on an INI file. That's all an well, however when you close the application when maximized it will save the size and position of the form maximized but not its state.
What I mean is that on the n...
I'm having an issue trying to access a web service through Delphi. I've consumed a java WSDL with the 2007 version of the WSDLimp tool and it looks like it's created all of the objects correctly. When I make a tester program however that calls the service every object is empty. If I dump the SOAPResponse object in the HTTPRIOAfterExecu...
I'm in doubt if I should use TXMLTransformProvider or TXMLDocument.
TXMLTransformProvider looks more maintainable, and it seems to me that using it will require less coding than TXMLDocument.
In the other hand TXMLDocument looks more flexible.
What I need is to generate and parse a XML document with nested attributes, map it to master...
I'm interested in connecting to the Evernote Service API, which uses Thrift, from a Delphi Win32 app I am developing. I have done very little work with web services in Delphi, and nothing at all with Thrift. Where would be the best place to get up to speed w/using Thrift from Delphi?
...
I am trying to extend a 3rd party application so that it can be invoked via command line in addition to using the windows form GUI (mixed mode is desired). It's a fairly simple program which basically loads a file and then you click a button it starts sending UDP network packets.
I need to invoke the application from another and would...