[DUG]: Windows 2000

2000-05-07 Thread Gary T. Benner
HI all, Just curious if many people have moved up to Windows 2000, and what incompatibilities have been found. I use Infopower 4.0 and found a problem with the Richtext component. And have to upgrade to Infopower 2000. Anyone else with horror stories? kr Gary

RE: [DUG]: Windows 2000

2000-05-07 Thread Nic Wise
HI all, Just curious if many people have moved up to Windows 2000, and what incompatibilities have been found. I use Infopower 4.0 and found a problem with the Richtext component. And have to upgrade to Infopower 2000. Anyone else with horror stories? How about an Anti-horror story.

Re: [DUG]: Windows 2000

2000-05-07 Thread Alex Kouznetsov
... except CD writing is a little more flakey, I guess I am not up to day. Is CD-writing built into Windows now ? The way we currenctly use it (on NT/95/98) - software coming with the cd-writeable drive does all the job and no OS is involved as far as I know. Alex

RE: [DUG]: Windows 2000

2000-05-07 Thread Nic Wise
I guess I am not up to day. Is CD-writing built into Windows now ? The way we currenctly use it (on NT/95/98) - software coming with the cd-writeable drive does all the job and no OS is involved as far as I know. Nah, its not built in. I'm just using Easy CD creator Pro 4.0 (might be the

Re: [DUG]: Declare const object

2000-05-07 Thread Aaron Scott-Boddendijk
[Repost: since the previous post (Date: Sun, 7 May 2000 13:15:03 +1200) didn't make the round-trip to me] This method is currently I use. But I am not happy about that. Because I want that variable to be logical const, no one should modify it. I want compiler automatic tell me it is an error

RE: [DUG]: Declare const object

2000-05-07 Thread Cory Shanks
Umm. Hate to state the obvious, but ... Why not make an attribute FTest_Null and a readonly property TestNull on your object? Something like: unit X; interface TMyClass = class(TObject) private FTest_Null: Boolean; FValue: integer; public property TestNull: Boolean read

RE: [DUG]: Declare const object

2000-05-07 Thread Dennis Chuah
You may not need a singleton, but how about extracting the property out: TTest = class(TObject) private FValue: Integer; constructor Create (AValue: Integer); oublic property Value: Integer read FValue; end; This way, Value is always readonly, and FValue is only accessible from within

RE: [DUG]: RTTI for interfaces

2000-05-07 Thread phillip . middlemiss
I seem to recall reading sometime a while ago that there was a function (in TypInfo.pas or similar) for getting back to the interface's underlying object - can't find it now but does it ring any bells for anyone? Myles Penlington [EMAIL PROTECTED] on 08/05/2000 09:53:21 Please respond to

RE: [DUG]: Declare const object

2000-05-07 Thread Nic Wise
In any case, type TTest = object public AValue: Integer; end; implementation const TTest_Null: TTest = (AValue: 0); Does not create an object that is readonly. It is merely a form of initialization for the object. You can still assign

Re: [DUG]: Archives

2000-05-07 Thread Iprolink-Sanderson
Ahem ignore this (you should be already!) - sorry. I just thought about reading the bottom of a message from the group and magic. It's monday... - Original Message - From: Willie Juson To: Multiple recipients of list delphi Sent: Monday, May 08, 2000 9:33 AM

Re: [DUG]: Dbf corruption

2000-05-07 Thread Bevan Edwards
Hi Tony, I have a dbf table supplied from a customer which is saying is has a corrupt table/index header when loading it into Database Desktop. The table imports fine into Access 97. Any suggestions for remedies? Do I need to rebuild the index? The question that immediately springs to

[DUG]: IXMLHttpRequest

2000-05-07 Thread Wilfred Verkley
Has anyone used this? Its a nice little component that lets you do an HTTP post of any streamable content (but primarily meant for XML documents). With Delphi 3.0, im getting a exception on the NT boxes at work on the "open" method, yet it works fine on my Win98 box at home. Im having no

RE: [DUG]: Dbf corruption

2000-05-07 Thread Tony Sinclair
Ahhh, Does that work the other way, a dbf created by Database Desktop not openable in Access as I think I have seen that before? I will check whether it was created in Foxpro but the app is a DOS one, did Foxpro for 3.1 exist? Tony Sinclair Holliday Group Limited Christchurch New Zealand

Re: [DUG]: Archives

2000-05-07 Thread Mike Osborne
http://www.mail-archive.com/xxx@delphi.org.nz/ where xxx can be delphi, database or offtopic It would be handy to havelink to these on the www.delphi.org.nz website (Mark??). - Original Message - From: Willie Juson To: Multiple recipients of list delphi

Re: [DUG]: Dbf corruption

2000-05-07 Thread Bevan Edwards
Hi Tony, Does that work the other way, a dbf created by Database Desktop not openable in Access as I think I have seen that before? I will check whether it was created in Foxpro but the app is a DOS one, did Foxpro for 3.1 exist? I think it depends on the version of DBase and Access. DBase

RE: [DUG]: Dbf corruption

2000-05-07 Thread Cory Shanks
Pack and rebuild, rebuild and pack the Litany of the xBase Developer :-) Seriously though, try rebuilding the index. Cheers, Cory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tony Sinclair Sent: Monday, 8 May 2000 10:37 To: Multiple

[DUG]: C++ Programmers

2000-05-07 Thread Bevan Edwards
Hi All, I don't know if I'm allowed to ask these questions here, but here goes anyway. Are there any/many C++ programmers on this group? Are any of you interested in part-time (or possibly full-time) work in a small business? If so, please send information about yourself to mailto:[EMAIL

Re: [DUG]: Declare const object

2000-05-07 Thread Aaron Scott-Boddendijk
Dear Aaron, Please suggest me if I am wrong. Singleton is not suitable to me. I got several const objects of same class. Best Regards leigh The original message was not clear as to your business needs but I hope that enough material has been presented for you to derive a suitable

Re: [DUG]: Dbf corruption

2000-05-07 Thread Simon Mahony
Does that work the other way, a dbf created by Database Desktop not openable in Access as I think I have seen that before? I will check whether it was created in Foxpro but the app is a DOS one, did Foxpro for 3.1 exist? Foxpro has been around since the days of DOS 3.3 (or thereabouts - ie: pre

Re: [DUG]: IXMLHttpRequest

2000-05-07 Thread Richard Vowles
Who provides this? If it is part of the OS then it may be that the Nt box at "work" doesn't have the correct version of IE to make this "component" work.. Richard - Original Message - From: "Wilfred Verkley" [EMAIL PROTECTED] To: "Multiple recipients of list delphi" [EMAIL PROTECTED]

RE: [DUG]: IXMLHttpRequest

2000-05-07 Thread Myles Penlington
I maybe on the wrong track here .. Are you sure it is the Open and not the actual create?? I could not find a definition of "CoXMLHttpRequest" either in Delphi or on the MSDN site. But - what installs the "CoXMLHttpRequest"? Is it a special VB library call? -Original Message- From:

RE: [DUG]: Dbf corruption

2000-05-07 Thread Nahum Wild
Wow, that brings back some old memories. I now remember that I have encountered this problem before and I ended up writing some code that changed that byte to something else, if problems were encountered with DBF files, then reindexing them. I can't remember which byte or what I changed it too.

[DUG]: regsvr32 dies on win2000. Help?

2000-05-07 Thread Myles Penlington
We have a COM component which registers fine under NT4, Win95. Under Win2000 is says successfully registered, and then Win2000 says regsvr32 has caused an error and a log file is being written. We can't find any log file written and their is no events in the event log? If the component is

RE: [DUG]: IXMLHttpRequest

2000-05-07 Thread Wilfred Verkley
IXMLHttpRequest is part of the XML library that comes with IE 5, you can import the type library from system32/msxml.dll. The XML library is quite good, and ive had no troubles with it in Delphi except for this. CoXMLHttpRequest is the "factory class" (?) that is used to create instances of

RE: [DUG]: IXMLHttpRequest

2000-05-07 Thread Myles Penlington
So is IE5 installed on the machines you are having a problem with? Also note that the Delphi call (in D5) uses the CoCreateInstance parameters of CLSCTX_INPROC_SERVER or CLSCTX_LOCAL_SERVER. You may want to try your own call to CoCreateInstance to see if it makes any difference (it should not).

[DUG]: progmatically adding users to an IB database

2000-05-07 Thread Jeremy Coulter
Hi all. Is it possable to add users progmatically to an Interbase Database rather than using the IB Server Manager ?? Cheers, Jeremy Coulter Software Team Leader Triton Commercial Systems Christchurch Ph +64 3 3483973 fax +64 3 3431613

RE: [DUG]: progmatically adding users to an IB database

2000-05-07 Thread Nic Wise
www.interbase.dthomas.co.uk has stuff on this, AFAIK. You need something to encrypt the password with - thats the hard bit, but its "only" 3DES. IB6 has API's to do this :) (along with backup, restore etc) N -- Nic Wise - 021.676.418 / [EMAIL PROTECTED] / Inprise/Borland New Zealand Is it not

[DUG]: Long File Names

2000-05-07 Thread Grant Black
One issues I thought I would never have to see again - I need to do a quick dirty patch to a Delphi 1 application to work around a long file name issue. The app has to write a long file name to a directory (thankfully a short directory name). Can this be done via a 16 bit app written in D1?

RE: [DUG]: progmatically adding users to an IB database

2000-05-07 Thread Jeremy Coulter
Cool thanks...got thatwill try it out. Cheers Jeremy Coulter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nic Wise Sent: Monday, 8 May 2000 14:23 To: Multiple recipients of list delphi Subject: RE: [DUG]: progmatically adding users to an

[DUG]: Sockets..

2000-05-07 Thread Matthew Comb
Hi people, just a follow up to my earlier post. What is the best connection method (set of components?) using TCP\IP (or not??) That can do the following. 1. send text in both directions. 2. send streams in both directions. 3. Maintain a connection and know when disconnected. Any

RE: [DUG]: Sockets..

2000-05-07 Thread Wilfred Verkley
Most Delphi WinSock components will do these things, but have a look at ICS. It can do all these things, is free and well supported, and has a lot of examples. http://users.swing.be/francois.piette/icsuk.htm -Original Message- From: Matthew Comb [mailto:[EMAIL PROTECTED]] Sent:

[DUG]: Get BDE Version

2000-05-07 Thread Leigh Wanstead
Hello everyone, I use following code to get version of BDE. But it seems not work with BDE5.11. What is wrong with this piece of code? Duplicate procedure: 1) Drop a button on the form 2) Drop a label on the form 3) Link button onclick event with following code procedure

RE: [DUG]: Sockets..

2000-05-07 Thread Nic Wise
Hi people, just a follow up to my earlier post. What is the best connection method (set of components?) using TCP\IP (or not??) No need to step outside of the IP family, and as _everyone_ uses it these days (that arn't running on a default 95 install) That can do the following. 1.

Re: [DUG]: Get BDE Version

2000-05-07 Thread leigh
Sorry, if you compile this, you may need to add BDE in your unit uses. Best Regards leigh - Original Messsage - From: Leigh Wanstead [EMAIL PROTECTED] Sent on: Mon, 8 May 2000 15:16:12 +1200 - Hello everyone, I use following code to get

RE: [DUG]: Get BDE Version

2000-05-07 Thread Wes Edwards
Leigh, There are TWO version numbers in the BDE. Note that BDE Admin will report the two version numbers in two different places too, I use the following code. The relevant part is extracting iIntfLevel from the version info. Wes Edwards var MyList : TStringList; MySysVersion :

RE: [DUG]: Get BDE Version

2000-05-07 Thread Leigh Wanstead
Dear Wes, Thanks for your message. I check that iIntfLevel's value, it is 500. So I still can not distinguish it. I found on Inprise website http://www.inprise.com/devsupport/bde/bdeapiex/dbigetsysversion.html they got that sample. Unforunately they do not make a decision after 5, so I add

Re: [DUG]: Sockets..

2000-05-07 Thread Simon Mahony
UDP is more suitable for small sets of data ( our UDP apps send and receive no more than 512 byte packets ). This is due to network considerations, but if you want to send streams or large chunks of data ( more than a few K ) and you don't want to have to chop them up and reassemble them at the

Re: [DUG]: Dbf corruption

2000-05-07 Thread Guy Brown
That's funny, Ian still talks about your magic code that changed that byte to indicate that the dbf had no matching index file so that you could open it and recreate the indexes if you need to. I think that was for their timesheet app. I think I can find the code if anybody has a use for it.

Re: [DUG]: Sockets..

2000-05-07 Thread Matthew Comb
Nic thanks... I started programming something with clientsocket and serversocket.. the ones built into Delphi but I couldn't work out how to receive a stream using the built in events... you can go. clientsocket.socket.sendtext - socket.receivetext in onread but how do you receive:

RE: [DUG]: Sockets..

2000-05-07 Thread Grant Black
Grab ICS component suite take a look at the big list of demo apps: Sample applications: TWSCHAT Chat program (both client and server in a single program) SRV5/CLI5 Basic client/server GUI applications DYNCLI Basic client creatin TWSocket dynamically

Re: [DUG]: Sockets..

2000-05-07 Thread Simon Mahony
Matthew, A TCP/IP session like this needs one or more client sockets at one end, and a server socket at the other end. The docs are a bit obscure and we had to rely on several sources of information including the D5 Developers guide chapter on socket programming before we could figure it all

Re: [DUG]: Sockets..

2000-05-07 Thread Matthew Comb
Simon sounds great. If you could possible send through that example code, would be a great help. Matt. [EMAIL PROTECTED] - Original Message - From: "Simon Mahony" [EMAIL PROTECTED] To: "Multiple recipients of list delphi" [EMAIL PROTECTED] Sent: Monday, May 08, 2000 4:52 PM Subject:

RE: [DUG]: Sockets..

2000-05-07 Thread Colin Fraser
I might be looking at doing a little bit of light socket stuff in the future... Is the general consensus that other components such as the ICS ones are superior to the ones that come in Delphi 5?? Regards Colin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

RE: [DUG]: Sockets..

2000-05-07 Thread Grant Black
I might be looking at doing a little bit of light socket stuff in the future... Is the general consensus that other components such as the ICS ones are superior to the ones that come in Delphi 5?? Yes - WinShoes are OK but I have found ICS very good.