delphi-7 Questions
1
Solved
I have a Delphi application with an embedded CEF browser and it has stopped working since I updated if from CEF 117.1.4 and Chromium 117.0.5938.92 to CEF 123.0.12 and Chromium 123.0.6312.107.
With ...
Semibreve asked 21/6 at 11:26
9
Solved
I wrote an application (a psychological testing exam) in Delphi (7) which creates a standard text file - ie the file is of type ANSI.
Someone has ported the program to run on the Internet, probab...
5
Solved
I need to get total disk space in Delphi program.
9
Solved
If I try to run Delphi 7, I get this frightening message:
Borland license information was found, but it is not valid for Delphi.
You cannot run Delphi without this information. Click the exit b...
2
Can Indy 10 be used with Delphi 7?
I am trying to find it, or purchase it. But, I cannot find any information on it.
I found where to download it, though:
http://indy.fulgan.com/ZIP/
Their website,...
7
Solved
when I have subfolder in folder - this code isn't delete folders... Is there any error?
procedure TForm.Remove(Dir: String);
var
Result: TSearchRec; Found: Boolean;
begin
Found := False;
if Fin...
4
I'm new to delphi and now I have to read create an xml. my code is the following:
unit writexml1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dial...
2
Solved
Here's a condensed version of some code that causes both a Range check error and an overflow error, should I turn on those compiler check directives. I understand why this would cause an overflow, ...
3
Solved
Is there any way to know the name of a method I'm currently in?
So that:
procedure TMyObject.SomeMethod();
begin
Writeln('my name is: ' + <hocus pocus>);
end;
would produce this output:...
3
Solved
Say I have a form, with a menu bar on it. I have an item on the menu bar, a TMenuItem, for which I can assign a shortcut key combo, say, for example Ctrl+I. But when I assign the ShortCut property ...
3
How can I get the appdata folder path? This is my code:
begin
Winexec(PAnsichar('%appdata%\TEST.exe'), sw_show);
end;
but not working.
6
Solved
I am having trouble with the delimiter in the TStringList Class. Take a look:
var
s: string;
sl: TStringList;
begin
sl := TStringList.Create;
s := 'Users^foo bar^bar foo^foobar^barfoo';
sl.D...
Pentathlon asked 26/8, 2009 at 14:16
2
Solved
String content = "Jane";
String container = 'A.Sven,G.Jane,Jack'; // This is the string which i need to be searched with string content
boolean containerContainsContent = StringUtils.containsIgno...
7
Solved
Does delphi contain a component that allows auto scroll text loaded from db, like in news sites?
Tt's for a delphi 7 application and requires a vertical scrolling.
6
Solved
I implemented this code but again i am not able to search through the subdirectories .
procedure TFfileSearch.FileSearch(const dirName:string);
begin
//We write our search code here
if FindFirs...
4
Solved
My app contains documents in its database. The users can open the documents in which case, the document gets saved to a temporary folder and gets opened on the user's computer.
I'd like to get a n...
2
Solved
I need to change a database column from integer to string/text but I am not sure how to go about it.
This column is meant to store identification numbers, but recently the ID format changed and n...
Crocein asked 9/1, 2015 at 0:8
3
Solved
I am trying to delete a folder and all of its sub-folders recursively but it is not working at all, so can someone please check the code and tell me what I am doing wrong here?
I am running this ...
7
Solved
Im using this code to filter my table:
Table.Filtered := False;
Table.Filter := '[' + Field_Search + '] LIKE ''%' + Edit_Search.Text + '%''';
Table.Filtered := True;
but it raises this exceptio...
3
Solved
In Delphi 7's TMemo control, an attempt to do the key combo Ctrl + A to select all does not do anything (doesn't select all). So I've made this procedure:
procedure TForm1.Memo1KeyDown(Sender: TOb...
Griffith asked 11/12, 2011 at 19:24
15
Solved
So for some time now I keep having this problem:
on windows 7 (64bit), with Delphi 7 and Delphi XE2, if from within the IDE, I compile a program, run it, stop it, change it and rerun it I get this...
Octal asked 7/8, 2012 at 17:45
6
Solved
Delphi 7
How do i remove leading zeros in a delphi string?
Example:
00000004357816
function removeLeadingZeros(ValueStr: String): String
begin
result:=
end;
7
Solved
You are familiar with this block:
Var
mySet: Set Of Char;
C: Char;
begin
mySet := ['a', 'b', 'c'];
If C In mySet Then ShowMessage('Exists');
end;
Is there any way to declare Set Of STRING? ...
4
I think theres no native support to gif animated images.
How is the best way? any free component that allow that? I was thinking in using a TImage and a ImageList + Timer, but I need to export eac...
Deposal asked 5/3, 2012 at 20:34
5
I'm trying to make a custom data type for days of the week but I can't get it to write it. The compiler error says this:
[Error] hours.dpr(28): Illegal type in Write/Writeln statement
program ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.