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...
Lubalubba asked 5/2, 2011 at 16:11

5

Solved

I need to get total disk space in Delphi program.
Claret asked 17/6, 2011 at 9:6

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...
Airlift asked 14/9, 2009 at 7:12

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,...
Solis asked 29/5, 2013 at 11:23

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...
Adulation asked 19/4, 2011 at 12:55

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...
Filler asked 2/12, 2011 at 10:6

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, ...
Dynamometry asked 25/7, 2012 at 20:58

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:...
Alek asked 19/8, 2009 at 16:57

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 ...
Poliard asked 24/7, 2012 at 5:39

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.
Valuable asked 13/8, 2015 at 18:31

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...
Tranquil asked 29/10, 2015 at 9:18

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.
Malonylurea asked 1/12, 2010 at 9:24

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...
Unknit asked 1/7, 2011 at 9:29

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...
Quoits asked 5/8, 2010 at 19:45

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 ...
Tannenwald asked 3/8, 2012 at 15:31

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...
Suppurate asked 21/7, 2012 at 18:16

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;
Seedbed asked 2/5, 2011 at 12:8

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? ...
Cervicitis asked 30/6, 2010 at 15:37

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 ...
Overcareful asked 16/12, 2010 at 9:11

© 2022 - 2024 — McMap. All rights reserved.