Re: [DUG]: Streaming Data to/from BLOBs

2000-06-07 Thread Colin R Dillicar
Despite a few replies to my earlier request for help I am still none the wiser. Most replies have steered me to the Help topics which mostly deal with Memo fields , certainly in respect of examples. If I understood exactly what was going on I wouldn't have asked and would not be

[DUG]: Internationalisation

2000-06-07 Thread Gary T. Benner
HI all, If anyone has had experience in converting programs to non-Roman alphabet languages (such as Japanese, Chinese, Korean) could they email me off list at [EMAIL PROTECTED] as I have need of some advice in this area. Regards Gary

[DUG]: TTabbedNoteBook and Windows 2000

2000-06-07 Thread Antony Gardiner
Hi, Has anybody experienced problems with TTabbedNoteBook? I am getting an intermittent exception ERangeError in TTabbedNotebook.WMPaint. I don't really want to change TTabControl as the application has just been upgraded and has over 50 forms with TTabbedNoteBook. Thanks for you in help in

RE: [DUG]: Streaming Data to/from BLOBs

2000-06-07 Thread Grant Black
From some Delphi 1 app that I know works procedure PostToTable( var Buff: array of byte; iBuffLen: integer); var blobby : TBlobStream; begin q.Open; q.Append; q.FieldByName('ID').AsInteger := iMagicNo; ... blobby := TBlobStream.Create( TBlobField(q.FieldByName('Data')),

[DUG]: Progress bars

2000-06-07 Thread Eamon Reyn
Hi in the application that I am working on we have a small problem with our progress bars. The problem is when we bring up our progress bar form within the application we cannot display it modally asthis would require us to write a progressbar form for every process that needed one.Is there

RE: [DUG]: Progress bars

2000-06-07 Thread Stacey Verner
You need to disable the calling form (and any other non modal forms) before you start the process, and then enable it/them afterwards. This is basically what ShowModal does anyway. Stacey -Original Message-From: Eamon Reyn [mailto:[EMAIL PROTECTED]]Sent: Wednesday, 7 June 2000

RE: [DUG]: Progress bars

2000-06-07 Thread James Sugrue
You could Try : procedure DisableControls; var i : Integer; begin For i := 0 to Pred(ControlCount) do if Controls[i] is TButton then Controls[i].Enabled := not Controls[i].Enabled; end; This would grey the Buttons, which may or may not be desirable. -Original

RE: [DUG]: Progress bars

2000-06-07 Thread Guy Brown
My suggestion would be to write code in the show event of the progress bar that cycles through Application.Components and disables any forms that are visible. Reenable on hide/close. Guy Brown TimeMaster Systems -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [DUG]: Progress bars

2000-06-07 Thread David O'Brien
InOnShow in the ProgressBar form, do MainForm.Enabled := False. In OnClose of ProgressBar Form, do MainForm.Enabled := True In Progress Control in MainForm, ProgressBar.Show Do your processing ProgressBar.Close Dave. -Original Message-From: Eamon Reyn [mailto:[EMAIL

[DUG]: Debugging Form Creation Bugs

2000-06-07 Thread Mark Derricutt
I have a problem in the form creation of one of my projects. The access violation is occuring 'somewhere' after the call to: Application.CreateForm(TformMain, formMain); And before any code in the TformMain class is called. I've tried single stepping through code to find out whats crashing

RE: [DUG]: Debugging Form Creation Bugs

2000-06-07 Thread James Sugrue
What is in your Form.Create event etc. Try click the Show CPU window option in the AV error dialog box, this may give some clues. Have you tried F8 over the TrxSpeedButton Maybe if you could post some code ? -Original Message- From: Mark Derricutt [mailto:[EMAIL PROTECTED]] Sent:

[DUG]: Screen Size

2000-06-07 Thread Rohit Gupta
I can get the screen size with getsystemmetrics, but how do I change the screen size ? Does anyone know ? Rohit == CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand PH(649) 489-2280 FX(649)

RE: [DUG]: Screen Size

2000-06-07 Thread James Sugrue
ChangeDisplaySettings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, 8 June 2000 15:49 To: Multiple recipients of list delphi Subject: [DUG]: Screen Size I can get the screen size with getsystemmetrics, but how do I change the screen size ? Does

RE: [DUG]: Debugging Form Creation Bugs

2000-06-07 Thread Mark Derricutt
On Thu, 8 Jun 2000, James Sugrue wrote: What is in your Form.Create event etc. procedure TformMain.FormCreate(Sender: TObject); begin Debug('begin main.TformMain.FormCreate'); Ini := TRegIniFile.Create(GDMOptions.RegPath); Caption := Format('GDManager for Windows - %s',

Re: [DUG]: Where do you want to go if Microsoft split?

2000-06-07 Thread Mark Derricutt
On Thu, 8 Jun 2000 [EMAIL PROTECTED] wrote: OS: Windows NT or Linux? Database: MS SQL Server or Oracle, Sybase, Interbase? Service: DCOM or CORBA? I think regardless of the split Linux with Interbase/Oracle/PostgreSQL with Corba. I think when IB6 is fully done I'll dump PostgreSQL in favor

Re: [DUG]: Debugging Form Creation Bugs

2000-06-07 Thread Bevan Edwards
Hi Mark, I had a similar problem once with a form failing to open in design mode. I still haven't figured out why it was happening, but managed to work my way around the problem. Essentially I had a TDatabase component on the main form that wasn't using an Alias, just had path parameter and

[DUG]: Screen Resolution

2000-06-07 Thread Rohit Gupta
I can use GetSystemMetrics to get teh screen resolution, but how can I change it programatically ? Rohit == CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand PH(649) 489-2280 FX(649) 489-2290

Re: [DUG]: Where do you want to go if Microsoft split?

2000-06-07 Thread Neven MacEwan
Mark What state is IB6 at? We are using Postgress but IB6 would be interesting as I feel there will be better support for it (my case tool don't do postgress) OS: Windows NT or Linux? Both Database: MS SQL Server or Oracle, Sybase, Interbase? At Least 2 Service: DCOM or CORBA? Don't know

[DUG]: Horrible TTabsheet errors

2000-06-07 Thread Blackie, Nikolai
for i := 0 to pageControlMain.PageCount -1 do pageControlMain.Pages[i].TabVisible := false; This piece of junk code is returning an error: EListError list out of bounds I am assuming this is some issue with the Tabindex and Pageindex, just not sure at this point. Does anyone know the quick

Re: [DUG]: Where do you want to go if Microsoft split?

2000-06-07 Thread Mark Derricutt
On Thu, 8 Jun 2000, Neven MacEwan wrote: What state is IB6 at? We are using Postgress but IB6 would be interesting as I feel there will be better support for it (my case tool don't do postgress) I'm not actually sure the state of IB6 as I havn't realy followed it much, however PostgreSQl 7