Re: [DUG]: Just wondering...

2003-10-30 Thread Moises Lopez
no idea, but in those cases i put them in a 1 to 50,000 for statement just 
to find out

cheers

moises

At 09:23 PM 10/30/2003 +1300, you wrote:

Which of the following code is the most efficient/fastest to execute?

Label1.Enabled := Option.ItemIndex = 1;
Label2.Enabled := Option.ItemIndex = 1;
or

Label1.Enabled := Option.ItemIndex = 1;
Label2.Enabled := Label1.Enabled;
Thanks,
Ross Levis.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003


Re: [DUG]: Running an app from NT Service

2003-10-28 Thread Moises Lopez
nope, i'm running a service on w2k and i use WinExec to launch another program
no problems so far.
At 11:34 PM 10/28/2003 +1300, you wrote:

Hi All.
Do I have to have interact with desktop selected to make an NT Service run 
another app?
I am using WinExec to run the fiel. Should I do it anotehr way? or am I 
stuck with desktop interaction being needed?

Cheers,

Jeremy Coulter


All email scanned with Nortons Antivirus 2003

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/23/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/23/2003


Re: [DUG]: Silly question but...

2003-09-04 Thread Moises Lopez
hi chris

dont remember, but there's a richedit demo in the ../demos directory in delphi

hope that helps

moises

At 09:21 AM 9/5/2003 +1200, you wrote:

Hi.

Can someone please tell me how to add to a richedit the following?

the html tags are just to say what I want to doactually text

bsomething/b something else

all I can seem to get is

bsomething/b
something else
please help

Chris
PS I have tried the add and append properties only
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 1/09/03


__
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify
the sender and delete all material pertaining to this e-mail.
__
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003


Re: [DUG]: windows class name

2003-07-27 Thread Moises Lopez
ross,
i once wanted to check if another app was still running
if (FindWindow('TfrmAnotherApp', nil) = 0) and
   (FindWindow(nil, PChar('Caption for my other main form')) = 0) then
begin
hth

moises

At 08:53 AM 7/26/2003 +1200, you wrote:

I want to tell from a D5 app if another D5 app is currently running.  Is 
the class name the same as the main forms Name or is this set somewhere else?

Thanks,
Ross.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003


Re: [DUG]: Invalid Variant Type Conversion

2003-07-23 Thread Moises Lopez
mark

could it be that the SaleRefTable.Lookup somehow is returning null?

cheers
moises
At 11:09 AM 7/24/2003 +1200, you wrote:

I am getting an Invalid variant type conversion in the following code:

   ImpSalePrice := SaleRefTable.Lookup(
  'CustCode;DestCode;PricePoint;SpeciesCode;LogGrade;LogLength',
  VarArrayOf([pCustCode, pDestCode, pPricePoint, pSpeciesCode, pLogGrade,
  pLogLength]), 'SalePrice');
I can't understand it because there is no error with the following:

   if SaleRefTable.Locate(
  'CustCode;DestCode;PricePoint;SpeciesCode;LogGrade;LogLength',
  VarArrayOf([pCustCode, pDestCode, pPricePoint, pSpeciesCode, pLogGrade,
  pLogLength]), []) then
I have check each of the types in the array and they match those in the 
table.  Can
anyone point me to what is happening here?

TIA

Mark
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003


RE: [DUG]: Coding music?

2003-07-16 Thread Moises Lopez
when im under pressure i usually put something in the Tool or Alice in 
Chains mold...
other wise when im concentrated some soft music like cuban trova or 
sometimes something electronic

living in mexico and just 5 minutes outside the united states you learn to 
be pretty open minded to everything.

At 02:12 PM 7/17/2003 +1200, you wrote:

I have a pretty eclectic mix, anything from Johnny Cash to Eminem to ACDC. 
Variety is important. There was someone on the list who had the currently 
playing track as their sig which I thought was cool. (Neven or the 
departed Nic seem to ring a bell ???)



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
Behalf Of Nicholas Sherlock
Sent: Thursday, 17 July 2003 1:53 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Coding music?



Hey guys,



What music do you guys listen to when you code? My collection is looking a 
little shabby, and so is my code, so I thought I'd beef up both at the 
same time by getting some rad tunes to code by. Reccomendations?



Cheers,

Nicholas Sherlock

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003


Re: [DUG]: New Colours?

2003-07-15 Thread Moises Lopez
interesting, because i have delphi 6 and dont have those, is the control a 
third party component?

anyways here's a unit that lists some of those weird colors

http://endimus.com/oldcontent/files/dim/const.htm

the specs http://endimus.com/oldcontent/files/index_en.php (check under 
downloads)

regards

moises

At 04:32 PM 7/15/2003 +1200, you wrote:

Hi all.
I was just looking at setting a colour for a control.
I was scrolling down and find colours like clPlum,clRose, clTan,
clGold...etc...etc.
I set these values and it gives me an error that clPlum or what ever is
not a valid integer, but it sets the colour.
I cant find a ref. to the values for the colours anywhere.
Anyone know anything about them?

This is Delphi 6 BTW.

Jeremy

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003


Re: [DUG]: Bug Tracking - again

2003-06-24 Thread Moises Lopez
hi

http://www.mail-archive.com/delphi%40delphi.org.nz/thrd3.html
i think the messages are there  ([DUG]: Exception tracking.
cheers

moises



At 10:26 AM 6/25/2003 +1200, you wrote:
Hi all. I seem to  have deleted the email someone sent last week or the
week before that had the names of some good-ish bug tracking tools.
Could someone plz repost or sent to me priv. ?
Thanks, Jeremy

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---
   New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
 Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


Re: [DUG]: DBGRid ... which Cell is Active

2002-11-20 Thread Moises Lopez
howdy there...
you could get the coordinates on the OnCellClick event sth. like
x := Mouse.CursorPos.X;y := Mouse.CursorPos.Y;
as for detecting which column.. uhh the OnCellClick event has a Column parameter.. guess that works
hthmoisesDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

[DUG]: empty strings in Interbase

2002-10-22 Thread Moises Lopez
Hi there ,
have a little problem here
im using Interbase 6 (OS) with delphi 6
i want to update a field to an empty string value but i keep getting a resulting null value.

in interbase i can say
update demotable set demofield = ''
and then i have the empty strings

but i cant do that in delphi
any thoughts welcome
thanks
moisesDo you Yahoo!?
Y! Web Hosting - Let the expert host your web site

[DUG]: week select component

2002-10-11 Thread Moises Lopez
hi there..
does any1 know of a calendar-like component where i can select the whole week instead of only a day?
tia

moisesDo you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com

[DUG]: rotated TQRLabel

2002-08-26 Thread Moises Lopez

hi there,
does any one know of a rotated qrlabel?
i have one but its for up to D3 and wont print
correctly. thanx

moises

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: Turning on/off another computer

2001-09-23 Thread Moises Lopez

Hi

i have examples of how to shutdown and reboot a
computer, is there a way i can do the same with
another computer on the same network (any Win
version).

thnks
moises

__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



Re: [DUG]: Help authoring software

2001-09-20 Thread Moises Lopez

i think i saw a few ones for free in www.delphi32.com
also vclcomponents.com must have a few ones, havent
checked, but the Help Workshop is not that bad at all,
unless you need to create HTML Help files.

moises


--- Jeremy North [EMAIL PROTECTED] wrote:
 
 Just use word and help workshop!  Help Scribble is
 OK and it only costs
 about $70 US.
 
 
 JED
 
  Can anyone suggest good, free, easy help authoring
 software.
 
 
 
 
 

**
 This email and any files transmitted with it are
 confidential and
 intended solely for the use of the individual or
 entity to whom they
 are addressed. If you have received this email in
 error please notify
 the [EMAIL PROTECTED]
 

**

---
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 Web Archive at:
http://www.mail-archive.com/delphi%40delphi.org.nz/


__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: Getting login/logout info.

2001-09-19 Thread Moises Lopez

Hi there, im workin on an app and i need to check on
the network server the logins and logoffs of the other
computers.. does anyone know of a components or api
functions where i could get started..

thnkx

moises

__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



Re: [DUG]: How to read ID3 from MP3 files?

2001-09-02 Thread Moises Lopez

gajo..
theres an article on that in delphi.about.com

http://delphi.about.com/library/weekly/aa112800a.htm

cheers
moises



--- gajo [EMAIL PROTECTED] wrote:
 The subject says it all... I would like to read
 stuff like the author, song name and genre...
 
 Gajo
 

---
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 Web Archive at:
http://www.mail-archive.com/delphi%40delphi.org.nz/


__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Give me a hint?

2001-08-24 Thread Moises Lopez

Luke,
check the THintWindow class


rusty example, but oh what the hey

FwHint: THintWindow;



function do-some_hint
var
  rect: TRect;
begin
  if FwHint = nil then
  begin
FwHint := THintWindow.Create(Self);
FwHint.Color := clInfoBk;
  end;
  rect.Left := 0;
  rect.Right := 50;
  rect.Top := 0;
  rect.Bottom := 50;
  FwHint.ActivateHint(rect, 'some message');
end;


procedure DeleteHint;
begin
  if FwHint  nil then
  begin
FwHint.ReleaseHandle;
FreeAndNil(FwHint);
  end;
end


cheers
moises

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



Re: [DUG]: crystal RDC problems

2001-08-16 Thread Moises Lopez

--- Rohit Gupta [EMAIL PROTECTED] wrote:
So I would suggest
 reading the 
 help and see if you can spot another property that
 wasnt there 
 before.

hehe good luck :D




Follow-up...

somewhere when refreshing the report the CurrentValue
property of every parameter gets lost, so i had to 

if Report1.ParameterFields[i].NeedsCurrentValue then
Report.ParameterFields[i].AddCurrentValue('somthing');

on the OnDownloadStarted of each Report component


--- Rohit Gupta [EMAIL PROTECTED] wrote:
 Sorry, cant help you specifically, but I can tell
 you taht with every 
 new version, the beggars change the defaults and
 more hundreds 
 more properties in obscure places.  I have never
 seen a componnet 
 with more properties than this.  So I would suggest
 reading the 
 help and see if you can spot another property that
 wasnt there 
 before.  With v7, I actually gave up on those
 buttons and disabled 
 them all except printer-setup.
 
 To:   Multiple recipients of list delphi
 [EMAIL PROTECTED]
 Send reply to:[EMAIL PROTECTED]
 Date sent:Wed, 15 Aug 2001 11:58:49 -0700
 (PDT)
 From: Moises Lopez [EMAIL PROTECTED]
 Subject:  [DUG]:  crystal RDC problems
 
  ...now i know why i never liked working with
  reports...
  
  hi, 
  im using (well, trying to) the Crystal Reports RDC
 8
  (Report Designer Component), and im having a
 little of
  trouble working the reports the way i used to.
  
  
  
  var
Report: IReport;

  begin
Report := 
  application1.OpenReport('c:\any_report.rpt', 1);
  
   
 

Report.ParameterFields.Item[1].addCurrentValue('angola');
   
 

Report.ParameterFields.Item[2].addCurrentValue('ghana');
crviewer1.ReportSource := Report;
crviewer1.ViewReport;
  end;
  
  
  it works ok, but once i click the refresh button
 it
  doesnt show anything, i already tried tinkering w/
 the
  OnRefreshButton event of the view but no cigar,
 so..
  no refreshs so far
  
  any tips welcome..
  
  moises
  


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: crystal RDC problems

2001-08-15 Thread Moises Lopez

...now i know why i never liked working with
reports...

hi, 
im using (well, trying to) the Crystal Reports RDC 8
(Report Designer Component), and im having a little of
trouble working the reports the way i used to.



var
  Report: IReport;
  
begin
  Report := 
application1.OpenReport('c:\any_report.rpt', 1);

 
Report.ParameterFields.Item[1].addCurrentValue('angola');
 
Report.ParameterFields.Item[2].addCurrentValue('ghana');
  crviewer1.ReportSource := Report;
  crviewer1.ViewReport;
end;


it works ok, but once i click the refresh button it
doesnt show anything, i already tried tinkering w/ the
OnRefreshButton event of the view but no cigar, so..
no refreshs so far

any tips welcome..

moises

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: working with DTS

2001-08-07 Thread Moises Lopez

hi all

im having a little snafu since im working with the DTS
imported type library, since seems i have to work for
quite a while with this i better get started, but so
far i havent been able to execute a dts package, since
i just pirated the examples from VB maybe i am doing
sth wrong

procedure TForm1.Button4Click(Sender: TObject);
var
  objDTS: TPackage;
  ostofhost: OleVariant;
begin
  cca := 0;
  objDTS := TPackage.Create(Self);
  objDTS.LoadFromStorageFile('C:\DTSDemo.dts', '', '',
'', '', ostofhost);
  objDTS.Execute;
end;


got the following message:

'Provider generated code execution exception:
EXCEPTION_ACCESS_VIOLATION'


i also had a few other samples that after trying to
configure users and passwords and connections et. al.
ultimately had the same untimely ending :(

if anyone knows any tips of helpful articles will be
greatly appreciated. i'll be trying to in the
meantime...

thanks

moises



__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: A TADOCommand question

2001-07-22 Thread Moises Lopez

yeap, i tried, but i couldnt get that message to a
string variable

anyways, apparently the errors are stored in the
adoconnection component,


  try
adoCommand1.execute;
  except
   
ShowMessage(adoConnection1.Errors.Item[0].Description);
  end;


so, that traps the message

thnks

moises lopez





__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: A TADOCommand question

2001-07-21 Thread Moises Lopez

well im trying to run a quick update on a TADOCommand,
but in case there is an error i want to retrieve the
error message (i.e.  Violation of PrimaryKey et al),
much like the OnReconcileError of the clientdataset

is it possible to do it with a tadocommand? i dont
want to use a table because i only need to update say
1 in 6,

tia

moises

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: Operation must be an updateable query

2001-07-15 Thread Moises Lopez

hi thereim using an old paradox file, and in a win98
SE system i get the aforementieoned error, whenever i
try to edit a record, this doesnt happen in either NT
nor 2k. im using ADO 2.5..

any comments are welcome


moises lopez

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



Re: [DUG]: MIDAS....

2001-07-09 Thread Moises Lopez
hey there.. more like an article but... oh well
ClientDataset as a Replacement for Cached Updates
by Dan Miser - DistribuCon
http://community.borland.com/article/0,1410,22571,00.html

i once saw a tutorial from marotz (www.marotz.com) they may have sth there
cheers
moises lopezDo You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!http://personal.mail.yahoo.com/

Re: [DUG]: MIDAS....

2001-07-09 Thread Moises Lopez
more whiteys

MIDAS Technical White Papers
An Overview of MIDAS 
A Technical View of Borland MIDAS 
Building Scalable Applications with Windows NT and DCOM 
Why Multi-tier? 
Files and Components for MIDAS
Copyright ) 1996 Borland International, Inc. 
http://www.tietovayla.fi/BORLAND/midas/papers.html

moises
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!http://personal.mail.yahoo.com/

[DUG]: taking control over windows

2001-07-02 Thread Moises Lopez

Hi there,
i have quite a few questions.


i have a program that has to run everytime that
windows starts, since it has to take control every
time someone logs in.
Since someone maliciously could delete the RunOnce
registry key i create it every once in a while in
code, is that the way to go?

anyhow.. once it runs i have to make sure that no
other app can be executed, which is kind of ok
causethe app covers all the screen, but then again, do
i have a chance to disable the shortcuts?

i tried disabling  the desktop icons, but i have to
restart the computer everytime i do. so thats not good
so how could i somehow avoid another app running?


#3 (oh my...) i already disabled the taskbar, but the
start button in the keyboard works anyhow


any hints are welcome
thankx

moises lopez
slp



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Internal Error

2001-07-02 Thread Moises Lopez
As the Delphi Help states.. 88. Internal error: ErrorCode
Complete list of compiler error messages
You should never get this error message - it means there is a programming error in the compiler.
If you do, please call Inprise Developer Support and let us know the ErrorCode (e.g. "C1196") that appears in the error message. This will give us a rough indication what went wrong. It is even more helpful if you can give us an example program that produces this message. 

i have been getting that on one project but considering that i had a lot (try 7 or 8) components installed, something has to give down there. but so far the error is invisible to the final user...
it just stays there when compliing..
cheers
moises lopez
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!http://personal.mail.yahoo.com/

[DUG]: ADO Update 2

2001-06-19 Thread Moises Lopez

hi there..

does any one know what files are modified when
installing the ADO Express Update Pack 2?

sometimes i keep getting the BOF EOF error
and i have to reinstall the pack once again

oh , i already checked that i didnt have empty
datasets, because i only reinstall the update ,
recompile and voila, besides it only crashes on a
Win2K computer

any tips welcome


TIA

Moises Lopez

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



[DUG]: Closing app on Win2K

2001-06-14 Thread Moises Lopez

hi there,
i have an app that when its finished, after destroying
all its datamodules and the main form, and the
finalization section of an unit, i get an
EAccessViolation when running the app on Win2K.

well i also got it in my NT computer so its not
strictly 2k

so im kind of wondering if that is standard operating
procedure on part of M$..

any hints welcome.
in the meantime (spacehog) i'll be looking around..

TIA

Moises Lopez

__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



[DUG]: Fetching details in a ClientDataSet

2001-05-26 Thread Moises Lopez

Hi there

i have a master/detail clientdataset with TADOQueries.

I am opening only one record from the master dataset
because the detail table is way too big -nothing i can
do about that by now-
but when i open the master dataset it automatically
fetches all the details, i already tried the
FetchOnDemand and PacketRecords property of the detail
dataset.


is there a way to avoid fetching all details when
opening the master, or its just standard operating
procedure?

tia



__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



Re: [DUG]: Delphi 4, TClientDataSet, and Catastrophic Failures

2001-05-23 Thread Moises Lopez

Hi,

 i've seen that error quite a few times, as far as i
remember is that i was trying to open a detail cds or
query when the master cds was disconnected or so
-weird behavior, anyways- 

i dont remember the exact combination that caused me
this error, but i always got them in design time, so i
usually closed everything connected all cds and querys
and reopened them, it wasnt such a big deal..

now if you get this error when closing the form, try
opening your clientsdataset in design time and close
them in the order that you close them in the form


 i'll try to see if i can still get that error..

good luck

Moises

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Kylix price drop?

2001-05-23 Thread Moises Lopez
just imagine that you had just acquired kylix... 
wouldnt you be just a little mad at borland?
;-)Do You Yahoo!?
Yahoo! Auctions $2 Million Sweepstakes  -  Got something to sell?

Re: [DUG]: Locating a record in a Server-side cursor query

2001-05-21 Thread Moises Lopez

since i needed to refresh the data every once in a
blink, and i needed to locate the record 

now.. what i finally did

var 
  bm: TBookmark;
begin
  Screen.Cursor := crHourGlass;

  // disconnect the grids from the datasource
  // it refetches the records when connected
  DataSource1.DataSet := nil;

  ADOTable1.DisableControls;
  ADOTable1.Filter := 'whatever filter goes';
  ADOTable1.Filtered := true;
  ADOTAble1.Active := true; 
  bm := ADOTable1.GetBookmark;
  ADOTable1.Filtered := false;
  DataSource1.DataSet := ADOTable1;
  ADOTable1.GotoBookmark(bm);
  ADOTable1.FreeBookmark(bm);
  ADOTable1.EnableControls;
  Screen.Cursor := crDefault; 
end;


demi-crappy but its 3.23 am and im just sputtering..
and it seems to work...

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: help formats.

2001-05-18 Thread Moises Lopez

one more that gets the job done..


{
  UseHTMLHelp Delphi unit

  This unit has been written by Jan Goyvaerts
http://www.jgsoft.com
  It has been placed into the public domain.

  Add this unit to the uses clause of any unit in your
application,
  and any help requests will automatically be
translated into the
  proper HTML Help calls.

  You will need to specify the .chm file that contains
your HTML Help
  in the help file setting in Delphi's project
options.
  Otherwise, nothing will happen when the user presses
F1.

  The unit does its work by assigning its own event
handler to the
  Application.OnHelp event.  This means you must take
care not to
  assign your own handler to Application.OnHelp, as
this will
  defeat the purpose of this unit.

  Also, this simple unit will ignore any form's
HelpFile property.
  This property is new in Delphi 4
}


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



[DUG]: ADO Performance

2001-05-16 Thread Moises Lopez

hi guys..

i'm using ADO 2.5 in MS SQL Server 7.0 (MIDAS on D5
Enterprise), and i'm experiencing quite a few problems
regarding performance, it just seems too slow.

i've seen a few post every now and then regarding the
issue..

any one has any tips?

TIA

Moises Lopez

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Contract job in Auckland

2001-05-11 Thread Moises Lopez

is that even legal?

i mean, that you go to work in a given company and
supply your own copy of Delphi (Ent 6? ouch).

the license is per user so i dont think borland has a
problem with that,

maybe taxes will kill then :)

later

Moises Lopez

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Sending a Message

2001-03-26 Thread Moises Lopez

actually to both. i need to send the program the info
for executing an action and to the user to show what
is happening.

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Sending a Message

2001-03-20 Thread Moises Lopez

hi there

an easy one - i hope

how do you programatically send a message to another
computer on a network, say a uhmmm NT or win 9x

TIA 

Moises Lopez

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Excel Version info

2001-03-12 Thread Moises Lopez

hi there
can't you check in the registry?


HKEY_CLASSES_ROOT / Excel.Application / CurVer

i have on the default value 'Excel.Application.9'
which would seem like 

the office 2000 i have installed

i think i remember i saw something like that in the
calvert book Delphi 5

im not at my comp.. so i'll check later when i have my
comp back

but i think thats a way
hope it works/

Moises Lopez



__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: DBase, ADO Win98

2001-03-06 Thread Moises Lopez

hey there..
im importing some data into a DBF file (DBase 5.0
Driver, drived ID - 533), via ADO, and it works
perfect on win NT 4 , but i cant even open the tables
on Win 98 nor 2000

since both comps have the same version of MDAC, i
wonder if there's some weird setting (as is usually
the case) for this..

i would hate to deploy the BDE just for that, which i
wont anyways.. :D

so. for now any help is greatly welcome



now playing: Bush

TIA

Moises Lopez

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Detecting SQL Servers

2001-02-25 Thread Moises Lopez
Hi there...
trying to detect the sql servers (sql 7.0 / 2000)
This had been posted before, but i was unable to find the NetServerEnum function for detecting the SQL servers, besides using the ShellAPI unit i didnt know what else to do..
or is there an easier way to do it via the ADODB.pas unit?
not really sure..
TIA

Moises LopezDo You Yahoo!?
Yahoo! Mail Personal Address - 
Get email at your own domain with Yahoo! Mail.

Re: [DUG]: D5 Help

2001-01-17 Thread Moises Lopez

well, i also have had the same problem for quite a
while, so whenever i need a VCL component's help
check on the Contents tab  -- Visual component
Reference --alfabetical component list

actually i thought it was another components' help the
one that crashed the D5 help, i had installed
multilizer and infopower, and also the D5 help update
and SP1, and since the multilizer help is available i
supposed that was the culprit

but i havent had time to check it out...
mainly because i dont want to mess up my help at home
hehe

later..

Moises Lopez

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Timeout Expired

2000-11-01 Thread Moises Lopez

Hi there (again)

I'm a little lost here.. When using ADO (2.5) what can
cause a Timeout Expired error? (i already toyed with
the ConnectionTimeout property), because these keep
appearing every once in a while in certain datasets,
those being one in every 200 or so.
any suggestions to what i have to check are welcome..

TIA..

Moises Lopez.

__
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: About Help

2000-10-31 Thread Moises Lopez

Hi there ppl

does anyone know how can i integrate a complied html
help file into a project, just like the old *.hlp
files used to do??

tia 
Moises Lopez

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: ....About a ClientDataSet

2000-10-05 Thread Moises Lopez

hi there..
just a quick one...

i have a master detail relationship with
ClientDataSets (ADO - D5), and since the detail tables
are kind of huge (about 700 records per master, just
in case) i tried to limit that by setting the
packet records property of the detail to about 100

and... close but no cigar

i would guess there's a way... so any ideas are
welcome
but so far ia havent been able to...


Thanks..




__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



Re: [DUG]: Hi! Let's be friend?

2000-07-25 Thread Moises Lopez
 
 [EMAIL PROTECTED] wrote:


well i guess you now noticed that you sent a mail to a delphi newsgroup, right?
to a New Zealand one, to be exact
cheers :)


Moises Lopez
(25) Tijuana, Mexico
Hi,I am Ziana, 16, from Malaysia. From a search, I got your email from yourhomepage. Want to be friend?I just joined asiadragons efriend to make new friends. Sign up is freeand you can place your photo like my page:http://friend.asiadragons.com/cgi-bin/mdets.pl?uid=zianaInterested? Click below and join for free:http://friend.asiadragons.com/cgi-bin/refsign.pl?refuid=zianaAfter you join in, just write to me ok? Bye.from,Ziana The Kitty---New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]Website: http://www.delphi.org.nzDo You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!

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

2000-07-25 Thread Moises Lopez
 
 [EMAIL PROTECTED] wrote: 
come on , how do u expect to do business w/ a new zealand group
Message sent by: Kuppler Graphics, 32 West Main Street, Maple Shade, New Jersey, 08052,1-800-810-4330. This list will NOT be sold. All addresses are automatically added to our remove list.Hello. My name is Bill from Kuppler Graphics. We do screenprinting on T Shirts, Sweatshirts,Jackets, Hats, Tote Bags and more!Do you or someone you know have a Family Reunion coming up? Kuppler Graphics would like toprovide you with some great looking T Shirts for your Reunion.Kuppler Graphics can also provide you with custom T's and promotional items such as imprintedmagnets, keychains, pens, mugs, hats, etc. for your business or any fundraising activity(church, school, business etc.) We also can provide you with quality embroidery. We are a family owned company with over 15 years of experience. All work is done at this location. No middle man. Our
Get Yahoo! Mail - Free email you can access from anywhere!

[DUG]: An unknown error has ocurred

2000-04-27 Thread Moises Lopez



--- M Lopez [EMAIL PROTECTED] is still writing:

Hi, ppl.  just a very quick question

Whenever i check the Stop on Exception checkbox on the
Tools|Debugger Options  (Delphi 5), i can see the
following error...

sometimes when i open or scroll through a
clientdataset i keep getting an EOleException error
"An unknown error has ocurred"

for the record, i'm using Infopower 2000, ADO
components from delphi 5.


any ideas would be welcome.
TIA. 
Moises Lopez

__
Do You Yahoo!?
Talk to your friends online and get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



Re: [DUG]: Language Tools

2000-04-18 Thread Moises Lopez



Well, you can check out Multilizer, that's the only
good one i know
i dont remember the company, but hope this helps..

later..

M.Lopez




__
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: SQL Monitoring Tool for ADO

2000-03-31 Thread Moises Lopez

well that is..
anyone knows a SQL monitoring tool for using with ADO?
since the MS-SQL Profiler isnt that helpful.. and
Delphi's own SQL Monitor doesnt work with ADO

for instance, if i forget to fill a non-null field,
Profiler just wont say 

thanks, ppl

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Watches Window

2000-03-28 Thread Moises Lopez


Hey hi, 
I cant seem to locate my Watches, Breakpoints et al
Windows. It looks like its X,Y coords must (be
2000,-500) or something alike.
is there any way to move them w/ the keyboard?
or is there a file that keeps that info, since i
already searched the registry

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Watches Window

2000-03-28 Thread Moises Lopez


sorry that i forgot..

i already deleted the .dsk file.
have to do it every time delphi passes out

that's why i was wondering...

thnks
Moises L.


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Watches Window

2000-03-28 Thread Moises Lopez


sorry that i forgot..

i already deleted the .dsk file.
have to do it every time delphi passes out

that's why i was wondering...

thnks
Moises L.


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Watches Window

2000-03-28 Thread Moises Lopez


Hey thank, that last tip really helps...

Still, i found where the original config. is tored
check a *.dst file  in the Bin directory

thanks again

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



Re: [DUG]: A little help wih ADO.... please?

2000-03-11 Thread Moises Lopez

HI, ppl. 

(rookie question..)

I have a little problem...

I'm using Delphi 5/ADO/MIDAS/SQL server 7 

and i have the master detail clientdataaset connected
via datasetfield.

But, for some reason when i delete a master record i
cant'seem to delete the corresponding detail records.

any weird thing i'm missing out?

(well obviously there is..)

thanks in advance...


Moi.
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz