1,899 Topics

Member Avatar for
Member Avatar for lapassion

Hello everyone... I'm having a problem with RichEdit and its default scrolling behaviour. When a new line is added to a RichEdit (via a Timer OnTimer event), it autoscrolls to the bottom, which is fine. The problem is, while it scrolls to bottom, it also resets the horizontal scrollbar to …

Member Avatar for lapassion
-1
278
Member Avatar for prefer

Hi everyone! I think I'll be on here allot from now on, pretty useful forum, well done! Anyways, I'm doing a project for school and it's got me stuck. See I didn't understand the error message the compiler gave me at first, but then I read it on ...some website, …

Member Avatar for House_of_Dexter
-1
257
Member Avatar for havoc433

Hi I'm using the Pascal language and I need help with the following problem. You need to find the most common word read in by a user of arbitrary length and then display the amount of times its found in the input. I placed all the words into a linked …

Member Avatar for FlamingClaw
-1
287
Member Avatar for Jayno4

hi i need to write a logon code for delphi 7 that logs on to someone and then if they get the password wrong 3 time they get locked out. i am completely stuck i have a log on code written but i don't know where to go after that. …

Member Avatar for FlamingClaw
-1
216
Member Avatar for marygreen

Hello guys and girls. Any idea how to find containing numbers of one specific number. For example number 10: 10 = 9+1 10 = 8+2 10 = 7+3 … … I tried to do something like ‘random(10)’ but got nowhere with that. Cheers to all, marygreen

Member Avatar for marygreen
-1
116
Member Avatar for turbomen

Dear ALL, Could you tell me what is wrong of my program? The problem is the following wording are often restart: "PLEASE RUN THIS PROGRAM IN A MAXIMUM WINDOW..., TONY YEUNG PRESENT... How can I add some music for it? How can I change the colour of the font and …

Member Avatar for FlamingClaw
-1
123
Member Avatar for Kirky89

I am struggling to work out how to use the Round command, I have bolded the area in which I need it. Thanks for the help in advance. Edit: Forgot to add, we have to round the number up. [code]program lab12exc3; {$APPTYPE CONSOLE} uses SysUtils,ourcrt; var length,width,height,area,litresPaint,metresPaint : real; procedure …

Member Avatar for FlamingClaw
-1
124
Member Avatar for ahluka

I've just started using Delphi and right away there's one thing I can't do in a VCL forms application: destroy it properly. At the moment I'm calling Form1.Destroy which appears to work, but if I look at the processes list it's still there and Delphi refuses to write the .exe …

Member Avatar for nick01522
-1
158
Member Avatar for M1cH

How to call C Object (Microsoft Visual C++ 6.0) from Delphi (Borland Delphi 7)?? email me: <EMAIL SNIPPED>

-1
59
Member Avatar for turbomen

Dear All, Could you tell me how can I read from the hotseat.txt file all the records and sort by first name. Finally, list the sorted results on the screen. Cheers, turbomen

Member Avatar for FlamingClaw
-1
136
Member Avatar for TomRandall

Hi all, I don't use Delphi often so this is probably a stupid question again, but why does Delphi (7) re-index arrays when they're passed to a function, as a simplified example... [CODE]program example; {$APPTYPE CONSOLE} uses SysUtils; var numbers: array[1..5] of Integer = (10, 20, 30, 40, 50); procedure …

Member Avatar for FlamingClaw
-1
180
Member Avatar for especta

hi i use OverbyteIcsWSocket + DCPcrypt2 i have try to make TCP server with md5 Authentication + 3des crypt example: user name = somtimg pasword = pass and des key = 1020304050607080901011121314 i have got this mesage from client ( Server random key length is 19 and must be 14) …

-2
69
Member Avatar for Torando

I have an old game written in delphi and the game keeps crashing, the game is an mmorpg so there are constantly people online. To the problem, when we first start the game up, everyone can get on fine and play. The game stores variables into text files for each …

Member Avatar for farhan386
-1
534
Member Avatar for safder00

I have installed Urdu (An Asian right-to-left language) on my computer (OS Windows XP) by >Control Panel>Regional and Language Options>Languages>Details>Add. I can change language from language bar on my task bar. In RichEdit I just want to change the reading order to right-to-left and alignment to right. But the language …

Member Avatar for fayyaz
-1
74
Member Avatar for shado.028

Hey all. Ill put this simply. {assigning 52 jpeg's to 52 different TImages} [U]What i have:[/U] for x:= 1 to 52 do case x of 1: img1.picture.loadfromfile(1.jpg); 2: img2.picture.loadfromfile(2.jpg); 3: img3.picture.loadfromfile(3.jpg); 4: img4.picture.loadfromfile(4.jpg); i think you get the picture. [U]What i want:[/U] some way of programmatically selecting a certain image …

Member Avatar for fayyaz
-1
105
Member Avatar for marygreen

Hello to guys/girls on the forum. Question I have is following. How to speed this loop? [code] begin var i:integer; begin for i:=1 to 9999999 do begin //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + '+(floattostr(a3.value)); //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + '+(floattostr(a3.value)); //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + …

Member Avatar for jng
-1
107
Member Avatar for turbomen

Dear ALL, Could you tell me how can I write a program that writes to a text file, the 32 people that are in our hotSeat.txt file. Cheers, turbomen (p.s.: 'the question orginally ask me to write a program that writes to a text file, the 32 people that are …

Member Avatar for House_of_Dexter
-1
182
Member Avatar for Levike

Hi, A have a DLL with a header written C: [code] __declspec(dllimport) int ReadData(char* port, int baudrate, unsigned char block, unsigned char nrblock, unsigned char buffer[64], unsigned char* message, BYTE password[6] ); [/code] I want to use the DLL in my Delphi project, but I can't figure it out how …

Member Avatar for House_of_Dexter
-1
224
Member Avatar for johnng815

HI to ALL Bro , Urgently need some advice from bro and sis here. I am totally fresh in delphi. I have an existing dll which wrote and done by ex-coll . All the function is working well with my vb6 or .net program since last few year. Recenlt i …

Member Avatar for House_of_Dexter
-1
128
Member Avatar for SamoaJoe01

Hi, I'm encountering a frustrating problem in Delphi. I've written several very long programs to demonstrate certain things related to neural networks. As such, the program GUI has many things on it that are updated per iteration of the solver: from labels, to memos, to editstrings, etc. The two main …

Member Avatar for House_of_Dexter
-1
1K
Member Avatar for yozuca

This is my programm which is to search in the data file. I cannot search the data with key words/character but only the full words. How can I correct my programm to become searching in key words/character? The DATA: 20081231 Betty 03/09/1978 The programm begin write('Member ID > '); readln(tid); …

Member Avatar for FlamingClaw
-1
164
Member Avatar for mainguy

Hello, I'm using Inno Setup for the first time and just a beginner in Pascal. My code: [CODE] XMLHTTP := CreateOleObject('MSXML2.ServerXMLHTTP'); XMLHTTP.Open('GET', myUrl, False); XMLHTTP.Send(); ... MyFileStream := TFileStream.Create(Path + MyFilename, fmCreate or fmOpenWrite); [/CODE] But,I don't know how to use MyFileStream to write XMLHTTP.ResponseBody or XMLHTTP.ResponseStream. Could you please …

Member Avatar for mainguy
-1
252
Member Avatar for haminoon

Windows 7's new Aero Shake feature isn't working on my Delphi SDI application. Does anyone have any idea why? And what needs to be changed to make it work? Thankyou...

-1
57
Member Avatar for turbomen

Dear Sir, Could you please give me some of the ideas of making the hotSeat game in pascal? The following is the simple mode of my coding:- [code] Program yeungkt1; {$APPTYPE CONSOLE} { Who wants to be a millionaire. Author: Chris Yeung Version 1 } uses SysUtils, OurCrt; Type hotSeat_record=record …

Member Avatar for turbomen
0
241
Member Avatar for daviscooper

- I've used DevExpress Components to develop my App. There's problem when user attach their image to database: it's so big. Of course, it influences my database speed. - Please instruct me some solution to solve them?

Member Avatar for FlamingClaw
0
78
Member Avatar for turbomen

Dear Sir, Please help me on Delphi. Could you tell me how can I do the following question? Calculate and display the sum of the even numbers from 2 to 20 inclusive. Cheers,

Member Avatar for EdFallon
0
229
Member Avatar for especta

find replace hi i have 2 txt files in 1 i have stored numbers numbers.txt ex. 10 20 30 others i have stored word.txt 10,hello 20,welcme 30,text ...... i need to auto replace numbers with words .. plise help.

Member Avatar for especta
0
221
Member Avatar for Nathan Campos

Hello, I'm trying to download the binarys of the [b]FPC ver. 2.1.2 Win32[/b], because i need to develop a program that i only can compile it in this version of FPC, then if you have the binary of this version of a link to it i will be very happy. …

0
113
Member Avatar for FlamingClaw

I want to show a simple example about writing record to a file,and for checking,read back from that file. Created By FlamingClaw

0
258
Member Avatar for FlamingClaw

This algorithm will add the searched element's place in an array This works only when there is so element what we're searching for. By FlamingClaw

0
155
Member Avatar for FlamingClaw

This algorithm will decide that is there a serched element in the array.If it finds one then the loop halts.If the loop halts cause we're stepping over the last element of the array then there is not searched element. By FlamingClaw

0
2K
Member Avatar for FlamingClaw

Counts that how many propertied elements are in the array example:negative numbers By FlamingClaw

0
176
Member Avatar for FlamingClaw
0
802
Member Avatar for FlamingClaw

Prime or not?This little program will show prime numbers with green color from 0 to 100.By FlamingClaw;

0
293
Member Avatar for FlamingClaw

I want to show you some rules about bit operating like Not,And,Or,Xor,Shl,Shr... By FlamingClaw

0
199
Member Avatar for FlamingClaw

I've seen,there are guys that did not know,where to use a unit... See it just reference By FlamingClaw

0
783
Member Avatar for FlamingClaw

This little program a solution for putting a string into an array. The method is that the string is divided for chars.... By FlamingClaw

0
214
Member Avatar for FlamingClaw
0
199
Member Avatar for FlamingClaw
0
973
Member Avatar for FlamingClaw

Often there is a case when we want to fill an array with record,and this program will demonstrate it...

0
217
Member Avatar for FlamingClaw
Member Avatar for FlamingClaw
0
131
Member Avatar for FlamingClaw

Many people says 'Don't use the GoTo statement,because your code will be unreadable....'.I say,can be use

Member Avatar for FlamingClaw
0
1K
Member Avatar for FlamingClaw
Member Avatar for FlamingClaw
Member Avatar for kameshwar

Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle. The rows of Pascal's triangle are conventionally enumerated starting with row zero, and the numbers in odd rows are usually staggered relative to the numbers in even rows. A simple construction of the triangle proceeds in the …

0
147
Member Avatar for Jx_Man
Member Avatar for darkscript

This program generates lines of pascal's triangle, numbers after 23 generate weird output.

Member Avatar for technogeek_42
0
204
Member Avatar for JJarvis
Member Avatar for mumble bee
0
111
Member Avatar for Lord Soth

Based on [url]http://astronomy.swin.edu.au/~pbourke/geometry/insidepoly/[/url] Converted to Delphi by Lord Soth

Member Avatar for Zajoma
0
766

The End.