Hi all,
I'm trying to write some Romanian text into a RichEdit component (Delphi 7) , and even i set the Font Property - Charset to "EASTEUROPE_CHARSET" it doesn't work.
What i want to accomplish is to paste some text (in romanian) in a RichEdit, load into a StringList, set the property order to true and assign it to another RichEdit...
Is there an easier way to convert Delphi 7 to Delphi 2009?
or is there a way to use a Delphi 7 unit in a Delphi 2009 project?
I have a unit in Delphi 7 but the behavior is all messed up when I try to use it in my Delphi 2009 project.
It has a lot of differences like:
Hangul = 'ㄱㄲㄴㄷㄸㄹㅁㅂㅃㅅㅆㅇㅈㅉㅊㅋㅌㅍㅎ' +
'ㅏㅐㅑㅒㅓㅔㅕㅖㅗㅛㅜㅠㅡㅣ';
Sho...
Hello,
I have an aplication with an automation object.
in the delphi IDE I can register it via the button "register type library".
As an alternative I can use codegear's tregsvr.
But how should I register the application when it's installed on other computers?
Should the setup include the tregsvr.exe ? Am I allowed to contribute the tre...
Hi folks, I have a TabControl, and I am using a TPanel to group my controls for each tab in D2010. Out of TPanel / TFrame / TGroupBox / Other which is the lightest weight control I can use for this? I only need to set its size and visibility thats all. Ty.
...
I have a very simple Delphi 2010 dll that I load from a Visiual Studio 2008 C ATL console application (MVF GUI app does not work either). When I debug the console app from the IDE directly - no break points - the output from the application is not correct but when I run the app directly or if I attach to the process with the debugger the...
I am trying to send a file using TServerSocket/TClientSocket. The file is sent completely as long as I do not free the filestream anywhere and by anywhere I mean form.OnCreate event too. If I do free anywhere only 1 or 2 percent is sent.
I also have to put the TFileStream.Create line of code on the server side OnCreate event. If I creat...
I wrote an small app to transfer files using the indy components, now i want start the antivirus program when the transfer is finished to check the files.
how i can execute the antivirus program installed in the client side, when the download finish?
UPDATE
I need implement something similar to firefox when download a file and then ex...
I´m using BDS MMVI / QuickReport and i need to print a large text with justified aligment (like msword).
Any ideas?
Thanks in advance.
...
It's been a few years since I've had to parse any files which were harder than CSV or XML so I am out of practice. I've been given the task of parsing a file format called NeXus in a Delphi application.
The problem is I just don't know where to start, do I use a tokenizer, regex, etc? Maybe even a tutorial might be what I need at this...
Is there a way in Delphi to disallow the form to focus on any of its components but not disabling those components? I tried Self.SetFocus on FormActivate event of the form but the program says that it cannot focus on a disabled component.
...
I have an attribute called HistoryText in a object that is stored as a string.
I want to show all rows in a grid. I should be able to delete and edit rows in the grid.
The format is:
16.5.2003-$-12:09-$-anna-$-Organization created
2.6.2005-$-13:03-$-jimmy-$-Organization edited
19.12.2005-$-13:33-$-madeleine-$-Organization edited
So ea...
I'm trying to center all message dialogs, including any exception dialogs on the parent form rather than having them always appear in the center of the screen.
I'm using Delphi 7 i note that using MessageDlgPos allows the params of X an Y to locate the dialog on screen, and thats fine for any messages i wish to display to the user. Bu...
Windows 7, Vista, Server 2008, UAC is activated
Program must be stated with admin rights to make some installation actions. After that I want my program to continue work with non-admin rights.
How can I restart it with not administrative rights?
P.S.
My program reinstall itself. I don't want distribute any additional programs for ...
for delphi,
I want to run my application with admin rights on vista or win 7 is there a solution for this you may know ?
related question:
http://stackoverflow.com/questions/3300390/want-to-learn-if-my-application-has-admin-rights
thanks.
...
for delphi
I want to learn if my application has admin rights, is there a solution for this you may know ?
related question:
http://stackoverflow.com/questions/3300023/how-to-launch-an-application-with-admin-rights
...
I am working with TFileStream in Delphi 2006. When I invoke TFileStream.Seek with an offset that is out of bounds I am getting different return values. When I seek to a position below the beginning of the stream, the function returns -1 and if I seek to a beyond the stream size, the function returns what would have been the position in t...
I'm doing a little (or at least I'm hoping it's little) favor for a friend, but haven't used Delphi in 10 or so years... and my searches haven't been of much use
What I'm trying to do is to GET an URL and then parse the HTML to find some info he needs. I'm hoping for something like this (in python) fileHandle = urllib2.urlopen(urlStr) a...
Hi,
In this project my aim is to create a software via GoogleMaps in Delphi 2009, it will be like this one but in different way. In this project the user can add a point on the map and in every point beside the icon I will add some information and these information should be relate with the icon, so if the user want to click on one of t...
I am trying to synchronize the scrolling of two TDBGrid components in a VCL Forms application, I am having difficulties intercepting the WndProc of each grid component without some stack issues. I have tried sending WM_VSCROLL messages under scrolling events but this still results in the incorrect operation. It needs to work for clicking...
When an action even fires, the "sender" is always the action itself. Usually that's the most useful, but is it somehow possible to find out who triggered the action's onexecute event?
Example
Let's say you have a form with the following:
2 buttons, called Button1 and Button2
1 TAction called actDoStuff
The same action is assigned ...