xml sample/app settings in xml
hi all can anyone help me to learn how to use XML. As a test i want to use XML instead of INI files for saving a program settings. Thanks ...
hi all can anyone help me to learn how to use XML. As a test i want to use XML instead of INI files for saving a program settings. Thanks ...
I've downloaded a SynEdit version from a Chinese website (with lots of improvements), but as the version on Sourceforge it doesn't support true-type fonts (such as Tahoma); it displays them separated with a space. Anything I can do about this? ...
I need to set a hot key at the operating system level, that once set will call whatever I tell it to call. The hot key set must be done from inside my preference option, but the application must not have to be open so that the hot key works. ...
Possible Duplicate: Best algorithm for evaluating a mathematical expression? I mean like when you enter this in Delphi: var i : integer; begin i=5 + 5 + (2 * (3 + 2)) + (1 * 4 + (1 - 3)) end; But I want a command that works in this way: var i : integer; s:string; begin s:='5 + 5 + (2 * (3 + 2)) + (1 * 4 + (1 - 3))'; ...
The Delphi XE dbExpress tutorial in the online documentation uses ApplyUpdates(-1): // Client data set has provider do update. ClientDataSet1.ApplyUpdates(-1); Some online sources however say it would have advantages to use ApplyUpdates(0), and it would be a widespread mistake or bad practice to use -1. Is this true? And when and ...
Now this has happened to me twice this week alone: when I press Ctrl+Z a number of times in RAD Studio 2009, the editor buffer gets corrupted. The current and nearby lines get filled with nonsense data, and sometimes a breakpoint is created (autobugically). And there is a EAccessViolationin the IDE, which then terminates. All unsaved cod...
I'd like to know how much bytes a 32-bit integer ASCII character (char in C++?) Pointer (4 bytes?) Short Float Takes up in Delphi, and if it is generally the same in most languages Also, do the data types mentioned above have a constant size? I mean are the integers 0, 4, 123 and 32231 all of the same size? ...
Hi people. I am a physicist. I am trying to work on Delphi with an imported activex control (ocx file). Let’s say there are 3 automation interfaces in the library: IGraph, IGraphAxes and IAxis. The structure of the library is such that: ===IGraph’s properties:=== Idispatch* IGraphAxes; ... //other members ===IGraphAxes’ properties:=== ...
Hi , how can i click on a "< / span>" tag in a html page ? like this : <span id="_ID_">Hello There</span> Is it possible ? Thanks ...
Is there a way to explore a interface's properties with Rtti? The following code does not work: procedure ExploreProps; var Ctx: TRttiContext; RttiType: TRttiType; RttiProp: TRttiProp; begin RttiType := Ctx.GetType(TypeInfo(IMyInterface)); for RttiProp in RttiType.GetProperties do Writeln(RttiProp.ToString); end; Has an...
Is there a way to convert a Delphi .dcu file to an .obj file so that it can be linked using a compiler like GCC? I've not used Delphi for a couple of years but would like to use if for a project again if this is possible. ...
I use Bold for Delphi with D2007. The model is rather big and now I discover we have many methods in the model that are not called. The compiler should give a hint about it but it is quiet. In Delphi the linker remove methods that do not have any reference. It then give a hint on that when compiling. I try to explain how Bold use method...
Im trying to code a basic irc client in Delphi 2010 using Indy components. Im able to connect to my irc server (unrealircd) using sample A below. After connecting I have many procedures that should perform actions when it receives a private message, ping, ctcp, channel modes etc. but they never react to any of these incoming events. Sa...
I have a C# Web Service that returns a XML as a result that will be consumed by a Delphi 7 application. Normally, I would return a .Net XmlDocument class if I had a .Net client, but, for Delphi, I'm returning a string. Below is the C# Web Service Code: public String ReturnXML() { XmlDocument xmlDoc = GenerateXmlMethod(); String ...
Hi everyone, My Previous Question From the above answer, means if in my threads has create objects, i will face memory allocation/deallocation bottleneck, thus result running threads may slower or no obvious time taken diff. than no thread. What's the advantages of running multi threads in the application if I cannot allocate memory to...
Delphi 7 on Windows 7 I want to scroll down a list (TElTree) using the mouse wheel... so I start writing some code in the ElTree's OnMouseWheelDown event. Then I notice that it's scrolling 2 rows at once. The mouse wheel settings in Control Panel are set to scroll only 1 line at a time. If I place a breakpoint inside the event handler, ...
I started occupational programming with Delphi when the Turbos came out , and have licenses for Delphi 2006 Turbo Pro and Delphi 2009 Professional. I have been asked to support another in-house tool, written by another occupational programmer, who has since retired. It's a Windows program, but it was developed with Delphi 6 using the CL...
How can i get an unique id from one of installed hardwares? Something like h.d.d serial or motherboard, ....? Thanks...
Hello, I am trying to create an open dialog (in Windows 7) where the user is confined to the initial directory. On the open dialog I have set the optionsEX to [ofExNoPlacesBar] and that removes the bar that would let them select folders and directories to go to quickly but the user can use the bread crumb address tool to go up a le...
I am using the inifile to store values which I use to replace other values in a file for example A with B A=B which works fine however if I a space before the value B this is Ignored when reading in EG A= B is still read in as just 'B' rather than ' B', does anyone have any idea how I can work fix this, I am using Delphi 7 so I cannot us...