RE: Automate Microsoft Office from Delphi

2013-01-26 Thread Nesler, Thomas J
Be sure to pick up the whole URL. In my outlook, the link wraps around to the second line. Which cuts off this piece: lphi.html Tom Nesler -Original Message- From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf Of Jerry Clancy Sent: Thursday, January 24,

RE: Moving from Delphi 7 to XE2

2012-11-21 Thread Nesler, Thomas J
I presume that when you create a new project everything is fine...;-/ Can you still access Delphi 7? You might try to create a simple demo project in Delphi 7 and then recreate it in XE2 and compare the two. Theoretically, they should be identical...;-/ Tom Nesler -Original

RE: Help with dateTime problem

2012-11-16 Thread Nesler, Thomas J
Hello! Looks like this DateTime field is like a Unix dateTime field except it uses a different starting date (1904 VS 1970). Unix timestamp fields use January 1st 1970 as their starting point and count the number of seconds since then. One other consideration is whether the field you are

RE: Help with dateTime problem

2012-11-16 Thread Nesler, Thomas J
A follow up on my previous post. 25569 is the number of days (including leap days between 1900 and 1970. Since your date begins on 1904 you would need to add 1461 (365.25) to your number to match the start dates. Tom Nesler -Original Message- From: delphi-boun...@elists.org

RE: Previos Parameters list

2012-10-05 Thread Nesler, Thomas J
Hi Chris! I presume you are calling a program from within another program using the paramStr function? The Parameters are inside a string which has the different parameters separated by commas. If you keep calling the same program with and without parameters or with different numbers of

RE: Weird screen painting issues after D2007 to XE2 upgrade.

2012-08-22 Thread Nesler, Thomas J
Thanks for the update! Sadly, most of your problems seem to be win32 related. Windows ought to be able to handle image transparency better but evidently this set of components may not have used windows hooks but tried to write their own? Tom Nesler -Original Message- From:

RE: Button press with touch screen on non-focused form

2011-09-15 Thread Nesler, Thomas J
Hi Ross! -Original Message- From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf Of Ross Levis ... A user of my software who has a touch screen says when he touches a button on the form that doesn't currently have the focus, the button doesn't get clicked. First

RE: How to connect to a MS Access Database

2011-07-21 Thread Nesler, Thomas J
The easiest way to do this is using ODBC. Paradox has ODBC drivers in its Borland Database Engine (BDE) If your version of Delphi is beyond using the BDE, you can use the ODBC components themselves (I think). Hope this gets you started...:) Tom Nesler -Original Message- From:

RE: Return to Delphi ?

2010-10-09 Thread Nesler, Thomas J
George: Delphi 5 meets my needs very well as a hobbyist programmer. I have Delphi 5 Pro and still use the BDE (even with MS Vista). My biggest complaint is the file size. With every new version, it seemed like the EXE sizes grew with slower speeds. I suppose no one worries about that anymore

RE: Way of moving Delphi and 3rd-party components over in a Win Vista to Win7 clean install?

2010-02-23 Thread Nesler, Thomas J
Transferring between computers with different O/Ses is particularly challenging. You could try the following: 1. Using WinZip, create a Zipped archive of the C:\Programfiles\Borland directory and all the subfolders beneath it. 2. Export the Registry settings keys using Regedit. 3. Copy

RE: only allow 1 decimal point in edit box

2009-06-12 Thread Nesler, Thomas J
:= Copy(edit1.text,1,Length(Edit1.text)-1); end; BTW, This code does not prevent users to enter non-numeric code. Tom Nesler -Original Message- From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf Of Doug Chamberlin Nesler, Thomas J wrote: How about this solution

RE: only allow 1 decimal point in edit box

2009-06-11 Thread Nesler, Thomas J
How about this solution. Use the Onchange Event to put this code in: procedure TForm1.Edit1Change(Sender: TObject); begin If Pos('.',Edit1.Text) 0 then DotVar := True //Global Var to check for decimal point else DotVar := False; If DotVar = true then {check for

RE: Delphi 5 update

2008-07-25 Thread Nesler, Thomas J
I use Delphi 5 (Enterprise) and have Delphi 5 Pro. I will see if I can't locate it. Tom Nesler -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Zheng Sent: Thursday, July 24, 2008 4:59 PM To: 'Borland's Delphi Discussion List' Subject: Delphi 5

RE: Developing for Vista

2008-03-18 Thread Nesler, Thomas J
Hi Robert! What do you need to do to turn UAC off? I have not been able to find out how to do this. Thanks! Tom Nesler Live long!... Code Well!... and Prosper!... V -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Meek Sent: Saturday,

RE: Delphi 2.01 update help needed.

2008-01-04 Thread Nesler, Thomas J
Have you tried BDE version 3.12? That's the only version still showing in the BDE support page. Here is the link: http://info.borland.com/devsupport/bde/oldver.html I have the Delphi 2.0 CD at home but I don't know what version it is. IMO, The BDE was backward compatible, so upgrading to 3.5

RE: Avoiding form loops?

2007-12-18 Thread Nesler, Thomas J
The only reason I rewrite something is if I find that I need to use the same code block somewhere else and can break my existing code into a procedure so I can use it multiple places. In a perfect world, you should define your procedural steps first and then code the procedures, but often, you

RE: About excel automation

2007-08-13 Thread Nesler, Thomas J
Debra Pate's webpage on OLE automation shows you how to open and edit an excel spreadsheet. Here is the link: http://www.djpate.freeserve.co.uk/Automation.htm I have some sample code that I have used. procedure TMainForm.BtnCreateWkshtClick(Sender: TObject); Var Excel : Variant;

Changing a canvas's Style property to Bold and back

2007-07-25 Thread Nesler, Thomas J
Hello! I am creating a simple paint program for an application. I need to be able to turn on and off the Bold property of the font. Here is my code: If SpBtnBold.Down then Image.Canvas.Font.Style := fsBold ; When doing a syntax check I get this error message: [Error] GraphWin.pas(356):

RE: Problems while creating/running apps for Vista

2007-07-24 Thread Nesler, Thomas J
gave. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nesler, Thomas J Sent: 23 iulie 2007 16:26 To: Borland's Delphi Discussion List Subject: RE: Problems while creating/running apps for Vista Hello! Thanks for the tips! I

RE: Problems while creating/running apps for Vista

2007-07-23 Thread Nesler, Thomas J
Hello! Thanks for the tips! I was wondering, does anyone know about a website or links to a website that chronicles problems with running applications on Vista? I am trying to run an old BDE/Paradox App and I am getting the AppCrash error but no details as to what exactly is going wrong. The

RE: Compiling problems

2007-07-20 Thread Nesler, Thomas J
files. Now, rebuild the project. If your project uses VCLs created by you, do the same for those projects. I hope it will work. ___ Nesler, Thomas J wrote: Hello! Ok, Thanks to all for your suggestions! To sum up my problem, it does not appear to be compiler related, as I first

inaccessible value

2007-05-17 Thread Nesler, Thomas J
Hello! While debugging my program, I now am unable to view the values of my variables. This affects my watchlists and evaluate dialogs. I am guessing that one of my compiler settings is set wrong but maybe it is caused by something else. What do you recommend I do? Here are my Compiler tab

RE: TMemo has always one blank line

2006-03-01 Thread Nesler, Thomas J
the problem... The Memo always for start has a blank line. Before I start to add lines in it.. It has one blank line -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Nesler, Thomas J Enviado el: lunes, 27 de febrero de 2006 01:44 Para: Borland's Delphi Discussion

RE: Quickreport Error

2005-05-13 Thread Nesler, Thomas J
I have not worked with Delphi 2 for a while and I know that QR version 1 is very different than version 2. I guess I would recommend starting from scratch on these reports rather than trying to convert them. Tom Nesler -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL