Board index » delphi » Systools

Systools


2006-10-19 06:54:19 AM
delphi10
If anyone is still using systools out there, did the sysdate and current
date conversion functions quit working when you went from windows 2000 to
windows XP??
Thanks,
Brad
 
 

Re:Systools

"Brad" <XXXX@XXXXX.COM>writes
Quote
If anyone is still using systools out there, did the sysdate and current
date conversion functions quit working when you went from windows 2000 to
windows XP??
I haven't noticed any changes among all of the Windows flavors from Win 95
to Win XP, and I use the date and time functions extensively.
Van Swofford
Tybee Jet Corp.
 

Re:Systools

I use them all the time, Xp and 2000. Using Systools with Delphi 7 with data
from a Firebird database.
Mike
Brad writes:
Quote
If anyone is still using systools out there, did the sysdate and current
date conversion functions quit working when you went from windows 2000 to
windows XP??

Thanks,

Brad


 

Re:Systools

Thanks Mike and Van.
The funny thing is that I have had this project for quite some time now and
it worked fine up until about the time I switched my OS over to XP....
I can test it out with using the datetime and then I convert it over to
stdate (value of 148580) and then when I try to load it into a caption
string with LOGDATE.CAPTION := StDateToDateString('wwwwwwwww - nnnnnnnnn dd,
yyyy', GSHOWDATE, FALSE);
This has always worked for me returning Wednesday - October 04, 2006 but
right in front of my eyes it returns
' - 00, 0000'
I can live with not having the date text string, but I have a bunch of other
usage dependant code based upon the sysdates so I am wondering if I will be
chasing a bad sysdate converstion throughout all my code.....
Any ideas would be appreciated.....
Thanks again,
Brad
 

Re:Systools

The following code with StSdateSt in the uses clause:
var
Form1: TForm1;
Dte:TStDate;
implementation
{$R *.dfm}
procedure TForm1.BitBtn1Click(Sender: TObject);
Begin
Dte:=148580;
L1.Caption := StDateToDateString('wwwwwwwww - nnnnnnnnn dd,
yyyy',Dte,False);
end;
Returns
Thursday - October 19, 2006.
No problems at all
I wonder if you have a problem in the Registry ?
Mike
Brad writes:
Quote
Thanks Mike and Van.

The funny thing is that I have had this project for quite some time now and
it worked fine up until about the time I switched my OS over to XP....

I can test it out with using the datetime and then I convert it over to
stdate (value of 148580) and then when I try to load it into a caption
string with LOGDATE.CAPTION := StDateToDateString('wwwwwwwww - nnnnnnnnn dd,
yyyy', GSHOWDATE, FALSE);

This has always worked for me returning Wednesday - October 04, 2006 but
right in front of my eyes it returns
' - 00, 0000'

I can live with not having the date text string, but I have a bunch of other
usage dependant code based upon the sysdates so I am wondering if I will be
chasing a bad sysdate converstion throughout all my code.....

Any ideas would be appreciated.....


Thanks again,

Brad


 

Re:Systools

That's it !!!
Thank You Mike.
I have had problems ever since I took extreme measures in regedit to get rid
of several viruses.
I finally found a great tool in SUPERAntiSpyware to get rid of the bad stuff
but I know that I got a bit overzealous in trying to rid the stuff from the
machine.
Thanks again. I guess it was about time to do a Clean Windows
Reinstall......
Brad
"Mike H" <XXXX@XXXXX.COM>writes
Quote
The following code with StSdateSt in the uses clause:
var
Form1: TForm1;
Dte:TStDate;
implementation

{$R *.dfm}

procedure TForm1.BitBtn1Click(Sender: TObject);
Begin
Dte:=148580;
L1.Caption := StDateToDateString('wwwwwwwww - nnnnnnnnn dd,
yyyy',Dte,False);
end;

Returns
Thursday - October 19, 2006.
No problems at all

I wonder if you have a problem in the Registry ?

Mike


Brad writes:
>Thanks Mike and Van.
>
>The funny thing is that I have had this project for quite some time now
>and it worked fine up until about the time I switched my OS over to
>XP....
>
>I can test it out with using the datetime and then I convert it over to
>stdate (value of 148580) and then when I try to load it into a caption
>string with LOGDATE.CAPTION := StDateToDateString('wwwwwwwww - nnnnnnnnn
>dd, yyyy', GSHOWDATE, FALSE);
>
>This has always worked for me returning Wednesday - October 04, 2006 but
>right in front of my eyes it returns
>' - 00, 0000'
>
>I can live with not having the date text string, but I have a bunch of
>other usage dependant code based upon the sysdates so I am wondering if I
>will be chasing a bad sysdate converstion throughout all my code.....
>
>Any ideas would be appreciated.....
>
>
>Thanks again,
>
>Brad
 

Re:Systools

How does SysTools date functions compare to whats available in the JEDI
project?
I always wondered why JEDI did not try to take the best stuff from
SysTools and just roll it into JEDI. They seem to have done this with
other good libs.
Is there anyone else out there using SysTools and what are you using it for?
Jeff C.
--- posted by geoForum on www.newswhat.com
 

Re:Systools

Hi Jeff,
I also use JEDI and I thought I tried to find the things I used but I can't
remember coming across them. I think I only use the date handling routines
and perhaps a few string or even some simple win32 functions.
If I could drop the need to compile "another" library into it, that would be
more than okay to me.
I would also love to find a "delphi registry entry" backup utility. There
is nothing more frustrating that losing a main programming machine and
having to prep it again with compiling all of the packages and third party
stuff.
Is there such a beast out there??
Thanks
Brad
"jeffc" <jeffrey_PERIOD_OR_DOT_carbello@bankofamerica_DOT_YOUKNOWTHEREST>
writes news:XXXX@XXXXX.COM...
Quote
How does SysTools date functions compare to whats available in the JEDI
project?

I always wondered why JEDI did not try to take the best stuff from
SysTools and just roll it into JEDI. They seem to have done this with
other good libs.

Is there anyone else out there using SysTools and what are you using it
for?

Jeff C.

--- posted by geoForum on www.newswhat.com
 

Re:Systools

Quote

I would also love to find a "delphi registry entry" backup utility.

Is there such a beast out there??

Umm, how about RegEdit? It has import and export features to allow just
this.
--
Regards,
Rich
 

Re:Systools

I use many of Systools functions. From habit and familiarization rather
than comparing with other libraries. I have the manual for Systools 3 so
I am influenced to some extent to the examples provided.
Specific functions I regularly use are
datediff,validdate,Incdate,StDateToDateString
I also use their string functions extensively.
Mike
jeffc writes:
Quote
How does SysTools date functions compare to whats available in the JEDI
project?

I always wondered why JEDI did not try to take the best stuff from
SysTools and just roll it into JEDI. They seem to have done this with
other good libs.

Is there anyone else out there using SysTools and what are you using it for?

Jeff C.

--- posted by geoForum on www.newswhat.com