1,899 Topics

Member Avatar for
Member Avatar for Latent

Hello, I know I am new to the Board but I need help. I have these programes to designand I need to know how to code in them in Pascal. All I ask, if it is possible, is for a sample answer if it is possible. I am not that …

Member Avatar for jwenting
0
162
Member Avatar for h2odog

We are using TMT Pascal 5.01 and have been experiencing input console problems with components of a particular piece of software. Requests for help from [email]support@tmt.com[/email] have gone unanswered. Keyboard strokes do not echo to the screen nor terminate (carriage return) properly – seemingly locking up the computer, necessitating a …

0
65
Member Avatar for WarKirby

Using Borland Pascal- Making a program to read in names and sales figures from text file and then (amongst other things) find the average of the sales and compare all the sales figures to the average. The problem is, only the last entry in the text file comes out for …

Member Avatar for Lord Soth
0
80
Member Avatar for PCHelp

I found example how get process exe path: uses PsAPI, TlHelp32; // portions by Project Jedi [url]www.delphi-jedi.org/[/url] const RsSystemIdleProcess = 'System Idle Process'; RsSystemProcess = 'System Process'; function IsWinXP: Boolean; begin Result := (Win32Platform = VER_PLATFORM_WIN32_NT) and (Win32MajorVersion = 5) and (Win32MinorVersion = 1); end; function IsWin2k: Boolean; begin Result …

Member Avatar for Lord Soth
0
494
Member Avatar for rcwally

I have the worst time deciding on VAR statements. I am trying to write a program to establish a "bounciness" index equal to the original height divided by the bounce height of a ball. I get the basics of the FOR looping, but my VAR statements just don't make sense, …

Member Avatar for muhanena
0
243
Member Avatar for sportsnut941

It keeps failing at the else statement? program AreaofRectangleOrTriangle; uses WinCrt; var Base, Height, Area, CharUserInput: Char; Begin (*Enter R or T*); Writeln('Enter R for Rectangle or T for Triangle'); Readln(CharUserInput); (*Enter Base and Height*); Writeln('Enter Base '); Readln(Base); Writeln('Enter Height '); Readln(Height); (*Give case statement and formulas*); if (CharUserInput …

Member Avatar for Rashakil Fol
0
34
Member Avatar for elfman

Hello, I try to use dual monitor system in my Pascal (Free Pascal exactly) programs. I'm able to use the system, where there is VGA card as primary and the Hercules as secondary graphic card (it starts in text mode, so I can write to the $b000 immediately and it …

0
99
Member Avatar for rcwally

Please help me with the End on this problem. I just can't seem to finish it off properly. I keep getting a parse error on the last End. program ValueParameters (input,output); {Author: Cheryl Wahlheim Class: CS241XP Assignment: User Income and Tax Rate procedure} Var income, taxrate, totaltaxdue : real; response …

Member Avatar for mrmike
0
219
Member Avatar for peachy

I am trying to finish (start) an assignment and I can't get passes what should be a simle parse error. It shows up on the case line of the information function. I have to get rid of it to continue on... and I have tons more to do... Any one …

Member Avatar for rcwally
0
260
Member Avatar for Stoney

There is a problem my professor assigned. It's not suppose to be complicated but I can't grasp the concept. I can grasp it in the english language but if I turn it into Pascal, I have no idea what to do. Here's the problem and what I have created in …

Member Avatar for Stoney
0
122
Member Avatar for Katrix36

Hi all, I'm making a on-screen keyboard, for a group of disabled students. I've managed to complete the keyboard but i'm wanting to have an option to set the level of transparentcy. At the moment the alphablend value (the level at which the form is transparent) is set to 150. …

Member Avatar for pty
0
185
Member Avatar for sui-jin

hello im trying to create a similar to snake game in TMT pascal lite and whenever i have the snake constintly moving but then want to user to enter the direction he wants the snake i cant figure out how to stop the program from pausing while reading the key …

0
53
Member Avatar for Katrix36

Hey all, I've built a database in delphi to store all the films that I own. I've added the ability to print the list out. At the moment when I print the list out it prints the list right up to the edge of the page. The list of films …

0
107
Member Avatar for Katrix36

Hey, I'm trying to create a on-screen keyboard for a group of disabled students at a school. So far i've managed to create the program to type out each letter/number that the user clicks on. This is fine, but I have to state the name of the active window that …

Member Avatar for Katrix36
0
275
Member Avatar for kennethf

I'm coming across a screwy problem that's really bugging me. (No pun intended.) I'm working in Delphi 5. I need to host a couple of forms on a panel. I don't want the forms to display outside of this panel, so naturally I assigned the panel as each form's parent. …

Member Avatar for jwenting
0
203
Member Avatar for jwenting

I'll be visiting the Delphi 2006 launch in the Netherlands on the 29th. First time to meet DavidI and other dignitaries in several years.

Member Avatar for jwenting
0
214
Member Avatar for ktulu

Hi guys, maybe this is easy question for u, but for me its hard one... i wanna make program which will draw a n-angle. for.example...to edit i will put value 10 and i wanna to draw to image an 10angle... i think this have to be done by sin,cos,tan? but …

0
136
Member Avatar for Starlette

can anybody help me !! I have been trying to use OO to write the snake game. But im soooo lost. Does anyone have any source code they could share with me? :lol:

Member Avatar for joe_perry
0
99
Member Avatar for johnpaul

I'm writing a calculator program that receives a string and returns the result (everything in console mode), using Delphi 6. I use a FOR to advance and evaluate the sub-expressions, but the compiler leaves the FOR without reason (I mean that Delphi does not give me any warnings or errors, …

Member Avatar for pty
0
200
Member Avatar for satrix36

Hi all, I'm needing some help on a program that Im making. When the program opens, I need it to detect whether or not a ftp server is online. I need the program to tell the user if the server is off line. Can someone please help me.

Member Avatar for pty
0
120
Member Avatar for SilentGuy

I am trying to make what I thought was a simple game. Here's what it is the user inputs a number and the computer tries to guess the number. This is done by means of less or more using the inputbox. function. This is what I have so far:- procedure …

Member Avatar for pty
0
160
Member Avatar for luCKTOny

I placed an ActiveForm of mine into a HTML page. The ActiveForm have an event to receive Windows message,but it doesn't work in the HTML page. WHY? TKS!

0
68
Member Avatar for spargelsuppe

Hi there, I need help :o ... I have to solve the following task, a person buys goods and everytime the person receives change. The aim is that the person has as few as possible coins in its wallet. The person has an unlimited value of one dollar coins. And …

Member Avatar for pty
0
107
Member Avatar for mrsmole

Im new to Pascal and have to write a program to calculate coinage given as change, ie 1 x20p . I just haven't got a clue how to get Pascal to calculate the coins. Please help ! Im lost :rolleyes: :sad:

Member Avatar for mrsmole
0
304
Member Avatar for chris_anthony23

i am new to the whole pascal programming thing and i was going through this book and came across what seems to be a challengin problem for me at present Could u plz help me out? Here is the problem: Angles are often measured in degrees, minutes and seconds. There …

Member Avatar for mrsmole
0
76
Member Avatar for antypanty

Hey, I've been studying pascal for a while now but still havn't yet learnt how to put a simple line on my console. The code I have is: program test; uses graph; begin line(0,0,10,10); readln; end. When executed just flashes on then off quickly. Thanks :cool:

Member Avatar for abdullah
0
112
Member Avatar for mpx10

hi i need some help with doing screen dumps or print screens in turbo pascal. when i press the print screen button whilst my program is running and then go and paste it in word, powerpoint or paint, all that pastes is the text and boxes i have created but …

Member Avatar for abdullah
0
331
Member Avatar for mmouse

Hi All, I am reading a textfile and ready to import into an access database. The issue that has just arisen of hidden characters in line of text. The file is sent to us by a third party. e.g. Problem_Details: all the objects were all very soft and were split …

Member Avatar for abdullah
0
115
Member Avatar for satrix36

Hi all. I am currently making a program to help a friend with organizing her pictures on her pc. On the program I am needing 2 box that will display 2 different directories on the computer. I can do that using 2 TShellViewList components. How can I enabled the TShellViewLists …

0
74
Member Avatar for satrix36

Hi, I've been asked to created a program for my local video rental shop, that can store the details of the members, videos, dvds etc. On the for were the user adds a member, I am wanting some code that will generate the membership number automaticaly in a edit box. …

Member Avatar for satrix36
0
150
Member Avatar for satrix36

Hi, I've setup a form with several edit boxes and with a button to add the text in the edit boxes to be saved in a file. I've tryed to put a validation check in the program: When the user press' the "Save" button, it checks if the edit boxes …

Member Avatar for mrmike
0
171
Member Avatar for Larsj82

I have been using Turbo Pascal alot since I was in my puberty and have now started off with Delphi 7. It seems like if you want to do graphical programs, you have to make it as windows applications. Is that right? Are there any ways to use graphics as …

0
88
Member Avatar for Turner

Hi I am currently embarking on a project to build a sentry unit of some kind. Basically, I have a webcam and need to access the feed from it in delphi, whilst being able to analyse the image and assess changes in it. If anyone could help me with this …

0
57
Member Avatar for satrix36

I'm needing to select individual character in an edit box. E.g. An edit box contains the word "Alpha". I then press a button and the program then selects the letter "P". Has anyone got any ideas?

0
54
Member Avatar for sanam

Hi I want to use of ADodataset with Quickreport for make report in delphi7 and use of commandtext property of adodataset that send parameter for report . how can i do this ?

0
90
Member Avatar for sbedford

Just wondering if it is possible to do this? I am writing a program for a touchscreen monitor and would like an onscreen keypad. Is there any way to pass a key by pressing a button? For example, I press button '1' on the virtual keypad and I want the …

Member Avatar for sbedford
0
313
Member Avatar for mrmike

I've been creating a small program, thats work fine under windows xp, but fails on windows 2000 pro/server, and also windows 98. I need the software to work on also windows versions, etc 95 and ME. I can't install it as it is a check to ensure that various software …

Member Avatar for mrmike
0
286
Member Avatar for Turner

Hi I'm working on a computing project using delphi, and for the main user screen, I need to get a menu, like that of the popup menu to appear when I move the mouse over a button, or other object. This menu needs to appear to the side of the …

Member Avatar for mrmike
0
120
Member Avatar for gisler

i just started a pascal programming class. so what i am trying to do is write a program that will allow me to change my weight (in stones) to kilograms and change my hight (in inches) to kilograms. i also need to be able to enter my name in. i …

Member Avatar for gisler
0
234
Member Avatar for platinum

Hi everyone! I have this loop which just wont complete. My code is: [I]begin a:=1; repeat b:=1; repeat write('element ', a, ',', b, ' = '); readln(mat[a, b]); b:=b+1; until b>n; a:=a+1; until a>n; end;[/I] a, b and n are all declared as integers. This is used to enter the …

Member Avatar for platinum
0
87
Member Avatar for Aldur

Hi everyone, I have recently started learning Delphi, and use Delphi 2005, I am following a tutorial on making a client server application, however it says this is the code i need to use in the on connect event on my TCP/IP Client Object, however i get an undeclared identifier …

0
66
Member Avatar for neverwinter

Hi, I've a project that makes use of TChart. In my previous machine, it compiles properly. But when I tried compiling it on a new machine with a clean install of Delphi 5, the following error occurred: [Fatal Error] File not found: TeeConst.pas This happens even if you just create …

Member Avatar for neverwinter
0
216
Member Avatar for Tepes

i create an array of panels var bt:array[1..3,1..2] of TPanel; so i go in Form1.FormCreate and i write: for i:=1 to 3 do for j:=1 to 2 do begin bt[i, j]:=TPanel.Create(self); bt[i, j].Parent:=self; bt[i, j].OnCLick:=????????????????????????????????; end; i created a procedure TForm1.press(x,y:integer) what should do the OnClick and i wrote in …

Member Avatar for neverwinter
0
109
Member Avatar for SkWaRa

Hello, I've got a problem with packtes sending. I'd like to send packet that is record like this: [code]TPacket: Record Typ: Integer; Length: Integer; RequestType: Byte; Request: String; // or Array of Char end;[/code] I'm using TidTCPClient to send packets. But When I write: [code]client.WriteBuffer(Packet,SizeOf(Packet));[/code] Client is TidTCPCLient var, and …

0
75
Member Avatar for sbedford

Hi I am currently writing a program where it gets to a point where it has to ask a question. I have created a group box which pops up, asking the question and giving a yes/no choice. the onclick event of the "yes" button sets a bool to true and …

Member Avatar for sbedford
0
385
Member Avatar for satrix36

I have recently made a program that stores peoples names, address, etc in a text file. On one of the forms, I want there to be a search option, so the user can search by name and then the persons address is displayed. Like a search engine in a database. …

Member Avatar for satrix36
0
353
Member Avatar for Zababa

Hello, guys, and thank you in advance! I am trying to make the program stop running for six seconds. I don't know, however, how to use the system clock. The code I came up with is something like this: PROGRAM TIMER; VAR LINE:STRING; X, S:INTEGER; BEGIN REPEAT WRITE ('TYPE ANYTHING …

Member Avatar for Zababa
0
385
Member Avatar for Shulc

This question is not specific, i have recently registered to the forum (just because theres the delphi section) and i dont see many threads nor answers.. Just anxious if this forum is alive, Thnx, and sorry to bug you. ;)

Member Avatar for jwenting
0
116
Member Avatar for ssmagin

Greetings, We have recently released our new component for Delphi and C++ Builder that allows end-users to build SQL queries visually. Of course, we understand that we are not the first guys who make such a component, but our component differs from other query building solutions in the ability to …

0
86
Member Avatar for Turbo_King

Hi, I have been programming in Delphi for years now and I'm currently without a project worthy of my attention. If anyone has a need of my help or is also looking for a project to join please email me [email]gj_williams2000@yahoo.co.uk[/email] and let me know. Anything considered. I am also …

Member Avatar for brucesenator
0
156

The End.