1,899 Topics

Member Avatar for
Member Avatar for JamesX4334

Hello, I am a first year computing AS student coding a petrol pump program. You can see the specification [URL="http://pascalproject.wordpress.com/2008/01/31/project-specification/"]here[/URL]. I am a little stuck and I was wondering if anyone could point me in the right direction. I have coded a seven segment display using arrays, procedures, write lines …

Member Avatar for JamesX4334
0
146
Member Avatar for urosv

Hi all... I have a problem and need to get your point of view regarding card game. 1. I need to build some kind of animation on event to flip playing card from back side to front and vice versa when needed. My idea is to assign picture to Timage …

0
45
Member Avatar for sony112

can some1 help me on petes petrol pump in delphi please just a little problem

0
65
Member Avatar for sony112

if you have completed the petes petrol pump in delphi can u email me i need some help asap

0
89
Member Avatar for RoryGren

Hi all I'm self taught and relatively new to programming and have been battling with a TDBGrid's onMouseDown event in Delphi 7. Hopefully I'm missing something small and you masters out there will be able to enlighten me! I have a TVirtualStringGrid and TDBGrid on my form. I want to …

Member Avatar for RoryGren
0
2K
Member Avatar for EnderX

If this is in the wrong place, I apologize. I use ShellExecute only in Delphi, but I am aware that it may not be properly considered part of the language. I have a program that is supposed to generate a .csv file for an output report. However, my boss wants …

Member Avatar for Aborad
0
296
Member Avatar for sura17

This Is My Code:- [code] Begin gotoxy(31,1); write('Peters Petrol Pump'); gotoxy(31,2); write('=================='); gotoxy(0,4); write('Welcome To Peters Petrol Pump...Here Are Your Options:-'); gotoxy(5,6); write('1. Console'); gotoxy(5,7); write('2. Petrol Pump'); gotoxy(5,8); write('3. Exit'); gotoxy(0,10); write('Please Select An Option...'); read(StartingAnswer); if StartingAnswer =1 then Begin clrscr; gotoxy(30,11); write('Under Construction'); repeat gotoxy(30,12); write('Press Enter …

Member Avatar for sura17
0
85
Member Avatar for manutd4life230

hi program to ask the user a username and a password if pass and username good display OK else clear screen and reask the user for username and password again. this will continue until good username and password entred. using while loops thanks in advanced

Member Avatar for Duoas
0
118
Member Avatar for matabor

Hi guys :) I've just learn programming in turbo pascal, and my teacher made an assignment to make pyramid of numbers as this: [code] 1 1 2 1 2 3 3 2 1 2 1 1 [/code] so far i've only come up as this: [code] uses crt; var i,j,k …

Member Avatar for Duoas
0
358
Member Avatar for Cobus Steyn

Hi everyone I have a simple yet annoying problem. I'm trying to change the selected color in a stringgrid, ie when selecting a cell the background must change color. The grid has no fixed rows or columns and only one column (like a simple list editor). I've overridden ondrawcell for …

Member Avatar for Cobus Steyn
0
162
Member Avatar for vectra17

Is it possible for an imported COM DLL server to be seen as an object in the 'TOOLS PALETTE' ? Thanks.

Member Avatar for vectra17
0
74
Member Avatar for Olsi009

Hi again, this is a simple programme that I can't make work :S in turbo pascal. [COLOR="Green"]Write a program to create a new list and then display it through a Recursive Procedure ( and use 'p' as a local variable).[/COLOR] This is what I could do but considering I hate …

Member Avatar for brijkiran
0
202
Member Avatar for sura17

well i have set two tasks firstly create the seven segement display and do some sort of timer with the 7 segment display, i have done the seven segment display and here it is:- [CODE] Program SevenSegmentDisplayConverter; Uses Wincrt; var Line1 : string; Line2 : string; Line3 : string; x …

Member Avatar for sura17
0
136
Member Avatar for sony112

Can somebody help me make a 7 segment display please i need help i tried it but failed can some1 help me please send it me or just tell me a site where i can get it from

Member Avatar for sura17
0
90
Member Avatar for fgn89

How do I make it show text? I'm completely new to this, my dad's wanting me to make this customer display screen show text, which on paper should be easy.. It's a WD-202 model, pretty common customer display pole, I've called a friend for help and he told me to …

Member Avatar for Duoas
0
596
Member Avatar for afro007
Member Avatar for afarr

I want to fill a matrix randomly with True and False. The code below does produce a matrix where the proportion of True is roughly p, but all the Trues are at the beginning, and all the False at the end (so it looks like it generates the same random …

Member Avatar for MarioV
0
735
Member Avatar for EnderX

I'm working on a program designed to draw numeric summary information out of a database. The user can select four criteria via dropdown combo boxes, and the information is displayed in a string grid (TStringGrid component). A second string grid component is used to hold the highest-level division of the …

0
51
Member Avatar for marlow08

I don't know why the next program doesn't find an element of the array. [CODE=delphi] program rec; {$APPTYPE CONSOLE} uses SysUtils; procedure intarray(a:array of integer;longar:integer); begin if longar>=0 then begin write(a[longar],' '); intarray(a,longar-1); end; end; procedure exist (a:array of integer;num2,longar:integer;found:integer); begin if longar>1 then begin if a[longar]=num2 then found:=1 else …

Member Avatar for Duoas
0
72
Member Avatar for doniking

Hello, How does my application know when another application window has lost its focus. I want my aplication can track if the active window has changed. Please paste some code about using shell hooks and HSHELL_WINDOWACTIVATED or without hooks to do this task. Thanks!

Member Avatar for Duoas
0
73
Member Avatar for afro007

I am working on a school project, I need to do a keystroke to simulate filling car with petrol. There is two program I have done below but none of them work. I use Borland developer studio 2006 (Delphi Pascal) and does anyone know how to clear the screen in …

Member Avatar for Duoas
0
140
Member Avatar for Delphic

Hi, We are having problems with files FTP'ed and renamed around the various locations. JPGs can't be viewed, Exe's don't run. It seems to be something to do with the ownership of the files. The offending files have an owner of "Administrators" or else blank. TIA Mark

Member Avatar for Duoas
0
79
Member Avatar for Lynxus

I have a Petrol Pump system that runs a timer that simulates the litres that run and the display shows the images inserting into an image box. Then the Price at current is the litres * the set price per litre. Thats where the problem is because I can't get …

Member Avatar for Duoas
0
294
Member Avatar for shadowrider

want to know the coding of h ow to define connection of SQL database wid deplhi so that i can insert data in database

Member Avatar for ExplainThat
0
115
Member Avatar for bob on whidbey

I've created a playing card descendent of TCustomControl and I want it to have rounded corners. The card is displayed in a Paint procedure where I determine the bitmap and then use a Canvas.Draw(0, 0, FCardBMP); This approach works well except - no rounded corners. Setting FCardBMP.Transparent := true; doesn't …

Member Avatar for Duoas
0
146
Member Avatar for python_dev

Hi, I am using Delphi 7 personal along with Indy 10. I have a program that uploads a 7 mb .dat file to a remote server thru ftp. I have my code wrapped into a try/except but for some reason and at some point, the transfer fails, and i get …

Member Avatar for python_dev
0
132
Member Avatar for glindhot

[code]program pics; var N : integer; OutString : string; begin for N := 1 to 6 do begin Str(2*N, OutString); writeln('image'+ OutString) end end.[/code] That is the code I've got and here is its output: image2 image4 image6 image8 image10 image12 but here is the output format that I want: …

Member Avatar for glindhot
0
279
Member Avatar for n_mehdi

i am seeking for an answer to fix my unit graph problems basically when i try to use it this error pops up BGI error: Graphics not initialized (use InintGraph) the funny thing though is that this unit works fine sometimes soooo your answers will be appriciated thanks

Member Avatar for Duoas
0
87
Member Avatar for marcofa

First of all please visit [url]www.flightemotion.com/prod01.html[/url] to know what we are speaking. We have finishe to develop the system BUT our software partner fail because health problems. We have now only manual software to move the motors. We have also some work done until now in Delphi and c++. We …

Member Avatar for marcofa
0
97
Member Avatar for QB_Pete

I’m trying to find out if either VB6 or Delphi could be used to make a simple dialer for Windows XP. A dialer my friend made in VB5 works on NT, but not on XP. By a simple dialer, I mean one that I can use to read a single …

Member Avatar for mrmink
0
167

The End.