Re: exception handling

2012-04-25 Thread Chris Stebbing
Hi Ross, if this is your own application you're talking about then look into Exception Magic. I use this and find it invaluable for assisting with user problems. Cheers, Chris. On 24/04/2012 1:59 PM, Ross Levis wrote: This is likely a simple question but I've never dealt with it before.

Hibernating an application

2009-01-23 Thread Chris Stebbing
Hi All, is it possible (as in is there any software out there that would allow me to do this) to hibernate an application? When a laptop goes into hibernate mode it saves a memory snapshost and resumes with everything exactly where it was - I've done this with media player running and the

pascal scripting help

2008-11-03 Thread Chris Stebbing
Hello All, I am totally confused and am hoping that someone, anyone, can help me. I have successfully imported and have access to the following class from my script. TIISScriptCondList=class(TStringList) function getFScriptCondbyName(const Name:String):TScriptCond; public {

more on COM

2008-06-04 Thread Chris Stebbing
Hi All, I'm struggling through this automation project that I'm in the middle of. I need a Delph program to talk to an application which is a .net application and I have no idea what language it was written in. The application has installed a COM server on my machine, and I have imported

COM automation

2008-06-03 Thread Chris Stebbing
Hi All, I need to write an application to communicate to a program via COM. I have fiddled somewhat and discovered that I can do this using the following code CreateOleObject('BettingAssistantCom.Application.ComClass'); Is this the correct way of doing it? Is there a more modern or

Line of Best Fit and Correlation Coefficient

2008-05-14 Thread Chris Stebbing
Hi All, I'm on Delphi 2005. Can someone please point me in the direction of a freeware component for calculating a line of best fit and correlation coefficient for a series of x y values? There's not going to be a whole lot of points so speed is not the issue here, just something simple

progress bars and guages

2008-01-31 Thread Chris Stebbing
Hi All, I'm looking for some progress bars and guages for a current project. Many years ago I had access to a wonderful array of progress bars and guages for Delphi 3 but I can't remember where I got them from. Can anyone point me in the right direction please? I'm using Delphi 2005.

Debugger no longer shows values in hints

2008-01-20 Thread Chris Stebbing
Hi All, I am running Delphi2005. I have no idea why this has happened, but all of a sudden the debugger has stopped showing values of variables etc in hints when I hover the cursor over them when debugging. This is incredibly frustrating as it has always done it before, and now it's stopped

Re: Domains, Presentations, and StringGrids

2007-10-03 Thread Chris Stebbing
At 08:25 AM 02/10/07, Alan Colburn wrote: As users, however, we're accustomed to simply typing in a grid a la spreadsheets. So how is the program set up to recognize when you're changing attributes of an existing object, and when you want to create a new object? I know that some people use

Re: Sorting 24 floats billions of times - or not

2007-10-01 Thread Chris Stebbing
At 05:00 AM 29/09/07, Rob Kennedy wrote: Wilfried Mestdagh wrote: Convert it to integers will speed up a lot. There are 20^24 permutations he wants to analyze. If he can process 1 billion permutations per second, it will take 531 billion years to look through all of them. Let's not worry

Re: Threading issue

2007-08-04 Thread Chris Stebbing
Hi Ross, The read and write routines should be accessing different memory buffers at all times, and this seems to be the case when no seek is done. It all works fine. This sort of assumption is dangerous when dealing with threads. :-) Without knowing what

auto sizing grid

2007-07-29 Thread Chris Stebbing
Hi All, I have Delphi 2005 (with the Jedi components installed as well). I would like a grid (either stringgrid or dataaware grid) that will automatically size itself to a panel. If the user resizes the form/panel I want it to auto-configure the number of rows and columns to fit within the

RE: https protocol

2007-07-26 Thread Chris Stebbing
Hi Chris, many thanks for the response. It works a treat. Do you know if it's possible to get the HTML code from the page rather than just the text? The HTML would work better for me, but the text is a start. Ta muchly, Chris. ___ Delphi

RE: https protocol HTML

2007-07-26 Thread Chris Stebbing
Hi Chris, don't worry about that last question, I managed to find a way to do it from about.com which works great. Cheers, Chris. ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi

RE: Problems while creating/running apps for Vista

2007-07-25 Thread Chris Stebbing
At 07:21 PM 25/07/07, Ross Levis wrote: So my app now stores it's data in Program Files\app folder\Data. I use Inno Setup which has the facility to set directory permissions. This is all you need in the setup code. [Dirs] Name: {app}\Data; Permissions: users-modify Hi Ross, thanks for the

RE: Problems while creating/running apps for Vista

2007-07-24 Thread Chris Stebbing
Hi All, The issues with the program files folder makes me think that this is the death of the program files location for small developers such as myself. I find it useful and very convenient to store my programs and data in the one location. My programs are small and my data is an integral

RE: Component or Frame Arrays

2007-07-03 Thread Chris Stebbing
At 09:32 PM 02/07/07, John Barrat wrote: This leaves me with 8 frames visible on my form, I assume with Names of FuseNo0 throught to FuseNo7. How do I access these frames and their sub components? I have tried populating their properties in the AddFuseItem procedure but I just get a syntax

HTML Browser / Parser

2007-04-25 Thread Chris Stebbing
Hi All, this may seem like a strange request, but is there a program out there that will take a web page and break it down into a tree-like structure? I need to do some web scraping and it would assist me greatly if there was a program which would allow me to traverse the HTML code in a

HTML Browser / Parser

2007-04-25 Thread Chris Stebbing
Hi All, this may seem like a strange request, but is there a program out there that will take a web page and break it down into a tree-like structure? I need to do some web scraping and it would assist me greatly if there was a program which would allow me to traverse the HTML code in a

Integer Bigger than Int64

2007-03-01 Thread Chris Stebbing
Hi All, believe it or not, I need an integer bigger than Int64. Int64 is a signed 64bit integer, and I'm wondering if there's anything bigger out there... Much bigger. I'm going to use a double for the time being to see if I can get away with using a floating point value, but I'd really like

Re: explicittop left width etc

2006-08-10 Thread Chris Stebbing
Hi Cosmin and Jeremy, thanks for your responses.. I think I shall investigate Cosmin's idea. Cheers, Chris. ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi

explicittop left width etc

2006-08-09 Thread Chris Stebbing
Hi All, I am collaborating on a program with a friend of mine who has Delphi 2006 and I have Delphi 2005. His program keeps adding a number of properties to some form files which I don't have. namely explicittop explicitleft explicitwidth etc. I can compile the program ok, but if I try to

Re: TWebBrowser and automating web surfing

2006-07-09 Thread Chris Stebbing
G'Day Rich, I may be on the wrong track here, as I'm working at the extent of my knowledge in this area, however this is how I've done it in the past. If you examine the code you should be able to figure out the url which is sent when you press the search button. For example, it might end up

opening a csv file in default program

2006-07-04 Thread Chris Stebbing
Hi All, I'd like to be able to launch a CSV file into Excel or whatever happens to be the default application to handle CSV's. I had though that I could just do a ShellEx or CreateProcess with the csv as the application name, but that doesn't seem to work. Can anyone advise how I might

Re: opening a csv file in default program

2006-07-04 Thread Chris Stebbing
At 04:51 PM 04/07/2006, Wim Sterns wrote: use ShellExecute(handle,pchar('open'),pchar('c:\myfilenamehere.csv'),nil,pchar(mystartdirhere),SW_SHOWNORMAL); works fine ... Wim Sterns Hi Brendan and Wim, many thanks for that. I think I had the parameters all wrong. Works a treat. Cheers, Chris.

Re: LITE security / licensing aid

2006-03-26 Thread Chris Stebbing
At 05:42 AM 25/03/2006, Cosmin Prund wrote: Hello everyone! I'm working on securing some of my applications right now. I've managed to get on/off security working (ie: you're ether licensed or you're not licensed) but now I'd like to add a few tones of gray. Essentially I'd like to add the

Re: Interface use question

2006-03-21 Thread Chris Stebbing
Hi Robert, I have a couple of apps which work the following way. When minimised, they appear only in the tray. When open or visible they appear both in the tray and on the taskbar. I find this an excellent way of operating, as if they're open I can bring them to the front

XML Parser

2006-03-15 Thread Chris Stebbing
Hi All, I need a crash course in XML parsing, as well as some pointers to some components which will help me do all the hard work. My project is to download data from a webpage which provides XML data. I then need to parse this code and extract certain bits of information. I have Delphi

Re: TThread mystery since D6/D7

2006-02-26 Thread Chris Stebbing
At 06:27 AM 27/02/2006, Arno Garrels wrote: Hello, When I run the code below in D7 as well as BDS2006 I get an EThread exception with message Invalid handle(6). In D5 there was no problem with the same code. Has anybody any idea why that happens? Thanks, Arno Garrels var AThread : TThread;

RE: Reducing Startup Time via Minimal Package Loading

2006-02-08 Thread Chris Stebbing
At 11:50 PM 07/02/2006, Robert Meek wrote: Alan, Ask on the Borland Delphi General IDE list, or look back thru the last three weeks of messages for a subject containing, Delphi 2006 Startup times, because there were a great number of posts on this subject and links to Borland blogs and

Re: Printing a Memo

2006-01-27 Thread Chris Stebbing
At 01:38 AM 28/01/2006, Garth S. Wilcox wrote: To print a memo, I change the component to a TRichEdit. It has a print method. Just set the PlainText property to true. As Grocho Marx asked, how do you get down off an elephant? You don't down off an elephant, you get down off a duck. Thanks

Printing a Memo

2006-01-25 Thread Chris Stebbing
Hi All, this is going to sound like a really stupid question, but how do I print the contents of a Memo? I have just recently upgraded to Delphi 2005 and have the JVCL components. I used to use the DreamCompany components, and their TDCMemo had a print method which was fantastic. So,

RE: This feature is giving me the irrits

2005-11-15 Thread Chris Stebbing
At 12:11 AM 15/11/2005, Robert Meek wrote: I've never seen this in Delphi! Are you sure you haven't switched on one of the Windows options or some other desktop utility that automatically activates what ever window the cursor is currently over? There are quite a few of these and of

This feature is giving me the irrits

2005-11-14 Thread Chris Stebbing
Hi All, where do I turn off the so-called feature where Delphi closes windows when you hover the mouse over them? For example, I have a datamodule and I double-click the table component to show me the database fields... When I point to one of them with the mouse, Delphi raises the code editor

Re: component search?

2005-11-07 Thread Chris Stebbing
At 05:54 AM 07/11/2005, Rob Kennedy wrote: Chris Stebbing wrote: with the 6 thousand odd component palettes in D9, is there someway of searching through them I seem to have forgotten where they are all in between decomissioning D3 and installing D9. Just set focus to the Tool

RE: compiling in obj files

2005-11-06 Thread Chris Stebbing
At 11:57 PM 05/11/2005, Robert Meek wrote: It has to be recompiled. When it is it will ask you if you want it compiled for Win32 or NET, ( at least it does for whole projects ). Hi Robert, my application is a Win32 application, so I can't see why it needs to be recompiled? the whole

component search?

2005-11-06 Thread Chris Stebbing
Hi All, with the 6 thousand odd component palettes in D9, is there someway of searching through them I seem to have forgotten where they are all in between decomissioning D3 and installing D9. While I'm at it... is there any addin or expert which lets me reorganise my code to put all

compiling in obj files

2005-11-04 Thread Chris Stebbing
Hi All, I have what should be a simple question I'm migrating an app from D3 to Delphi2005... I don't have time to rework all units, and so want to compile in some of pre-compiled object files from D3 into my D9 project One such file is a file called TracksU.pas. I have another unit

Re: Accessing Compilation Date

2005-10-30 Thread Chris Stebbing
At 04:29 AM 29/10/2005, Rainer von Saleski wrote: How does a running Delphi program access the date of its compilation? Rainer Hello Rainer, I'm not sure if you've got an answer for this, but in D3 I used an expert which provided this function for me. It's available for D3, D4 D5 from

Re: Self extracting Installer

2005-10-29 Thread Chris Stebbing
At 08:02 PM 29/10/2005, John Barrat wrote: I am trying to build a small application which will build a self extracting file that I can distribute to 3rd parties. Hi John, will you be distributing the parent application or not? If not, why don't you consider using Inno Setup. Your main app can

Hello, I'm Back

2005-09-21 Thread Chris Stebbing
Hello All, I should just like to re-introduce myself to the list. I was a reasonably active member of the list way back in 2001 - 2003 Since then I have changed jobs, but am still an active Delphi programmer, working on hobby apps for myself and a couple of friends. When I was working as