RE: [DUG]: Registry - Registered Owner

2003-02-24 Thread John
OK, is there an API call to read this info? John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of vss Sent: Monday, 24 February 2003 15:17 To: Multiple recipients of list delphi Subject: Re: [DUG]: Registry - Registered Owner yeah its stored on M$

RE: [DUG]: Registry - Registered Owner

2003-02-24 Thread Jeremy Coulter
John, have you done a search on www.experts-exchange.com? There might be something on therethere usually isthat is if no in the DUG can help Jeremy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Sent: Tuesday, 25 February 2003 07:52 To:

[DUG]: Using TList

2003-02-24 Thread Jason Coley
Is the below declaration of a TList that holds TPictures? TPics = class(TList) private procedure PutPic(index: Integer; Pic: TPicture); function GetPic(index: Integer): TPicture; public property Items[Index: Integer]: TPicture read GetPic write PutPic; default; function

RE: Re: [DUG]: Using TList

2003-02-24 Thread Jason Coley
What would be the best way to hold an enumeration of record type? Should I declare them as a Tobject instead of record and then keep them in a TList? Jay -Original Message- From: Todd Martin [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 February 2003 11:24 a.m. To:

[DUG]: cgi-expert

2003-02-24 Thread Tracey Maule
Hi I have decided to have a go at cgi-expert, (inspired by a file-upload requirement). Going through the examples, i found exactly what i wanted. (FileUpload1D.dpr) This little example saves the file to the same directory as the application. Since i dont want my clients to upload to the

Re: Re: [DUG]: Using TList

2003-02-24 Thread Paul Mckenzie
You can keep Records in Dynamic arrays and TLists... Depends what your are wanting to do and wanting to do with the data structure (Record or Object). RegardsPaul McKenzieAnalyst ProgrammerSMSS ltd. - Original Message - From: Jason Coley To: Multiple recipients of list

RE: Re: [DUG]: Using TList

2003-02-24 Thread Jason Coley
Could I do something like: procedure TPics.PutPic(index: Integer; Pic: TPicture); begin TPicture(items[index]).free; inherited Put(index, Pic); end; to make it so that the old object gets freed properly? Jay -Original Message- From: Todd Martin [mailto:[EMAIL

[DUG]: OpenXML

2003-02-24 Thread Matthew Evans
Has anyone used these components before? I have a TDomDocument Ive used to create a XML file all fine and dandy. But I am unaware of how I can go about loading the XML file back into a TDomDocument at a later point. Anyone with exp with these care to tell me? MatthewEvans Seveno Limited

Re: Re: [DUG]: Using TList

2003-02-24 Thread Todd Martin
You could, but how do you know the picture object at index isn't being referenced elsewhere in your application? Better to just remove the object and only free it if you don't need it anymore. Todd. - Original Message - From: Jason Coley To: Multiple recipients of list

RE: Re: [DUG]: Using TList

2003-02-24 Thread David Brennan
You would probably be better off descending your TPics from TObjectList. TObjectList has a boolean parameter into it's create constructor which says whether objects are "owned" by the TObjectList. If they are owned then they are automatically freed as you are suggesting. David.

Re: [DUG]: Showmodal problems

2003-02-24 Thread James Sugrue
The reason you are getting the AV is that Form1 doesn't exist. You are creating an instance of TForm1 not the variable form1. Two different things. Anyway, in the project source try Application.ShowMainForm := False; - Original Message - From: Alistair George [EMAIL PROTECTED] To:

RE: [DUG]: Showmodal problems

2003-02-24 Thread Stephen Barker
Al, if this is the application's main form then from the help: TApplication property ShowMainForm: Boolean; Description Use ShowMainForm to control whether and when the application shows its main form. The default value of True is set in the constructor. When ShowMainForm is True the main

RE: [DUG]: OpenXML

2003-02-24 Thread Myles Penlington
I have done it before - look at using streams from memory. -Original Message-From: Matthew Evans [mailto:[EMAIL PROTECTED]Sent: Tuesday, 25 February 2003 12:59 p.m.To: Multiple recipients of list delphiSubject: [DUG]: OpenXML Has anyone used these components

Re: [DUG]: Showmodal problems

2003-02-24 Thread Jeremy North
Why use that syntax at all anyway. Especially if you want to access the created form via a variable later. It is not the way to do it. You don't have a form1 to reference, that's why you get access violations. Go to Torry's or DSP and get a trayicon component and look at the source.

[DUG]: Showmodal problems

2003-02-24 Thread Alistair George
Hello, The mainapp is calling another module which has got a trayicon on the form. I dont want to show the trayicon form, just run it in the tray. application.showmainform:=false does not work. thanks, Al+ Tuesday, February 25, 2003, 1:47:02 PM, you wrote: JS The reason you are getting the AV

[DUG]: Paradox and Win XP

2003-02-24 Thread John
Hi all, Does anybody know if Paradox would be NOT be (100%) compatible with Win-XP? I have a problem with an older application (based on Paradox obviously) that seems to work fine on XP (local dbase) but when I move the dbase to another pc and access it over the network then it fails finding

[DUG]: cgi expert

2003-02-24 Thread Tracey Maule
start again has anyone here had experience using cgi-expert? I am trying to call a file-upload app (created with cgiexpert) from a cgi (WebBroker) app. cgi app provides a link to the upload prog as so: Format('a href=""Upload new document/ap', [iID]) my problem is, how do i get

RE: [DUG]: Paradox and Win XP

2003-02-24 Thread Peter Speden
We have an application here that is Paradox on a network drive with Win 2000 and Win XP users with no problems - aside from the usual PDOX issues. Is local share set to true in the BDE? Is the Paradox Net dir one that all users are pointing to? Can the WinXP box browse to the network path? You

Re: [DUG]: Showmodal problems

2003-02-24 Thread James Sugrue
Sorry, should have stated (as someone else has) that it has to be the mainform to work. Is the trayicon form part of the same project or a different exe ? I'm not sure what you are trying to do. - Original Message - From: Alistair George [EMAIL PROTECTED] To: Multiple recipients of list

[DUG]: Showmodal problems

2003-02-24 Thread Alistair George
Hello James, It is same project But I found it. This works: procedure TForm1.FormActivate(Sender: TObject); begin hide; regards, Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: Resizing images for use in Delphi - any graphics gurusout there?

2003-02-24 Thread Alister Christie
You're quality problem is probably related to the fact that GIF files are limited to 256 colours max and perhaps the file in question is in fact monochrome. You probably want to load the file into some image editing program (e.g. Photoshop) and increase it's bit depth to 24 before