delphi

Best place to hide a key in the Windows Registry?

Hello All! My Delphi program has a built-in protection mechanism to check for banned license keys on the Internet and displays a message to the user if a blacklisted key is found. I'd like to store the blacklisted key in the registry, so if the user tries to re-enter it (and he/she is not connected to the Internet), it's not accepted. ...

How to get applications from Windows Task manager (Applications Tab) + their locations on HDD from Delphi

I would like to get list of programs running and visible in windows task manager's Applications Tab (not processes tab) and get their locations on HDD ? I need it to be done in Delphi. Anybody can help ? ...

getting asynchronous socket error 10049 even if i use try..except

when ever i run my program(outside the debugger/ide) i get error asynchronous socket error 10049, am i not supposed to recieve a message dialoge : ''error''? see my code below begin try ClientSocket1.open; except showmessage('error'); end; end; what am i doing wrong? ...

how to load textfile of /stext out put to memo1

hi all i am trying load file after it created from /stext command line but its not loading up my code ShellExecute(0, nil, PChar(path+'test.exe'), PChar('/stext "' + path + 'save.txt"'), nil, SW_HIDE); after it created file i tried to load to memo1 from another button click like procedure TForm1.Button2Click(Sender: TObject);...

Delphi "remembers" old DCU dependency.

I'm moving development of an application from one machine (same version of Delphi). The original version of the application used a TMoneyEdit component from the TMS pack. While moving the project I'd like to remove the dependency on that product. So, in the source, I removed the TMoneyEdit component and replaced it with one of my own....

Reading/Sending From/To a Console Application

I'm using Delphi 2010, and I need to run a console application and automate the tasks that would normally require the user to enter information (for example a password). So basically I need some way to pipe all the text and read the lines so I know when the application is read for some kind of input, then automatically have my program s...

is it posible to create Web Bot in delphi?

i was just curious about webbot project and i wish that i could create something similar to that project. ...

How do events in Delphi work?

I'm trying to get console output from a program using this library uZpRunConsoleApp. It's well documented but I've not used Delphi for very long and I don't understand how events work. From what I can tell I need to call ExecuteConsoleApp with my application, which I have working with no output. It looks like that method wants me to sp...

What are the scrolling limits of a Virtual Tree View?

How can I get the max scroll for the X and Y in virtualstringtree during onchange event? ...

Build environments for PHP extensions?

Looking for development frameworks for creating custom PHP Extensions. PHP4Delphi looks promising. And there's the usual Visual Studio route. Are there any others? ...

What are Delphi 7 and Delphi 2009 differences which deals with characters, strings, unicode and the like?

I had a class that only worked in Delphi 7 and after several attempts of converting it into Delphi 2009 we finally agreed to change our project into Delphi 7. The project more or less done, but I want to give the 2009 thing another shot. Aside from Sizeof(Char) equals 1 in Delphi 7 and 2 in Delphi 2009, what are other changes that I n...

display imagelist items in Timage

i have create an imagelist with 20 bitmap inside and a dropdownlist value from 1 to 20. when i select the dropdownlist, it should show the bitmap that corresponding to the dropdownlist index. I'm facing problem that it keep showing the same image when i select the dropdownlist and the image too small. Any idea to slove this problem? and ...

Comparing stability, speed and help of Delphi 2010 to other Delphi versions

From what I've read from the previous posts, Delphi 7 is stable and has the best help system but is slow, Delphi 2007 is fast but the help system is bad and the IDE is buggy. Delphi 2009 is stable and fast but the help system is bad too. The posts were made when 2010 isn't available yet. I am planning to upgrade from Delphi 7 to 2010. Is...

Delphi & Lazarus both installed

Just a quick question for those of you that know. Is it possible to have both Delphi (ver 7) and Lazarus installed at the same time. I want to make sure the Lazarus install will not interfere with my current Delphi install in ANY WAY. I would have asked this on the Lazarus fourms but thought I would get quicker reply here. Anyway if you...

work with WordApplication in delphi7

hi how can i disable "print" & "print preview" in Microsoft Word with WordApplication (delphi7)? ...

Has any one used CrossKylix for real Cross-platform development?

New version of CrossKylix as been updated two weeks ago. Even Kylix has discontinued long time ago, but it's seems still used by some of Delphi developers. Has any one used it successfully on cross-platform development for Windows and Linux? ...

How does delphi convert ModalResult properties?

Hopefully this is a quick one, and "Easy if you know how"... I'm writing some kind of Serialization/Scripting class to generate forms on the fly, I tried setting a TColor the other day and got an error clBtnFace is not a valid integer value or something like that and found that the constants used in properties are registered so that th...

Help with Delphi DFM generation based on Database Tables (Scaffolding?)

Hello StackOverflow, I'm new to delphi and I'm looking up on ways to learn more about delphi underlying technology plus make something useful here in my job in the process, also if anyone has any tip or see anyway i can improve my idea please fell free to speak your mind... i want to do make some kind of Scaffolding for dfms, the ideia...

How to deal with TcxCustomGrid-TcxCustomGrid Drag and Drop when I drag an object to the outside of the window?

I have a TcxGridDBTableView in a window, and dragmode is set to dmAutomatic. When I drag and drop a row above another, it works fine. But when i drag and drop a row to the outside of the window, I'm not getting to the TcxGridDBTableView's 'OnEndDrag' event. Ex.: procedure TfrmMyForm.cxGridDBTableViewEndDrag(Sender, Target: TObject; X,...

Is ADO unable to report a database is marked read-only?

If "read only" is checked in the Windows desktop properties for a .dbf or .mdb file, and a Delphi 6 ADO connection (say, via Jet for an .mdb file or ODBC for a .dbf file) is then used to open that database, TADOTable.CanModify returns true and TADOTable.ReadOnly returns false, apparently failing to detect the file is actually read-on...