Class helpers and virtual methods  

Hello, is it not possible to add a virtual method with a class helper: THelper = class for TDBItem function Info: String; virtual; end; In my library I have to kind of items TDBItem = class TDBMapItem = class(TDBItem) then ... Continue Reading
Views : 70
Sunday 25th of November 2012

Developing on Virtual Machine - best practice questions  

I've finally gotten a vm setup with a full version of xp pro. it's updated, firewalled, anti-virused, has all of my basic utilities, word processing and programs installed and it's backed up. At least 3 full long days spent on ... Continue Reading
Views : 62
Sunday 25th of November 2012

Date Problem  

Is it possible to get a dateTime with only the week of the year and the year as input? I can't find anything in DateUtils. Bill from Maryland... Continue Reading
Views : 67
Sunday 25th of November 2012

clientdatasets parameters  

Sergio Gonzalez wrote: $PHXGREAT Hello, this piece of code is from a CDS example. I have a question: $PHXGREAT Why the parameter is passed to the CDS and not to the TIBQuery $PHXGREAT connected to it, via its datasetprovider? You ... Continue Reading
Views : 78
Sunday 25th of November 2012

Does not an inherited function has to be virtual  

I see some code where inherited is, I think, used to call a parent function that is not virtual. Is this possible? Am I missing something?... Continue Reading
Views : 96
Sunday 25th of November 2012

Showing a Form  

I have an application that the client can minimize or the application could be behind another application. It looks ridiculous, but I'm calling the following to attempt to have the form shown on top of the other forms. I don't ... Continue Reading
Views : 37
Sunday 25th of November 2012

BDS2006: Multiple Monitors, DataModules suddenly not visible  

Hello, I have sometimes the nasty problem that after loading DataModules of my Project aren't visible. The problem is that the Left- and Top-property values in the *.dfm-files are set to really nonsense values. I must then kill my instable ... Continue Reading
Views : 52
Sunday 25th of November 2012

Re: Glyph TBitmap loading error  

Thanks a lot Mark, I will take a look at it. Bob. "Mark Tiede" $$PHXGREAT a ?crit dans le message de news:474d85b4$ $PHXGREAT Bob, $PHXGREAT $PHXGREAT I think that list of known extensions is registered by some Delphi BPL $PHXGREAT... Continue Reading
Views : 46
Thursday 22nd of November 2012

AddressBar with TProgressBar as background..  

Jamie Dale wrote: $PHXGREAT Hi $PHXGREAT $PHXGREAT I saw a snippet of the iPhone on TV today. $PHXGREAT $PHXGREAT The internet address bar was very nice. As the page was loading, the $PHXGREAT ProgressBar was actually the white background of ... Continue Reading
Views : 57
Thursday 22nd of November 2012

Re: Inconsistencies between different approaches to extractingstring data from API functions  

In article $$PHXGREAT, "Rudy Velthuis [TeamB]" $$PHXGREAT wrote: $PHXGREAT$PHXGREAT Version 0. Here a local static string variable is passed to the API $PHXGREAT$PHXGREAT function. The @ operator is used to... Continue Reading
Views : 210
Thursday 22nd of November 2012

concat PDFs together  

My app generates a bank statment as PDF from QuickReports. We have the disclosure page they want, already in a PDF. Is there a way to concatonate the two together easily. So far, we have found a GPL exe that ... Continue Reading
Views : 60
Thursday 22nd of November 2012

Expert for showing current class and method name  

Hello, Yes, the very good (but not free) Castalia expert implements that functionality and more - See for yourself here : Hope this helps Gaetan Siry Achim Kalwa $$PHXGREAT wrote: $PHXGREATHello *, $PHXGREAT... Continue Reading
Views : 47
Thursday 22nd of November 2012

xml to clientdataset  

Hi, I'm trying to show one xml stream on a dbgrid, but don't work anyone can help ? My code: procedure TFrmMain.HTTPRIO1AfterExecute(const MethodName: string; SOAPResponse: TStream); var XMLDoc: IXMLDocument; begin SOAPResponse.Position := 0; ClientDataset1.Active := FALSE;... Continue Reading
Views : 71
Thursday 22nd of November 2012

Re: TForm multiple reference  

Wayne Niddery (TeamB) wrote: $PHXGREAT When you create an instance of frm_Query1, pass the instance of $PHXGREAT Frm_ProgA as the Owner parameter (this should be *self*), e.g. $PHXGREAT $PHXGREAT frm_Query1 := Tfrm_Query1.Create(Self); $PHXGREAT $PHXGREAT Now when that instance of frm_Query1... Continue Reading
Views : 42
Thursday 22nd of November 2012

calculate a 5 minute time difference  

Hi. Can someone show me how to calculate a 5 minute time difference. I came close! The problem occurred if the time I saved was 10:56:00 and the time I was comparing it to was say 11:01:00; I got -6 ... Continue Reading
Views : 66
Thursday 22nd of November 2012

Debugging Executable AND DLL at same time  

I cannot debug both my EXE AND a DLL it is calling at the same time. Is there a trick to doing that?... Continue Reading
Views : 53
Thursday 22nd of November 2012

Get last boot date/time  

Hi, Is there a way to know the exact date (and time) when a Windows PC has been booted last? (XP & Vista) I do not want to use the system date & time because the user can alter these ... Continue Reading
Views : 65
Thursday 22nd of November 2012

Synchronization of access to shared data  

Hi, A few more questions about threads and synchronization. The first question relates to data in a memory-mapped file shared by several instances of an application. Does access to the data have to be protected from concurrent access by a ... Continue Reading
Views : 95
Thursday 22nd of November 2012

TADODataSet member not recognised  

Can anyone tell me why I get a compiler error (E2003 Undeclared identifier: 'cmdText') on the 2nd line of this block? (Note: I do not get an error on the subsequent line!) with DataModule1.ADODataSet1 do begin CommandType := cmdText; CommandText ... Continue Reading
Views : 43
Thursday 22nd of November 2012

D2007 red line...  

Hi, This is new for D2007. I have a panel TDrawingSurface = class(TCustomPanel) and on a form I have drawSurface:TDrawingSurface; Now, when I use drawSurface.Invalidate; the IDE puts a red line under invalidate and claims =3FTDrawingSurface does not contain a ... Continue Reading
Views : 168
Thursday 22nd of November 2012

getting Code Insight to work  

Hi, I want to enable CodeInsight tooltips for my own classes and other symbols. So I * added comments to my source code * turned on Tools/Options/EditorOptions/CodeInsight -$PHXGREAT Tooltip Symbol Insight * turned on Project/Options/Compiler/Generate XML documentation * rebuilt the ... Continue Reading
Views : 55
Thursday 22nd of November 2012

Re: Schedule a new program to run immediately after program finishes  

"Sven Pran" $$PHXGREAT wrote in message news:... $PHXGREAT $PHXGREAT "Remy Lebeau (TeamB)" $$PHXGREAT wrote in message $PHXGREAT $PHXGREAT$PHXGREAT $PHXGREAT$PHXGREAT "Sven... Continue Reading
Views : 34
Thursday 22nd of November 2012

Hints problem  

Hello, I've a problem with the hints - I notice a few other messages about this but they don't solve it for me. I have an application and the hints both on the IDE, and also my application when I ... Continue Reading
Views : 97
Thursday 22nd of November 2012

Object Reference not set to an instance of an object.  

Hi all, I have posted concerning this issue previously but have not received a response so i am re wording it hoping that this will make a difference. During my testing of the Rad Studio 2007 I noticed that there ... Continue Reading
Views : 47
Thursday 22nd of November 2012

Best approach with DCUs  

Best approach with DCUs? 1. keep them all in a \lib folder and refer to this unique folder in the library path? 2. keep them all with their .pas sources and refer all those source folders in the library path? ... Continue Reading
Views : 56
Thursday 22nd of November 2012

Alphanumeric sort routine in delphi  

Hi everyone! I need a good alphanumerical sorting routine written in delphi. Normally, WideCompareStr will arrange strings like this: text1 text12 text123 text2 text3 Instead of that, I need to arrange my strings this way: text1 text2 text3 text12 text123 ... Continue Reading
Views : 148
Thursday 22nd of November 2012

Get photos from camera  

Hi All, I am trying to create a form that can download photos from a camera, but I don't know how to detect if a camera is attached or if one is, where it is (the drive letter). Does anyone ... Continue Reading
Views : 38
Thursday 22nd of November 2012

D2007 can not disable design packages  

Disabling loading design packages does not work with or without a loaded project. The settings are lost every time the ide or project is loaded. Any ideas? dave m... Continue Reading
Views : 158
Thursday 22nd of November 2012

Clone app  

On Wed, 02 Jan 2008 19:41:18 +0100, Luis Daniel Taballione $$PHXGREAT wrote: $PHXGREAT I have a Delphi 7 app and I want to create a another one starting with $PHXGREAT it. May I copy all files into a new folder ... Continue Reading
Views : 56
Thursday 22nd of November 2012

string to curreny. problem with decimal and thousand separators  

Sergio Gonzalez wrote: $PHXGREAT $PHXGREAT Hello, I have an import process in my app that reads a text file and $PHXGREAT convert the values to currency. The text files are generated in other $PHXGREAT PCs than the one with is ... Continue Reading
Views : 110
Thursday 22nd of November 2012