How to store list folder name in specified folder into TStringList
c:\mydocument\folder a
c:\mydocument\folder b
c:\mydocument\folder c
c:\mydocument\folder d
??function??('c:\mydocument\') return :
StrList := TStringList
StrList[0] = 'c:\mydocument\folder a'
StrList[1] = 'c:\mydocument\folder...
How to get a folder name by random in folder c:\windows or c:\program files
because when i run my program, i have to save a file in a folder. but users may not know where this files exists.
so, my solution is save my file in a random folder in drive C that users do not know where my files...
I tried with bellow source, but failed....
procedure TForm1.Button1Click(Sender: TObject);
var
F : TextFile;
ch : char;
str : string;
begin
AssignFile(F, 'test.sql'); //file generate from (enteprice manager sql -> generate script)
reset(F); //Open F...
I want to encrypt/decrypt my *.txt files using commands in delphi. (not component)
when I want to decrypt files, It's better if the function provide parameter such as password to decrypt.
where i can download the samples functions with delphi programming.
Thanks
I create my store procedure with encryption.
I am using MS sql 2005 / 2008
but how to generate it to a file (script file / *.sql)
because i want to deliver this script to my client.
thank's
I create my store procedure with encryption.
so my code can not be changed.
but there is many tools to decrypt this sql statement (SP).
how to prevent from sql decryptor.
thanks
Is there a problem, if i connect database sql 2005 with BDE,
My all form use TQuery.
any sugestion/idea to solve this problem if bde can't connect sql 2005
thank's
I built my application with many dll (for reporting)
but when i load dll, I reconnect TAdoConnection.. I want to avoid this
reconnection.. but how to do this ??.
I have try passing parameter ADOConnectionObject :_Connection from exe to dll
so when i load dll,
i write...
Any one knows how to print an invoice (form) like dot matrix. because this feature it's very vary important for me.
or any link related about this topic (sample code)\
thanks in advance..
I am Using TDBGrid
How to draw a text Discountinue (RightJustify) on the existing row data in a dbgrid
For Example
ProductId ProductName
1 Harddisk 10GB Model A 7200rpm
2 Harddisk 40GB Model B 7200rpm
3 Memory 16mb SDRAM model A...
hi..
I need to check if computer is idle more than 3 minutes..
I did it by checking mouse pointer.. But sometimes
user just using keyboard and mouse pointer(x,y) is
getting wrong.. So, I need to detect IDLE like windows'
screen-saver process.. How can I detect if computer is
idle (probably some...
I am using TExcelapplication,.. (Server pallete on delphi 7). how to using this component to copy a worksheet from workbook to another workbook.
because i want also copy pagesetup orentation (landscape or portrait).
or
any one know how to detect file excel.. using page orientation landscape...
When using the TRegistry component under NT, a user with less than
"administrator" rights is unable to access information stored in the
HKEY_LOCAL_MACHINE. How can I work around this?
Thank's in advance
I have a store procedure contained errored while inserting temp #table
If I run it in query analizer.. errors displayed correctly (not problem)
But if i execute it with tAdoQuery. errors not displayed...
so I always confused with it.... in fact an error happened..
so how to display error in my...
What's event to know when all record opened.. because I want to execute procedure in my inherit form... like resized column in my grid after all record opened
thank's
Hi,
I build my application with delphi 6. now I want to export data to microsoft excel, but i don't now VBA.
Could you help me how to export data to excel
Thank's a lot for every body
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.