I want to have a shortcut key combination (like Ctrl+Alt+D) in my app to invoke a function, but I don't want the shortcut to appear on any menu. Is it possible to have a shortcut available in your app that is otherwise invisible?
...
I cannot install/compile any component where I create the .dproj file on my machine. I get an access violation error. this is even when I have added absolutely no code to a component frame or ActiveX component.
When I save the project and attempt to reopen it, I get an error telling me that the .dproj file has white space at line 26, ...
I have a multi-threaded Delphi 6 Pro application that I am currently working on heavily. If I set a breakpoint on any code that runs in the context of the Main thread (VCL thread) I don't have any problems. However, if a breakpoint is triggered on any code in one of my other threads, after I continue the application from the breakpoint...
help i wnted the richedit cannot be highlighted/ disable the hightlight or selection of text? also remove the cursor pos. the application is intended for display only the rtf text and not editing so i dont need those features. in delphi
...
We have a VCL Delphi 2005 application, and would like to use DevExpress's XtraReports components, which is for .NET. Is it possible to use it without converting the VCL Delphi application?
Perhaps by converting the components as COM objects, or creating a WinForms application, and somehow embed the form into a VCL form?
Doesn't sound t...
I want my procedure WMInput(var Mess: TMessage); message WM_INPUT; to be placed in a separate unit.
Should I declare this the same way in the other unit (I'm asking if the prototype would still be the same procedure WMInput(var Mess: TMessage); message WM_INPUT;)?
How can I call this?
Would the following be acceptable?
procedure WMIn...
Hi ,
I've asked the very same question here :
http://stackoverflow.com/questions/3248008/why-does-my-program-say-folder-does-not-exist-when-run-on-windows-2008
but none of the answers were satisfying and my problem still exists , so I decide to ask it in another way with more detail cause this problem really irritate me and we need to s...
I have been trying to find a good-looking design using Aero in Delphi 2010. One of the obvious uses one sees, is where the glass frame is extended to include the OK/Cancel buttons at the bottom of the screen. I notice though that this doesn't look quite right in Delphi 2010 - there is a white border all around each button.
This image sh...
Hello All,
I have been a dabbling into delphi off and on for years and I have always wondered why does minimizing and restoring an application cause it to use less memory ?
As an example I am using delphi 7 and I create a new project with nothing on it but the blank form all projects start out with and then I press F9 to run the applic...
I am trying to solve the doc to pdf conversion as described here.
Since there is no a Delphi component (with source code) that creates pdf from doc, I was wondering how it is possible to "register the COM at runtime".
I AM NOT USING AN INSTALLER, I just deploy the exe. So the idea was to simply put the ActiveX dll in the resources and ...
Hi,
I just ran into an annoying problem.
Suddenly Avira AntiVir startet to flag one executable from my software as being a virus.
As the default action from almost any user is to click OK and Avira suggests to put the "virus" in quarantaine, most of my users are deleting this executable.
Well, let´s not be arrogant and check if I...
Hello, stackoverflowers :)
I have given up tryng to figure out the reason of this issue, but here is the story and hope you could give a tip...
As I develop unique app ( http://code.google.com/p/sedev ) and therefore I need to polish it.
I have to add File Summary ( very useful info in my opinion ) to any created files by the app, so I...
I am in this situation: I have to split a JEDI VCS server. I have 4 Delphi projects on it, and I have to give 2 projects to a company and 2 to the other company.
The idea is: I restore 2 JEDI VCS backups (2 database backups) and I remove the projects of the other customer. Now it is not possible to really remove a project from JEDI beca...
We are upgrading our project from Delphi 2006 to Delphi 2010. Old code was:
InputText: string;
InputText := SomeTEditComponent.Text;
...
for i := 1 to length(InputText) do
if InputText[i] in ['0'..'9', 'a'..'z', 'Ř' { and more special characters } ] then ...
Trouble is with accent letters - compare will fail.
I tried switch source co...
I have an external function like this:
extern "C" __declspec(dllexport) int __cdecl Identify(BSTR* bstrTemplates, __int64 lCount, __int64* lIndex, __int64* lRetCode)
The bstrTemplates should be a string array.
How should my function look like in D7, and how to pass a string array to the external function. Can't get my head around r...
I have written a recursive Tree Function in pascal ( or delphi ) but i had an 'Out of Memory' message when I ran it.
I need to turn the Calculate recursive function in this code to non-recursive function, can you tell me how please :
program testing(input,output);
type
ptr = ^tr;
tr = record
age:byte;
left,right:ptr;
end...
Assume I have 1Mb file, file pointer is at the beginning of the file. I call synchronous ReadFile:
ReadFile(Handle, Buffer, 1024, Result, nil);
the call is succesful, no error occured. Is it possible that Result value (number of bytes read) is less than 1024 (number of bytes to read)?
I think that is impossible for disk files, I am n...
Hi,
I'm using the TDBRichEdit.
I got a table with some records, some of there are RTF formatted, some are plaintext.
I've also got a DBGrid. The grid and the dbrichedit has the same datasource.
When I click on a record on the grid which has RTF formatting, then the text is displayed formatted in the dbrichedit.
But when I click on a re...
Is it possible to create custom controls for use with VGScene? If so how is it done?
...
I have created a Client/Server application with the IdTCPServer component. The clients connect and maintain a persistent connection through the life of the application. If the network connection is dropped (which happens quite frequently because clients connect with wireless aircards) the client will automatically re-connect. This all...