1,899 Topics

Member Avatar for
Member Avatar for CTBC

I have a form where there are 2 buttons, one which randomly adds buttons onto the form, and one that resets the form to default. When the form is opened there are two buttons, but after clicking the random button, there are many buttons. For the reset button, I currently …

Member Avatar for sknake
0
166
Member Avatar for Chris1971

Hi All, this is my first post as a member of the forum so firstly nice to meet u all, secondly if this posted in the wrong place, many apologies Admin. My problem and query is this I have been asked to find out the most appropriate language for a …

Member Avatar for sknake
0
50
Member Avatar for rockinsteve

How do I get these 2 programs to work together (ie have one call the other.) Thought of using the first to call the external one but then thought it better to combine the 2 ????? Can't seem to get it working yet the second one works on it's own. …

Member Avatar for FlamingClaw
0
117
Member Avatar for turbomen

Dear Sir, Could you tell me what is wrong of my program? The question is: write a progrm that totals up a list of exactly 100 numbers and outputs that total to the screen, also show the average of the 100 numbers. My program: [code] program Project2; {$APPTYPE CONSOLE} uses …

Member Avatar for FlamingClaw
0
104
Member Avatar for mark.b
Member Avatar for ChristineB

Hello - I am new to this forum. This post is to get your input on the best location to set up a small Delphi/Pascal development shop. Are there areas in the US where highly skilled Delphi/Pascal programmers are available? We want to co-locate to utilize Scrum development techniques. Your …

Member Avatar for mark.b
0
204
Member Avatar for AKJo

I love cport-3.10 by Dejan Crnila, maintained by Lars Dybdahl and Paul Doland. It is easy to use, but still powerful. I have one problem though. Writing to a serial port is VERY slow. I run at baude rate 115200 and still it takes around 1000 ms per byte to …

Member Avatar for AKJo
0
120
Member Avatar for Qousio

Hello! I'm currently making <<The game of life>> in TP7. Actually, I have already finished everything. The only thing I would like to add is mouse input, so the user could draw the 'cells' by clicking a mousebutton. So, for example a mouseclick on coordinates (50,20) would change grid[50,20] to …

Member Avatar for FlamingClaw
0
240
Member Avatar for zuzu22

Hello friends, Since I'm not too familiar with win programming may I ask a dumb question. I made a small app on D7 using TclientSocket which connects to some embedded server and request some data. Now I use string based functions like sock.Socket.SendText('text to send'); but I send pure binary …

Member Avatar for FlamingClaw
0
231
Member Avatar for lily9983

You bought an iPhone and love all its features, but wish you didn't have to pay for your songs twice to get a ringtone. (We know that iPhone, iPhone 3G Ringtones use the file extension .M4R. And the users must pay $2 for a piece of song through Apple iTunes …

0
64
Member Avatar for Teropod

Hi all! I am new to delphi programing ive started with delphi 8. My simple application needed to connect to sql server with borland data provider components like BdpConnection and BdpDataAdapter and i was able to connect to server manipulate with data, sqls everything is working fine but when i …

0
70
Member Avatar for FlamingClaw

I think this will helpful for those who like delphi. :D Download,and read.This file contains the basics of delphi :) The file size is about 3 Mb. Thx for reading. With respect : FlamingClaw 2009.04.18.

Member Avatar for skdfljsdkjf
0
290
Member Avatar for SANMI

I have 2 DLL , namely A.dll and B.Dll They both have a function called ShowHelp() How do I declare the two functions that have The Same name

Member Avatar for FlamingClaw
0
97
Member Avatar for SANMI

I need to REMOVE my Application from the Windows Process List. I do not want users to use Process Killers to Remove my Application or Shut it down.

Member Avatar for FlamingClaw
0
147
Member Avatar for turbomen
Member Avatar for FlamingClaw
0
47
Member Avatar for debuggger

I have just recently begun programming, and am learning Pascal as my first language. In my class, the teacher doesn't have huge amounts of time, so I thought I would research this online. Converting arabic (normal) numbers to roman numerals is a part of a project that we are working …

Member Avatar for FlamingClaw
0
1K
Member Avatar for yssirhc

I have a Delphi web application that I would like to translate into ASP or PHP. Does anyone know of software I can get to convert it? I've seen lots of stuff that will convert Delphi to C# but that doesn't really help me since C# isn't a web language.

Member Avatar for FlamingClaw
0
45
Member Avatar for m610

I guess I should be embarrassed to ask this, but Help seems to be misleading to me, so it's not my fault. ;) I'd like to enter a series of binary numbers in a component I am working on. Delphi's Help (see below) says all I need to do is …

Member Avatar for weinelb
0
1K
Member Avatar for fireup6

[img]http://img4.imageshack.us/img4/5140/71788648.jpg[/img] [code]program stub; {$APPTYPE CONSOLE} uses SysUtils,Windows; var bufferhandle : THandle; bufferaddress : pointer; processhandle : THandle; begin ///build buffer bufferhandle := GlobalAlloc(GMEM_MOVEABLE and GMEM_ZEROINIT, 1); bufferaddress := GlobalLock(bufferhandle); //get process handle processhandle := GetCurrentProcess; //read one byte of file and load into buffer ReadProcessMemory(processhandle, ptr($830022), bufferaddress, 1, nil); end. …

Member Avatar for FlamingClaw
0
233
Member Avatar for SANMI

I have a project , I need to show the Names of Employes in a ListBox . When a name is Selected , I get the Employee ID from the List box and use it to get the Employe data. The ListBox does not have a place where you can …

Member Avatar for glubbish
0
252
Member Avatar for turbomen

Dear Sir, Could you mind tell me what about the difference between While..loop, for..loop and repeat.. until?? Can you give me some example?? Cheers,

Member Avatar for FlamingClaw
0
162
Member Avatar for harish92

Hi I'm making a program for a game of Hangman. I have to put a limit to the number of guesses. I have an array to show the current status of the word. So in this array (GuessStatusArray) each cell is either '*', ' ' or a letter guessed correctly …

Member Avatar for FlamingClaw
0
146
Member Avatar for turbomen

Dear Sir, Can I add the background colour or music to my following program? Program millionaire;//Student_millionaire; {$APPTYPE CONSOLE} uses SysUtils, OurCrt; Type gameShow_record=record firstname:string[12]; lastname:string[12]; phone: string[12]; End; Var User_Choice:Integer; //this is your first program integrated in the main Procedure Student_Millionaire; //I not tested,you said it work Var gameShow_file:file of …

Member Avatar for FlamingClaw
0
188
Member Avatar for turbomen

Dear Sir, This is the 3rd part of the question, I want to find and list the finalists. Cheers,

Member Avatar for FlamingClaw
0
101
Member Avatar for InS@NiTy

Hello all, I'm pretty new to coding and I'm having a little trouble in reading a list to an array from a txt file. What I'm trying to is write 24 words from a txt file to an array and then use a number to select one at random (It's …

Member Avatar for InS@NiTy
0
2K
Member Avatar for turbomen

The following is a simple program on 'while ... do': program dowhile; {$APPTYPE CONSOLE} uses SysUtils, Ourcrt; Var my_words: string; begin [COLOR="Green"] my_words:=''; writeln('Enter some words (type "stop" to finish):'); readln(my_words);[/COLOR] while (my_words<>'stop')do begin clrscr; writeln('You typed:'); [COLOR="Red"] writeln(my_words); writeln; writeln('Enter some words (type "stop" to finish):'); readln(my_words);[/COLOR] end; end. …

Member Avatar for FlamingClaw
0
150
Member Avatar for Endurance Man

Hey all Really hoping someone can shed any sort of light on this, even a light glimmer would be nice :(. I have a form with a TWebBrowser on it coded in Delphi7 as a Win32 app. If i try to browse to a silverlight application the application crashes without …

Member Avatar for FlamingClaw
0
99
Member Avatar for smbusa

Could anybody help me to create a QReport in Delphi. I use My Sql as my database.

Member Avatar for FlamingClaw
0
67
Member Avatar for smbusa
Member Avatar for turbomen

Dear Sir, The following is a simple program in Delphi. Could you tell me the meaning of the colour in red. program Negatives; {$APPTYPE CONSOLE} uses SysUtils, ourcrt; var balance, posNeg:integer; begin randomize; writeln ('Generating your bank balance'); writeln ('Please wait .....'); sleep (2000); create a random number between 0 …

Member Avatar for FlamingClaw
0
98
Member Avatar for turbomen

Dear Sir, The following is the very basic programme, but I often miss the comma and delimiter which is red in colour. Could you express the meaning of this? program AgeCalculator; {$APPTYPE CONSOLE} uses SysUtils; var age, months, days, hours: integer; begin writeln ('How old are you?'); readln (age); writeln …

Member Avatar for FlamingClaw
0
128
Member Avatar for turbomen

Dear Sir, The following is a good example of Pascal. I understand the font with red in colour is the location of display into screen but could you express the meaning of sales1:7:2, sales2:9:2, sales3:9:2, sales4:9:2, sales5:9:2, sales6:9:2?? Cheers, uses crt ; var sales1, sales2, sales3, sales4, sales5, sales6, total_sales …

Member Avatar for FlamingClaw
0
121
Member Avatar for turbomen

Dear Sir, Please help me in this part of the question. I want to change the phone a friend details. Find a person and change their phone a friend number. To do this I need to find a record in memory and overwrite that record's phone field. Then save all …

Member Avatar for FlamingClaw
0
80
Member Avatar for turbomen

Dear Sir, After finishing the 1st part, I still have many problem of the question. Program Student_millionaire; {$APPTYPE CONSOLE} { } uses SysUtils, OurCrt; Var User_Choice:Integer; Procedure ContestantsList; Begin WriteLn('1 pressed,listing all the contestants...'); ReadLn; End; Procedure Generate10finalists; Begin WriteLn('2 pressed,generating the 10 finalist''s numbers...'); ReadLn; End; Procedure UpdateFinalists; Begin …

Member Avatar for FlamingClaw
0
116
Member Avatar for roulingo

i have been programming all my life and would like to intoduce myself my name is phil and i know a lot about the following subjects Delphi electronics electrical otherwise im quiet stupid. favourate subjects rock n roll, cooking, karaoke, computer programming. present projects computer data protection. secure data comms. …

0
48
Member Avatar for meghs007

i can't remember exact formula of the pascal triangle if you know then please send me the formula and the pascal triangle code in c i think y=c*(y-x)/(x+1); this is wrong but you can modify and send me

Member Avatar for John A
0
54
Member Avatar for turbomen

I have a menu system which can allows me to list all the contestants. The following is my menu system: Program Student_millionaire; {$APPTYPE CONSOLE} uses SysUtils, OurCrt; Var User_Choice:Integer; Procedure ContestantsList; Begin WriteLn('1 pressed,listing all the contestants...'); ReadLn; End; Procedure Generate10finalists; Begin WriteLn('2 pressed,generating the 10 finalist''s numbers...'); ReadLn; End; …

Member Avatar for FlamingClaw
0
153
Member Avatar for harish92

In a game of Hangman, a setter of the word/phrase is required to enter a phrase. However, I was wondering if there was any way to input data blindly, so that the guesser cannot see the phrase getting typed in. An example of its use would be passwords being entered.

Member Avatar for FlamingClaw
0
173
Member Avatar for spiren

Hello, I wrote a program to find a path in a StringGrid. The path found should be highlighted - according to several articles I use an array with 0/1 values to indicate path cells. When using this in the onDrawCell event handler, only the first and the last cell of …

0
47
Member Avatar for 1shadow1

Please can someone help me out on an issue that I ma having with delphi. Aim is to read an INI file then take certain values only and display them under listbox or memo. Lets say for an example my ini files looks like this [setup] Device = Sector= [set] …

Member Avatar for FlamingClaw
0
118
Member Avatar for killhha

i was wondering if it would be possible to use a timer in pascal. like for instance you have 10 seconds to answer a question. iv been thinking and i cant figure out how to do it. does anyone know how?

Member Avatar for FlamingClaw
0
3K
Member Avatar for harish92

In a game of Hangman, the setter must input the word/phrase. However the user would be able to see the word/phrase that has been input. Is there a way of inputting the word without it coming up on the screen - a blind input? For example as asterix much in …

0
70
Member Avatar for harish92

I don't understand why my linear search program in pascal is not working... Some help will be appreciated. [code]program Project2; {$APPTYPE CONSOLE} uses SysUtils; Type TStudent = Record Name : String[15]; End; Var Name : array [0..3] of string=('Fred','Jack','Chris','Ali'); inputname : string; n : integer; begin Name[0] := 'Fred'; Name[1] …

Member Avatar for FlamingClaw
0
1K
Member Avatar for turbomen

Dear Sir / Madam, The following is the game of Rock, Paper, Scissors. But I don't know why computer is always choose Rock. My Answer:- program RPS5; {$APPTYPE CONSOLE} uses SysUtils, ourcrt; var Computer : integer; Choice, Move : char; begin repeat writeln('Rock(R), Paper(P), Scissors(S)'); readln(Choice); until (Choice = 'R') …

Member Avatar for FlamingClaw
0
88
Member Avatar for turbomen

Dear Sir / Madam, Please help me again on Delphi. Please help me to write a program that uses a function to caoculate the commission payable to the sales person, when passed the commission rate for the item, the total items sold and the price per item. For example, if …

Member Avatar for FlamingClaw
0
97
Member Avatar for turbomen

I found that semi-colon are some time come to the end of the line. i.e.: end, else,... But just some time. Could you tell me when I need to put semi-colon to the line? And when I need not?

Member Avatar for Duoas
0
94
Member Avatar for turbomen

Play it for three times and we can get the final result. My answer: var number, guess: integer; begin randomize; number:= random(3)+1; writeln('Wellcome to the game of snap.'); readlnln (guess); if guess>number then begin writeln('It''s too big! Please try again.'); end else if guess<number then begin writeln('It''s too small! Please …

Member Avatar for FlamingClaw
0
291
Member Avatar for turbomen

My question is: to create an array of 6 lotto numbers. The numbers should be between 1 and 40 and you are not allowed to put into the array any number that is already in it. Hint: You are using an array of 6 numbers so that’s a loop generate …

Member Avatar for IVR_Developer
0
277
Member Avatar for WABUno

Hi Everyone. I need help with using Printer.Canvas to print toa USB printer. Using Delphi 7.0 and a Brother HL2140 USB only printer, produces a blank page. A friend tried it on his USB printer and all of the print was on the left half of the page. On my …

Member Avatar for WABUno
0
140
Member Avatar for turbomen

I need to write a skeletn program for the assignment. It should have a menu system with at least 5 options. The menu keeps repeating after each procedure is called. When one of the procedures is called just return a message to the screen saying what this procedure will do: …

Member Avatar for FlamingClaw
0
160

The End.