Re: [DUG]: MSDE

2003-10-12 Thread Aaron Wood
MSDE 2000 is MSDE 2000, as far as I know the versions are all the same ie they are not specific to .net visual studio From: "Robert martin" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Subject: [DUG]: MSDE Date: Fri, 10 Oct 2003 11:29

RE: [DUG]: Slow email / xtra

2003-10-07 Thread Aaron Wood
Strange things are happening... The last few days I have had no emails from the list, but today I got 84 at once! not on xtra at all, just using a standard hotmail account! *confused* From: "Like Magic" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Multiple recipients of list delphi <[

RE: [DUG]: How do I create a Delphi executable which has no GUI?

2003-10-02 Thread Aaron Place
them to a file for loading at runtime.   HTH Aaron.   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 3 October 2003 10:38 a.m. To: Multiple recipients of list delphi Subject: [DUG]: How do I create a Delphi executable which has no GUI?   Hi all I

RE: [DUG]: ClientDataset inserts with MSSQL Identity column problem

2003-07-01 Thread Aaron Wood
but works for me within stored procedures... Aaron From: "Jeremy Coulter" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Subject: RE: [DUG]: ClientDataset inserts with MSSQL Identity column problem Date: Tue, 1 J

Re: [DUG]: Array - deleting an element

2001-03-21 Thread Aaron Scott-Boddendijk
A :array of integer; I,N :Integer; begin SetLength(A,10); for I := 1 to 4 do A[i-1] := I; N := 1; // Generalised deletion of an index held in N if N<(Length(A)-1) then move(A[N+1],A[N],SizeOf(A[0])*Length(A)-(N+1)); SetLength(A,length(A)-1); end; or something like that..

[DUG]: W2K and Delphi4

2001-03-13 Thread Aaron Scott-Boddendijk
not install it... Suggestions? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delp

Re: HOAX [DUG]: HOAX Major HOAX Virus HOAX Warning HOAX

2001-03-13 Thread Aaron Scott-Boddendijk
tors it's likely a hoax... Also Intel doesn't accounce viruses... RANT, Rant, rant... Ok I've calmed down now... -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax ---

Re: [DUG]: Major Virus Warning

2001-03-13 Thread Aaron Scott-Boddendijk
You've been hoaxed dude -- Aaron@home - Original Message - From: "John Christenhusz" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, 14 March 2001 07:41 Subject: [DUG]: Major Virus Warning

Re: [DUG]: I wish I didn't have to but...

2001-03-06 Thread Aaron Scott-Boddendijk
Thanx all for your suggestions and thanx Max for pointing what should have been obvious to me having done with for other purposes in the past... -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax

Re: [DUG]: I wish I didn't have to but...

2001-03-05 Thread Aaron Scott-Boddendijk
reate() failed, but > OnFormShow() worked fine. Nope oncreate, onshow and onactivate all give the same error during the TCustomForm.Create of the child form which is in the onShow currently... Dies during readState of the rootcomponent... The only autocreate form is the container... -- Aaron

Re: [DUG]: I wish I didn't have to but...

2001-03-05 Thread Aaron Scott-Boddendijk
ts of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, March 06, 2001 1:00 PM Subject: RE: [DUG]: I wish I didn't have to but... > Aaron > > Try the OnActivate event instead > > Martin. > > >...< > I have an MDI app... The MDI container comes up at app logi

[DUG]: I wish I didn't have to but...

2001-03-05 Thread Aaron Scott-Boddendijk
container... I get "Cannot create form. No MDI forms are active"... I hate MDI and haven't played with it much - any hints on where the child form trigger can be placed... -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64

[DUG]: URLMon.dll

2001-02-25 Thread Aaron Scott-Boddendijk
Does anyone know the parameters for URLDownloadToFile in this DLL... The delphi unit says function URLDownloadToFile(p1: IUnknown; p2: PChar; p3: PChar; p4: DWORD; p5: IBindStatusCallback): HResult; stdcall; What is P4... Where can I find Docs on the URLMon dll... -- Aaron Scott-Boddendijk

Re: [DUG]: Help On DataBase

2001-02-19 Thread Aaron Scott-Boddendijk
ornDate1.Text := DateToStr(TblPersons.FieldByName("BornDate").AsDate); (I'd recommend using FormatDateTime rather than DateToStr so you can ensure the date format matches your maskedit format). > But what is going wrong The BornDate everytime is the BornDate of the last

[DUG]: Is this fixed in D5 (Overloading with dynamic Arrays)

2001-02-18 Thread Aaron Scott-Boddendijk
been written that could have been but in each case by sheer blind luck static arrays have been adequate). Bugger... I'm surprised that the fact a method is overloaded changes the method signature for exactly the same declaration of parameter types. Comments? -- Aaron Scott-Boddendijk INTAZ Lim

Re: [DUG]: HAPPY NEW YEAR - LIST ADMIN

2001-01-08 Thread Aaron Scott-Boddendijk
>Just so you do not forget, we do have other lists for DATABASE, >CPLUSPLUS and INTERBASE topics. Do we need a JBuilder one too? >Kylix? Please let me know if you want anything else. We have a Java one thanx very much to Nic Wise I believe... It does get used although not a lot... --

Re: [DUG]: A Job

2001-01-08 Thread Aaron Scott-Boddendijk
able version and a text-message firendly version... Down with MSWord bloat Also if it's not a delphi job - post to [EMAIL PROTECTED] which I think would be happy to receive job requests for other computing topics. ...haven't you noticed by the posts - Delphi is dead ;) -- Aaron Sc

Re: [DUG]: Is Delphi dead?

2001-01-03 Thread Aaron Scott-Boddendijk
slate XML to HTML for presentation or to PDF or RTF for Report generation. JSP to provide dynamic page generation (which often is populated by the XSL given above) Client-Tier Browser to view HTML, DHTML, Javascript, Applets (Either in browser VM (Java 1.1.4) or via Java plugin (1.3.0

Re: [DUG]: AddObject

2000-12-23 Thread Aaron Scott-Boddendijk
x27; when retrieving an object reference from a list. 2. There is no 'typ' field in the TFooObject definition for TFooObject(XO).typ.Role to work... 3. remember to free the objects when clearing the list or removing ite

Re: [DUG]: Best way to load a buffer

2000-12-17 Thread Aaron Scott-Boddendijk
o write an image of memory would stuff all dynamic arrays and strings as these are just references in your instance memory space. Add a constructor CreateFromStream which takes a stream and calls loadFromStream to clean up the creation process if you like. -- Aaron Scott-Boddendijk INTAZ Limited +64

Re: [DUG]: "Xmas Lights" virus

2000-12-06 Thread Aaron Scott-Boddendijk
now anything about it. Yep even though it contains the magical "view this with scepticism" phrase "wipes your hard-drive" I looked into it too... No mention... Either of it being a hoax or a new virus... Also the 'apparently' is an interesting starter... Oh

Re: [DUG]: Compile 16bit applications

2000-12-04 Thread Aaron Scott-Boddendijk
I was just thinking that myself. > Being that if you _own_ a copy of Delphi > 2, you _get_ a > copy of Delphi 1 (I think - if not, we can arrange one I think), > it shouldn't be a problem. > You DO own a copy, right?? (No, not you, Aaron) AFAIK - Borland's never released a

Re: [DUG]: Compile 16bit applications

2000-12-02 Thread Aaron Scott-Boddendijk
>> Delphi 3 shipped with Delphi 1 in the package. > Yes I know, but I don't have the original Delphi 3, I have a CD with several Delphi >and C++ versions > that doesn't contain D1... gee... now that sound

[DUG]: Setting an environement variable

2000-11-30 Thread Aaron Scott-Boddendijk
How can my app (run from a batchfile) set the value of an environment variable. SetEnvironmentVariable sets only inside the environment of its own process? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax

Re: [DUG]: Is Everyone dead or something ?

2000-11-21 Thread Aaron Scott-Boddendijk
down to the last bit and clock-cycle style development. Identify bottlenecks and address them, the VM is not itself a large bottleneck - mis-application certainly is. -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax -

Re: [DUG]: Kylix killer

2000-11-08 Thread Aaron Scott-Boddendijk
bit and Java will step further into Delphis niche as time progresses). IMHO -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL

Re: [DUG]: Object Construction

2000-11-06 Thread Aaron Scott-Boddendijk
Name); end; constructor TDescendant.Create; begin inherited Create; // Whatever you like in here end; I have no idea why it would matter at this point... -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax ---

Re: [DUG]: procedures within procedures... and scope...

2000-11-02 Thread Aaron Scott-Boddendijk
for I := 0 to 10 do inner; showmessage(s1); end; begin outer; end. -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: Free inside Create

2000-10-26 Thread Aaron Scott-Boddendijk
reate; begin inherited Create; // actual constructor code... end; constructor TSpam.Create; begin inherited Create; // raise an exception with predictable results... raise Exception.Create("You cannot instantiate an instance of '+ClassName); end; -- Aaron Scott-Boddendij

Re: [DUG]: Free inside Create

2000-10-26 Thread Aaron Scott-Boddendijk
as create is public in TObject. Means that an outsider using your class can still unknowingly do a TMyGadet.Create even if they're not a descendant. -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax -

[DUG]: Delphi job

2000-10-18 Thread Aaron Scott-Boddendijk
being: - N-Tier design - Java, JSP/Servelets, EJB - ORACLE database (8i connecting through JDBC) - Full-time - Located in Hamilton - Top equipment - Training available for weaker skill areas. Send expressions of interest and/or CV to [EMAIL PROTECTED] -- Aaron Scott

Re: [DUG]: Query Parameters

2000-10-17 Thread Aaron Scott-Boddendijk
course that ORACLE will bind a parameter to field in this case... Which I haven't tried... -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax --- New Zealand Delphi Users group - D

Re: [DUG]: Query Parameters

2000-10-17 Thread Aaron Scott-Boddendijk
AsString; ExecSQL; LQuery2.Next; end; Unprepare; That's only 1 prepare... NB: Note the string specification... I'm assuming since your filter is a string that the parameters going in are strings too... This could be the problem with the query... is cell_id a string or a number?

Re: [DUG]: Query Parameters

2000-10-17 Thread Aaron Scott-Boddendijk
I am not sure of how to go > about it. I have tried the following with no luck. It doesn't like the > parameters for the select fields. I have tried aliasing the parameters. What's the error... One thing you may have to do is set the parameter type... S

Re: [DUG]: Equivelent Function ?

2000-10-08 Thread Aaron Scott-Boddendijk
runcation occurs to produce the resultant string. I would hope truncation as per normal casting rules. -- Aaron@home --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://w

Re: [DUG]: Equivelent Function ?

2000-10-08 Thread Aaron Scott-Boddendijk
pace(2.5) Something like StringOfChar(' ',Trunc(FloatingValue)); would produce equivelent effects to the MS command wouldn't it... You certainly can't return 0.5 of a space in a string... -- Aaron Scott-Boddendij

Re: [DUG]: passing open array parameters

2000-10-07 Thread Aaron Scott-Boddendijk
them as var arrays. The Help file says > that: declaring them using a type Declare the parameter as const. EG procedure Spam(const a :array of Double); typing your dynamic arrays is only necessary for return types and var parameters where the array will change in dimensions...

Re: [DUG]: Copying Memory

2000-10-01 Thread Aaron Scott-Boddendijk
Deals with overlapping memory as well... -- Aaron@home --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] w

Re: [DUG]: Embedded DOS Prompt......

2000-09-26 Thread Aaron Scott-Boddendijk
Anybody help me out? >> This is not C++ - its either C# or JScript, most likely JScript > Interesting, I wonder what platform. My NT registry has no sign of a > shellutils factory. I'm guessing it came from JavaScript in the Win2k system. -- Aar

Re: [DUG]: Dynamic 2Dimensional Arrays ??

2000-09-18 Thread Aaron Scott-Boddendijk
dArray[Row]); Gives iColCount := 19; iColCount := iColCount + 1; Gives iColCount := 20; SetLength(fGRidArray[Row],iColCount); is setting the array to the same length as it currently is... Use SetLength(fGridArray[Row],Length

[DUG]: RE: ALL ADVERTISEMENTS RECIEVED VIA THE DUG LIST

2000-09-17 Thread Aaron Scott-Boddendijk
bodies at the other end. -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http

Re: [DUG]: What the ??!!

2000-09-12 Thread Aaron Scott-Boddendijk
ShowMessage(BoolText[I in [meTwo..meFour]]); end. Produces No,Yes,Yes,Yes,No But the Debugger show bogus values for the range. Not so much incorrect as misleading (it only evaluates the range start). -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax ---

Re: Re:[DUG]: Collections or Array of Objects

2000-09-07 Thread Aaron Scott-Boddendijk
eletes and incremental growth exist as much for TList as for arrays and in return you lose type-safety. -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand Delphi Users

Re: [DUG]: Collections or Array of Objects

2000-09-07 Thread Aaron Scott-Boddendijk
ty for scaling. - incremental allocation of resources. Collections Cons - Complexity of implementation - performance is worse than array for small amounts of data which fit the array requirements. - Storage overheads on some effective indexing/ordering models can be quite high. -- Aaron Scott-B

[DUG]: TListview

2000-09-07 Thread Aaron Scott-Boddendijk
font.style - [fsStrikeOut] else canvas.font.style := canvas.font.style - [fsStrikeOut]; -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL

Re: [DUG]: TTreeView

2000-09-05 Thread Aaron Scott-Boddendijk
ot 0. So a stateindex of 0 won't display anything... Put a placeholder image in your imagelist at index 0 and try to set the StateIndex to 1 on your node... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (

[DUG]: Re: That damned VTeam thing

2000-09-05 Thread Aaron Scott-Boddendijk
ur email address but instead have reached you by posting to the Delphi List - unfortunately if you're a regular poster on this list it's likely they do have your address. 8-( -- Aaron Scott-Boddendijk Jump Productions (07) 83

Re: [DUG]: Vteams Fantasy Sports

2000-09-04 Thread Aaron Scott-Boddendijk
to prevent outsiders from posting? As much as I like the open facility - I think our company members can handle selecting a posting account to solve the spam issue... Gotta hate that spam... -- Aaron Scott-Boddendijk Jump Productions (07)

Re: [DUG]: TApplication.MainForm

2000-09-03 Thread Aaron Scott-Boddendijk
o just the first one that uses Application.CreateForm() You can of course still use... TheDataModule := TTheDataModule.Create(Application); Application.CreateForm(TMainForm,MainForm); -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voi

Re: [DUG]: Java on the Delphi List

2000-08-28 Thread Aaron Scott-Boddendijk
firmation... Sent a message... nothing... I'll try a second... Also I notice that the list is restricted to posters being subscribed... Not a serious problem but something to be aware of... -- Aaron Scott-Boddendijk Jump Productions (07)

Re: [DUG]: Simon Mahony Leaving list - Thanks for the help guys.

2000-08-25 Thread Aaron Scott-Boddendijk
either discuss Java on this list or get the [EMAIL PROTECTED] list back up? -- Aaron@home --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: Rezeroing Arrays

2000-08-17 Thread Aaron Scott-Boddendijk
erence- counted or allocated on the heap... For dynamic arrays I assume that var a :array of String; begin setlength(a,2); a[0] := '1'; a[1] := '2'; setlength(a,0); setlength(a,2); end; does not leave the string hanging around... This of course wouldn'

Re: [DUG]: Rezeroing Arrays

2000-08-17 Thread Aaron Scott-Boddendijk
> Is there a function that Rezeros the elements of an array ? fillchar(A,SizeOf(A[Low(A)]*Length(A),#0); or something like that... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372

Re: [DUG]: Function Pointers

2000-08-06 Thread Aaron Scott-Boddendijk
on is used (stdcall, etc) but the pascal equivelent of the typedef is (assuming the C was compiled for 32bit ints) type TMyFunction = function(i :Integer):Integer; so if you had a function function X(i :Integer):Integer; you could pass

Re: [DUG]: Coverting Binary Streams

2000-08-03 Thread Aaron Scott-Boddendijk
e > bytes into there and convert? > var W :Word; MyArray :array[0..1] of Byte; begin MyArray[0] := 1; MyArray[1] := 2; // MyArray[1] is MSB W := (PWord(@MyArray[0]))^; showmessage(inttostr(W)); // MyArray[0] is MSB W := (MyArray[0] SHL 8) + MyArray[1]; showmessage(intt

Re: [DUG]: AD:Family Reunion T Shirts & More

2000-07-24 Thread Aaron Scott-Boddendijk
s been added to a spam addresses database and distributed... Can the mailing list software support memberships that can post without recieving any mail. If so we should probably restrict this list to subscribed users. I'd hate to have 3 copies of all mail come to our building though...

Re: [DUG]: Aaaarrggghhh

2000-07-23 Thread Aaron Scott-Boddendijk
end; end; // If General_Bits.ReadConfFile(String) places results in a precreated TStrings. var Temp :TStrings; begin Temp := TStringList.Create; try if General_Bits.ReadConfFile('ljch',Temp) then Temp.SaveToFile('c:\windows\desktop\blah.txt');

Re: [DUG]: What is the diff?

2000-07-20 Thread Aaron Scott-Boddendijk
at's a useful difference to be aware of. Note that an alternative is not to specify an owner at all if the forms lifetime does not span the entire session. with Tform1.Create(nil) do try // Some setup case ShowModal of mrOK: // Some affirmative behaviour mrCancel: // Som

Re: [DUG]: Image Reading

2000-07-17 Thread Aaron Scott-Boddendijk
> What's the best way to open a bmp file and read the the binary structure of > the file? If you're wanting Pixel data use TBitmap.LoadfromFile()... If you're wanting the binary file data use a TFileStream -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Vo

Re: [DUG]: IB 5.6

2000-07-16 Thread Aaron Scott-Boddendijk
0.4 I'm not a MS advocate - the fact that minor software option changes so often require a restart is pretty bad... But this should put NT stability in perspective - it can be Quite stable for some uses... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 V

Re: [DUG]: Dynamically Created Components

2000-07-12 Thread Aaron Scott-Boddendijk
necessary work... If you're managing the lifetime yourself - specify the owner as nil. unnecessary processing is microsofts way of saying buy a bigger computer. -- Aaron@home --- New Zealand Delphi

Re: [DUG]: Midas again

2000-07-11 Thread Aaron Scott-Boddendijk
ew records. At merge time the NodeID and SequenceID are used to avoid collisions. This is guarenteed unique and provides a tracking tool for Node lifetime and usage. Ideally for performance you'd reconcile node/node-sequence IDs to a new server ID at merge-time (a table used only for backtra

Re: [DUG]: Dynamically Created Components

2000-07-11 Thread Aaron Scott-Boddendijk
and performance. - Release as soon as possbile - memory is valuable. - Some components are expensive to recreate regularly, instance pooling may speed things up - Lifetimes are managed by the instance pool. -- Aaron Scott-Boddendijk Jump Productions (07) 838-33

Re: [DUG]: The Comiler Itself

2000-07-11 Thread Aaron Scott-Boddendijk
so needs to be linked in... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: Pos

2000-07-09 Thread Aaron Scott-Boddendijk
> can you use wildcards in the pos function? Eg Pos('<*>', strHTML) No... And on the same note... Does anyone have any regexp matching/searching functionality around... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voic

Re: [DUG]: How do I get new forms to not default to auto-create

2000-07-05 Thread Aaron Scott-Boddendijk
e the IDE creates an empty project on boot if no project is specified this still isn't quite what I'm after (although that's better than nothing)... I will likely use a batch file which sets HKCU\Software\Borland\Delphi\4.0\Session\Project="" before running delphi and ju

Re: [DUG]: How do I get new forms to not default to auto-create

2000-07-05 Thread Aaron Scott-Boddendijk
ooted to a 'no-project' state (MRU list usually contains the project I actually want you see)... Sigh... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: How do I get new forms to not default to auto-create

2000-07-05 Thread Aaron Scott-Boddendijk
mmand line parameters and that once of the undocumented parameters stops the loading of of a project (last project or New project) when the IDE is started Does anyone know the parameter or documentation of the parameters (I'm using D4 Update 3)... -- Aaron Scott-Boddendijk Jump Production

Re: [DUG]: Midas

2000-07-04 Thread Aaron Scott-Boddendijk
ps one of the other n-tier solutions might suit better - there was even a free one mentioned on this list a while back I thought. -- Aaron@home --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: Deferenced nil pointers AV

2000-06-25 Thread Aaron Scott-Boddendijk
is expected to introduce any new language concepts... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: Deferenced nil pointers AV

2000-06-25 Thread Aaron Scott-Boddendijk
arise... Note that ORACLE warns that testing a string against null when you mean '' is not necessarily going to continue as ORACLE would like to correct this non- compliance as they then can better provide a mapping to Java inside the database. Do MS-SQL, Interbase, Postgress, etc suffer t

Re: [DUG]: Deferenced nil pointers AV

2000-06-25 Thread Aaron Scott-Boddendijk
in the general case you cannot identify by the Violation address whether the programmer error was lack of initialisation or use after release. -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --

Re: [DUG]: Deferenced nil pointers AV

2000-06-25 Thread Aaron Scott-Boddendijk
nil pointers that'll give the EAccessViolation... Any uninitialised pointer (including used pointers which have had their memory released) which steps over the legal memory boundary... The exception message should read EAccessViolation and that's enough to identify an dangling pointe

Re: [DUG]: Life stages text

2000-06-22 Thread Aaron Scott-Boddendijk
othing serious... It's worth altering the registry to show the SHS extensions... -- Aaron@home --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: Talking to Excel.

2000-06-18 Thread Aaron Scott-Boddendijk
said registered it didn't work with Delphi... It's a shame because the compile-time checking and they ability to directly create elements like font objects is really handy... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --

Re: [DUG]: Talking to Excel.

2000-06-18 Thread Aaron Scott-Boddendijk
for collections... Bizarre... I'm sure Michael will inform you all of his results... Shame that OLE doesn't provide the same reflection support as Java ('almost' bug-free and complete)... It's not like OLE is ay faster ;) Ah

Re: [DUG]: Strange compiler error

2000-06-16 Thread Aaron Scott-Boddendijk
>> Never include extraneous parentheses in a statement. >> Parentheses should only... > I'd like to know the context in which it was written. Is this part of a > coding style specification? If not it sounds like "thou shalts" delivered > from on high. It has to be 'code style' as there is ce

Re: [DUG]: Delphi and XML

2000-06-15 Thread Aaron Scott-Boddendijk
ppreciation for OOP that people should already be using in Delphi if they want to maximise it's capabilities... NB. Mildly hipocritical here in that I haven't had opportunity to apply interfaces in our existing developments as their design predated D4 - and we didn't want to mix our dri

Re: [DUG]: Acrobat and PDR Writer

2000-06-05 Thread Aaron Scott-Boddendijk
e for > each file. > > Has anybody tried this or got any ideas? 1. Get a Temporary filename. 2. Save the file using that name 3. Remove the file. If this is done in code, I would expect the user won't see any dialogs. I believe it's also possible to convince the filesyst

Re: [DUG]: Table update

2000-05-31 Thread Aaron Scott-Boddendijk
> When I run the following > > update dockets set LogPrice = (select LogPrice from Temp > where temp.docketno = dockets.docketno) UPDATE Dockets SET LogPrice = ( SELECT LogPrice FROM Temp WHERE Temp.DocketNo=Dockets.DocketNo ) WHERE EXISTS ( SELECT 'X' FROM Temp WHERE Temp.DocketNo=Dockets.Dock

Re: [DUG]: Re: Error Messages (fwd)

2000-05-28 Thread Aaron Scott-Boddendijk
is a very handy feature Useful items I can think of are: __File :String; __Line :Integer; __DateTime :TDateTime; __Method :String; __Class :String; -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax ---

Re: [DUG]: Registering classes

2000-05-23 Thread Aaron Scott-Boddendijk
> FWIW I too did not receive the original message. This list has got problems > Gary! It's been this way for about 6 weeks now... I get the list at work and at home... They differ by four or five messages every day... --

Re: [DUG]: Stealth

2000-05-18 Thread Aaron Scott-Boddendijk
If it's always invisible why have a form at all... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax - Original Message - From: Luke Pascoe <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Sent: Friday,

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 prese

Re: [DUG]: Declare const object

2000-05-07 Thread Aaron Scott-Boddendijk
eton instance if one exists. _MyClass.Free; end. -- Aaron@home --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: Declare const object

2000-05-06 Thread Aaron Scott-Boddendijk
result := _MyClass; end; constructor TMyClass.Create(AValue :Integer); begin inherited Create; FAValue := AValue; end; initialization finalization // Release the Singleton instance if one exists. _MyClass.Fre

Re: [DUG]: Declare const object

2000-05-05 Thread Aaron Scott-Boddendijk
values of my structures... Of course sometimes you just want a const ;) -- Aaron@home --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: Interbase problem??

2000-04-17 Thread Aaron Scott-Boddendijk
had this issue before, or got any suggestions ?? I don't know about Interbase but ORACLE has storage specifiers for the table at creation time. These specifiers assist ORACLE in avoid fragmentation... The same goes for Indexes IIRC... Are similar storage specifiers (Inital extent, next ex

Re: [DUG]: efficient code

2000-04-16 Thread Aaron Scott-Boddendijk
ange' events being triggered if the newcaption matches the old caption... IMHO with todays memory-scales your mind should always be on functionality, stability and performance not minor byte-trimming with the source

Re: [DUG]: thread definition.

2000-04-12 Thread Aaron Scott-Boddendijk
messaging can be used to implement thread-style behaviour and is done often enough with glue-type applications in some erp environments. Certainly not the most optimal way to go about things - besides which resource locking and synchronisation issues are not nearly as easily managed under these

Re: [DUG]: thread definition.

2000-04-12 Thread Aaron Scott-Boddendijk
well improve feedback mechanisms and responsiveness of programs during times when intense processing is being performed. -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand

Re: [DUG]: thread definition.

2000-04-12 Thread Aaron Scott-Boddendijk
of the manuscript done and lick all those stamps. Best Case: 3 weeks Average Case: 3 weeks Worst Case: 1 month and 1 week -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand

Re: [DUG]: Component Icons (again)

2000-04-11 Thread Aaron Scott-Boddendijk
opment - there's just too many buts and MS is only one of the culprits... -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: Newbie Question re TFileStream

2000-04-11 Thread Aaron Scott-Boddendijk
fmCreate or fmShareExclusive) do try CopyFrom(Q1,0); // Copy entire stream from offset 0 CopyFrom(Q2,0); // Copy entire stream from offset 0 finally Free; end; finally Q1.Free; Q2.Free;

Re: [DUG]: printing data.

2000-04-10 Thread Aaron Scott-Boddendijk
printer installed incorrectly and have some functions cause AVs but not others... EG a lookup into the Printer.Fonts list caused an AV even though Word could print fine... For a professional app all resource accesses that can throw an exception should have their relevent handlers and resource prote

Re: [DUG]: printing data.

2000-04-10 Thread Aaron Scott-Boddendijk
d Pages prepared'+#13+#13+ 'Okay to print?' ,[SL.Count,SL2.Count,PC]),mtinformation,[mbOK,mbCancel],0)=mrOK then Printer.EndDoc else Printer.Abort; FH.Free; FD.Free; SL.Free; SL2.Free; end; -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (0

Re: [DUG]: function which returns an object

2000-04-04 Thread Aaron Scott-Boddendijk
e; Clear; Add(a); Add(b); Add(c); EndUpdate; end; end; var SL :Tstringlist; begin SL := TStringlist.Create; Stringlist.AddStrings(MyFunction('1','2','3',SL)); SL.Free; end; Either way you must free it...

[DUG]: An annoying problem

2000-03-30 Thread Aaron Scott-Boddendijk
... I have touched all files to todays date, removed all *.dcu and *.dsk and removed the dsk from the Delphi folder... suggestions? Delphi 4 patch 3 running on Win95 and WinNT machines (Server is NT4 Server) all NT machines have SP6a... All machine clocks are synchronised and correct... -- Aaron

Re: [DUG]: Hiding inherited procedures

2000-03-30 Thread Aaron Scott-Boddendijk
sulate the TList and that way only expose methods you want for your new base class... Given how TList is implemented I think it was intended to be encapsulated rather than inherited from... -- Aaron Scott-Boddendijk Jump Productions (07) 838

Re: [DUG]: Whats wrong here?

2000-03-28 Thread Aaron Scott-Boddendijk
heriting components. Take out the semi-colon after the Class Parent I'd also advise assigning a visibility specifier (in this case Public) TTaskList = class(TList) // No semi-colon here... public procedure SaveToFile(const FileName :String); end; -- Aaron Scott-Boddendijk Jump Produ

  1   2   3   4   >