[DUG] Need help in format function

2010-03-02 Thread Vikas...
(eTemp),2) here etemp =123.4567 I have tried this, but no luck. Anyone have any idea Hower i know the work arround like taking the decimal position and deleting it. But it is not right way to do it i belive Appreciate your help thanks -- vikas

Re: [DUG] Need help in format function

2010-03-02 Thread Vikas...
Subtracting, I am sorry what u mean? On Wed, Mar 3, 2010 at 12:06 PM, Bevan Edwards wrote: > What if you just subtract 0.005 from the number you pass to the function? > -- > > -Original Message----- > From: "Vikas..." > Date: Wed,

Re: [DUG] Need help in format function

2010-03-03 Thread Vikas...
t; > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe >

Re: [DUG] Need help in format function

2010-03-03 Thread Vikas...
:* Thursday, 4 March 2010 10:35 a.m. > > *To:* NZ Borland Developers Group - Delphi List > *Subject:* Re: [DUG] Need help in format function > > > > I don't remember reading in the original post that Vikas needed the > function in a multi-threaded app? > In fact, the or

[DUG] date format help in TDateTimePicker

2007-08-26 Thread Vikas...
to format date the way is mentioned above Regards Vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Re: [DUG] date format help in TDateTimePicker

2007-08-27 Thread Vikas...
Well thanks for your suggestions well Jeremy format option is in Delphi 6 for delphi 5 i have used DateTime_SetFormat(DateTimePicker1.Handle,pchar('dd,MMM,')); this solved my purpose thanks anyways for you quick response On 8/27/07, Neven MacEwan <[EMAIL PROTECTED]>

[DUG] Duplicate resource

2007-09-12 Thread Vikas...
. actually we are using the image control and i changed the control say from ximage to yimage since ximage works with win2k and yimage works with xp. Cant anyone suggets some thing so that i can fix this issue Regards Vikas ___ NZ Borland Developers Group

Re: [DUG] Duplicate resource

2007-09-13 Thread Vikas...
Thanks everyone for you quick responce actually it was some DCU mismatch. Well Sabu the control what we are using in out internal image based control developed by us thanks anyways Regards Vikas On 9/13/07, Sabu M Hariharan <[EMAIL PROTECTED]> wrote: > > Hi Vikas, > > Thi

Re: [DUG] Salaries in NZ?

2007-09-13 Thread Vikas...
_ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: > unsubscribe > > -- vikas ___

[DUG] interface not supported

2007-09-17 Thread Vikas...
. since i tried to do that but that dint help Any one can throw some light on it please Regards Vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an

[DUG] debugging store procedure using Delphi 5

2007-11-15 Thread Vikas...
me in this Regards Vikas -- vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

[DUG] Skins in delphi

2007-11-27 Thread Vikas...
suggestions Regards Vikas Solution consultant ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

[DUG] File handling help in Delphi 5

2007-12-04 Thread Vikas...
Hi I am back again. Well i need one help in file handling. May be i sound dump here but i struck up badly at one point here. Ok let me first explain my first situation. I have say 10 files and path is say c:\vikas\file1textupto c:\vikas\file10.text. I am storyng all this in string list ok

Re: [DUG] File handling help in Delphi 5

2007-12-04 Thread Vikas...
assign readln method for.. > > > s := TStringList.Create ; > s.loadfromfile(AFilename) > for i := 0 to s.count -1 do > begin > lbuff := s[i]; > dosomething.... > end; > > On Dec 5, 2007 6:34 PM, Vikas... < [EMAIL PROTECTED]> wrote: > > > > >

[DUG] displaying line number in Delphi 5

2007-12-07 Thread Vikas...
feeature. I know delphi 5 is old now but unfortunatly my company prfer to works with Delphi 5 :( Regards Vikas -- ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi

Re: [DUG] displaying line number in Delphi 5

2007-12-10 Thread Vikas...
Thanks Alister Regards Vikas Solution Consultant National cash register On 12/10/07, Alister Christie <[EMAIL PROTECTED]> wrote: > > You could try castalia, but it's commercial > http://www.twodesk.com/castalia/index.html > > Alister Christie > Computers for People

[DUG] file tranfering issue

2008-05-07 Thread Vikas...
i know the query si right. This problem dotn occuer everyday sometime. Any clue did anyone faced such issue -- vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi

[DUG] sql query issue

2008-05-07 Thread Vikas...
idex. Now problem is when i execute this query it takes more than hour to run this query. Any way i can reduce the time of query using any option.i can't use primary keys on table2 sicne i do have duplicate values. Regards Vikas Solution consultant NCR coorporation --

Re: [DUG] file tranfering issue

2008-05-10 Thread Vikas...
thousnads it gives thsi issue. hOWEVER Where the volume is elss it works fine. I will appreciate for any further suggestion On 5/8/08, Bevan Edwards <[EMAIL PROTECTED]> wrote: > > Hi Vikas, > > Is the application running all the time? > Does it run as as desktop applicati

Re: [DUG] sql query issue

2008-05-10 Thread Vikas...
+'.tiff')) as SignatureFile ,a.Branchnumber, approvedate from svs_account..account a , svs_account..signature b where a.accountnumber=b.accountnumber and a.branchnumber=b.branchnumber and b.icnumber1 not in ( select imagefile from legacydetailtbl) *

Re: [DUG] Developers not upgrading

2008-05-10 Thread Vikas...
ibe: send an email to [EMAIL PROTECTED] with Subject: > unsubscribe > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an e

Re: [DUG] sql query issue

2008-05-11 Thread Vikas...
Hey Naven My problem got solved i actually missed soemthign in where clause i have added the option called aprove date in it and it fetched the record in 10 minutes time Thanks so much for ur time in replying to my mail Regards Vik On 5/8/08, Vikas... <[EMAIL PROTECTED]> wrote: > &

[DUG] need help in bulding setup (delphi)

2008-05-22 Thread Vikas...
alue now in ino setup i have used [Setup] DefaultDirName={reg :hklm\software\test1\key,|} but when i run the setup it gives me someother stuff in default directory option under pop up i am new to this thing. Please anyone if worked on it can help me. Regards Vikas Solution consultant NCR

[DUG] need help in client dataset

2008-06-04 Thread Vikas...
how do i copy the output of the above qry to clientdataset memory. do i have to use some dataset provider too with this. I am new to cleintdataset thing. I mostly use tquery Sorry for my ignorance, but i will apreciate if someone help me with this Regards Vi

Re: [DUG] Email Files - is delphi dead?

2008-07-23 Thread Vikas...
not even concern of the errors. My company was planign to buy 2007. But cancelled it due to lot of complains from it. i Still feel delphi is best tool and looking forward to work on it for long. Vikas Solution consultant NCR coorporation On 7/24/08, Conor Boyd <[EMAIL PROTECTED]> wrote:

[DUG] memory leak tools

2008-07-29 Thread Vikas...
Hi, Is there any open source or free memory leakage tool available to track memory leakage in delphi application. Regards Vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman

Re: [DUG] memory leak tools

2008-08-03 Thread Vikas...
Hi I was using madcollection software for this. Just wondering if anyone used it before Regards Vikas Vasudev Solution consultant NCR cooportaion On 8/4/08, Myles Penlington <[EMAIL PROTECTED]> wrote: > > Just use fastmm4. http://fastmm.sourceforge.net > > It replaces/s

[DUG] String Grid help

2008-08-06 Thread Vikas...
convenience i have provided tooltip. But still that is a temporary solution Any ideas. -- vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an

[DUG] Need Help in creating service

2008-08-14 Thread Vikas...
using delphi 5 and sql server 2000; I apreciate your help Regards Vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED

Re: [DUG] Need Help in creating service

2008-08-15 Thread Vikas...
ng ADO in a thread, then you have to use > CoInitialize and CoUninitialize in this thread. > > Paul > > > ----- Original Message - > *From:* Vikas... <[EMAIL PROTECTED]> > *To:* NZ Borland Developers Group - Delphi List ; NZ > Borland Developers Group - Delphi Lis

[DUG] CPU memory usage

2008-08-18 Thread Vikas...
if you provide me with some suggestions Regards vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject

Re: [DUG] CPU memory usage

2008-08-19 Thread Vikas...
Hi, Well i used a tool for it, I mean i got a free source from this website http://www.aldyn.ru/products/index.html May be it helps for you guys too. It is free Regards Vikas On 8/19/08, John Bird <[EMAIL PROTECTED]> wrote: > > The best tool for measuring CPU load is the

[DUG] Need help in special charector while inserting in a table

2008-08-24 Thread Vikas...
Hi I am using delphi and sql server 2000. I am facing a issue while inserting a value to a database TABLE x INSERT INTO X VALUES('VIKAS`S'); this statement fails. If you see the above query there is a ` value in the string. When i fire this query in query analyser it goes well. But

Re: [DUG] Need help in special charector while inserting in a table

2008-08-25 Thread Vikas...
to x values('vikas's') Regards Vikas On 8/25/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Viskas > > > > Have you tried "Viskas's"? > > > > John > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [DUG] Need help in special charector while inserting in a table

2008-08-25 Thread Vikas...
Hi Well yes the double one worked like i said before if i type 'vikas``s' this goes pretty well. But on the other hand if i type 'vIKAS`s ' it failed. Anyways like i said i used link server to fix this issue Since it was crucial bug comming at client side and my cleint

Re: [DUG] anyone need work? Fwd: Delphi Contract Role

2008-08-28 Thread Vikas...
Hi Well it is right in India Delphi prgramer are very less. I lived in Mumbai and i strated my delphi career from it before moving to London. But well i can say bangalore is the palce in india where delphi programer are lot and good quality one i can say Regards Vikas On 8/29/08, [EMAIL

Re: [DUG] Translations

2009-02-16 Thread Vikas...
> NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > -- vikas ___

[DUG] Model Maker disapearing from delphi Pallete

2009-03-03 Thread Vikas...
Hello everyone, I am experiencing strange problem while using model maker MMX700. It happened twice with me when ever i restart delphi model maker disappeared from my Delphi palette. It don't happen in regular intervals. Its like once in blue moon. I tried every way to restore it back no luck so a

[DUG] Need help in locating exe in task manager

2009-03-14 Thread Vikas...
Hi, I am running bit trouble in my application. Is there anyways i can find whether my application is still under process window in task manager. But that should support all windows platform. I think i got some function but that said it don't support windows NT. Any clues? I will appreciate yo

Re: [DUG] Future of us Delphi programmer in New Zealand?

2009-04-08 Thread Vikas...
nfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > -- vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe

[DUG] encrypting and decrypting text files(delphi 6)

2009-04-26 Thread Vikas...
Dear Everyone, I need bit of help in encrypting and decrypting text file using Delphi 6. Thing is i am writing a small flat file database for my application. So i want my text files to be encrypted. Is there any way to encrypt the whole text file. I read some where xor based encryption but for

[DUG] Help in getting file age

2009-04-30 Thread Vikas...
Dear Everyone, I need a help in calculating the age of file. I have checked the function file age. But it dint serve the purpose. Reason being is. Let say i am sitting in India changed a file on 30th April at 7:15pm. But on the other hand some one from america modifies the same files at 9:30am o

Re: [DUG] Help in getting file age

2009-05-02 Thread Vikas...
yHandle(fHdl, fInfo) then > //FileTimeToSystemTime(fInfo.ftLastWriteTime, FileRaw_Time); > > result := FileTimeToDosDateTime(fInfo.ftLastWriteTime, > LongRec(FileRaw_Time).Hi, LongRec(FileRaw_Time).Lo); > > finally > > fileClose(fHdl); > > end; > &g

Re: [DUG] What is the most useful delphi component you are using?

2009-05-14 Thread Vikas...
gt;* > > Mob: 021 966 992 > > Skype: garybenner > > Email: g...@benner.co.nz > > > > > > Ref#: 41006 > > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin

[DUG] database protocol help (off topic)

2009-05-15 Thread Vikas...
table, restore, back up and even query analyser screen like sql server. But someone said when u use client server concept this prtocol might help. But i am not sure Hope my query make sense Regards Vik -- vikas ___ NZ Borland Developers Group - Delphi

[DUG] Need Help In MSMQ queue based application

2009-11-22 Thread Vikas...
Hi everyone, I need some assistance here related to MSMQ based application. Basically we have an application written in Delphi 6 which reads the message written in MSMQ queue by other application. So usually this Delphi based application picks up the message from queue and process it along with

Re: [DUG] Need Help In MSMQ queue based application

2009-11-23 Thread Vikas...
ntical Added into the > queue. Other than that only debugging is likely to help. I have not heard of > MSMQ being unreliable but I haven't used it for years and years. > > On Mon, Nov 23, 2009 at 7:04 PM, Vikas... wrote: > >> Hi everyone, >> >> I nee

[DUG] Progress bar flicks +Delphi 6

2009-12-04 Thread Vikas...
this code for i:=iCount downto 0 do begin PbImportStatus.Position:= i; end; but i still feel this is not the correct way to do . Kindly Advice regards Vik -- vikas ___ NZ Borland

[DUG] Need help with trunc command delphi 6

2009-12-29 Thread Vikas...
before , or anyone know any substitute for trunc which works I am using delhi6 Appreciate your help regards vik -- vikas ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo

Re: [DUG] Need help with trunc command delphi 6

2009-12-30 Thread Vikas...
> Subject: Re: [DUG] Need help with trunc command delphi 6 > > To: "NZ Borland Developers Group - Delphi List" > > Received: Wednesday, 30 December, 2009, 8:28 PM > > What data types do you use for 4.5 > > and 0.1? > > > > Edward Koryag

Re: [DUG] Need help with trunc command delphi 6

2009-12-30 Thread Vikas...
thank you everyone for your prompt reply. Yeah surprisingly currency data type do take care of this. Wish every one happy new year regards Vikas On Wed, Dec 30, 2009 at 3:52 PM, Kyley Harris wrote: > Another common issue I've had with doubles is > > x := 0 > > x = 0 can s

Re: [DUG] What is the future for Delphi programmer? - summary

2010-01-20 Thread Vikas...
_ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > -- vikas __