2,103 Topics

Member Avatar for
Member Avatar for adotl

Im failing to see what Ive done wrong, the syntax is right but the program wont run for me when I enter in a the else statement works tho.... [code]program Word (input, output); uses crt; var number : integer; letter: string; begin {------------Introduction & Setup------------------} clrscr; {------VERY User-Friendly------} Repeat writeln('Whats …

Member Avatar for adotl
0
306
Member Avatar for adotl

I was doing some coding today and came across a problem someone else faced and I couldnt answer it for them. I'll explain the concept in the little program below.... [code] Program between; uses crt; Var value: integer; Begin clrscr; writeln('Please enter value'); readln(value); readln End.[/code] ...Basically what the programmer …

Member Avatar for adotl
0
122
Member Avatar for adotl

So far as you can see below Ive got the program accessing the file and just reading the lines; Ive got the file set up like so... What is the Answers? A Do this B Do that C Dont do that D Definitely this A So this method is set …

Member Avatar for adotl
0
855
Member Avatar for oglop44

I've written this program which at the mo only has two buttons. One to exit the program and the other to open a report from an external Microsoft Access database file. I'm getting this error message: [B][U]Debugger Exception Notification[/U] - Project Project1.exe raised exception class EOleSysError with message "Operation Unavailable". …

Member Avatar for radu84
0
379
Member Avatar for rollingstones

Guys I have to subit my lab record tommorow.....i just have some programs left which iam not able to do.:'( 1. Write a program to print the pascal triangle 2. Write a program to concatenate two strings without using teh library functions, by pointers 3. WAP to compare two strings …

Member Avatar for rollingstones
0
127
Member Avatar for osama_b

اHello i am new member , i like to learning pascal , i want lessons pascal with video . Thanks.

Member Avatar for radu84
0
66
Member Avatar for nemo240588

is this command not correct? [code]richedit1.text.ClearSelection;[/code] i tried to use it in an onclick event procedure, but i got an error.

Member Avatar for radu84
0
63
Member Avatar for Passing_Gear

Hi there everyone. I'm wanting to make a simple Snake game where the speed of a block (image) goes around by pressing up, down, left and right. I would also like it to go faster every 10 seconds so it gets harder as time progresses. Here is the code I …

0
73
Member Avatar for onsir

in Main Report I have make formula by the name of @a, then in sub of report I make formula by the name of @b. then I wish to make new in main report with the name @c. where value of formul @c is @a-@b. but formula @b in subreport, …

Member Avatar for radu84
0
55
Member Avatar for fatboysudsy

Hi all, Am fairly new to the programming world, but am kind of struggling along. I have written a piece of code for a client program with has given me some errors that i just can't see when compiling. The errors listed are : client.c: In function `main': client.c:118: error: …

Member Avatar for WaltP
0
98
Member Avatar for addicted

hey, its me again, i was thinking of asking you this questions since.... I study C++ by myself without any tutor apart from the help i get here... although i understand everything i read... and i solve most of the exercises easily .. except few... i don't know.. is this …

Member Avatar for mariocatch
0
120
Member Avatar for x00chupej

i have made a quiz using exelearning mozilla firefox and want to show it in Delphi. how do i do it??? Thanks

Member Avatar for radu84
0
67
Member Avatar for chickenmcnugget

I Need Help With This Program The Obejct Is Well Write A Sentence In An Input File And Have The Program Ouput It To The Output Text Or .txt And I Have The Code Written And Everything But Im Getting Some Stupid Errors And Its Written On Console Application I …

Member Avatar for chickenmcnugget
0
174
Member Avatar for sez90

hey im in yr12 and trying to do an assignment anyway i want to b able to press a radio button and for saved words to load from a file its a hangman game im just unsure how to how to load the words from file when clicking the radio …

Member Avatar for radu84
0
147
Member Avatar for sez90

hey umm ok this is wat i've got now for loading words from a file but it still doesn't work can u help? type Words = record easywords: string [20]; mediumwords: string [20]; difficultwords: string [20]; end; var WordFile: file of words; procedure TLevelForm.EasyBtnClick(Sender: TObject); var Easywords: string; Wordfile: string; …

Member Avatar for radu84
0
79
Member Avatar for x00chupej

i am totally new to this. i have just made an application on Delphi, but now need to know how i am going to send it to my clients. do i just give them a copy of my files on a CD, and then they access it by opening them? …

Member Avatar for radu84
0
46
Member Avatar for lor

I want to create a function or procedure to compute the sin formula using taylor method. can you help me pls thnx

Member Avatar for radu84
0
91
Member Avatar for cd_2007

I think I have to formulate my previous thread more precise : It is easy to get access to the database components when you use c# in delphi 2005 personal : In the section tool palette there is a button called "data components". When you push this button, you can …

Member Avatar for radu84
0
78
Member Avatar for cd_2007

Does anybody know how to work with database components in Delphi 2005 Personal ? As far as I can tell by now, database components are supported in the c# part of the IDE only. I established a connection to mySQL 5 with the no - component - library mySQL direct …

0
56
Member Avatar for Phily

I would like to write a programme that can demonstrate how gravity work by showing bouncing balls on the screen- the idea is that the user can set the strength of the gravity, and then see how the balls react and bounce differently depending on how strong gravity is. I …

Member Avatar for Phily
0
107
Member Avatar for Tapan Sinha

Hi, We have our application in Delphi but in one of our client machine using Windows XP SP2, the fonts are overlapping and table columns are getting shrink. Is this a font issues or operating system issue. Thanks in advance. Tapan Project Coordinator [email]tapan.sinha@bossintl.com[/email]

Member Avatar for radu84
0
115
Member Avatar for cigar

Hi. I'm new here. I'm doing a lotto program. I have this difficilty that I want to display a title before the numbers are displayed. The numbers are all displayed by the computer using randimize. Above you can see the part of program i've done. Where should i put the …

Member Avatar for radu84
0
153
Member Avatar for Dallos

Hi im trying to write a program that sorts an array in alphabetical order and then into phone book order, Eg input: Jane Pascal 364756 Bob Smith 364758 Joe Bloggs 253647 The output should be: Bloggs, Joe 253647 Pascal, Jane 364756 Smith, Bob 364758 The plan is to have each …

Member Avatar for titaniumdecoy
0
70
Member Avatar for Romillywinter

:lol: What the procedure/function for working out the biggest/smallest result? This is the program i am trying to do..and i am supposed to show the user the highest student mark, and the lowest student mark, but i don't know how to.........argh!" Please Help!:eek: [code]program ftn_marks; {$APPTYPE CONSOLE} uses SysUtils; const …

Member Avatar for cuzintone
0
229
Member Avatar for jrjchapman

Hello. I;m new to the site and need some help with Pascal. Basically I'm creating a program in Turbo Pascal for Windows at college and have searched the net for some code to insert bitmaps but can't find any. If someone could paste a simple bit of code showing me …

Member Avatar for radu84
0
103
Member Avatar for Peter Kiers

Hi everybody, I have this procedure for launching an application and wait for it to finish, but I get an error: [code] [Error] Main.pas(57): Types of actual and formal var parameters must be identical [/code] What do I do wrong? Who can help me? [code] function WinExecAndWait32(FileName: string; Visibility: integer): …

Member Avatar for Micheus
0
613
Member Avatar for georgep

Considering the Shadow Copy option available starting from Windows Vista Ultimate/Business/Enterprise, all files on the disk drive have a copy in Shadow Copies. How can we remove the System Restore copy of a file from the disk drive, using the Volume Shadow Copy Service, and ensure this System Restore copy …

0
60
Member Avatar for Oilers

program SRP_GAME(input,output); const s1='Player one win!'; s2='Player two win!'; s3='No winner.'; var p1,p2:integer; procedure init(var x:integer); var t:char; begin readln(t); case t of 'S': x:=1; 'R': x:=2; 'P': x:=3; end; end; begin write('Player one: '); init(p1); write('Player two: '); init(p2); case p1-p2 of -2: writeln(s1); -1: writeln(s2); 0: writeln(s3); 1: …

Member Avatar for radu84
0
57
Member Avatar for Squigglyo

I have code that involves the user to copy some text, but i i need my program to now read the temporary text they have copied. Some help please:?:

Member Avatar for radu84
0
47
Member Avatar for Romillywinter
Member Avatar for Romillywinter

:eek: hi, Im new here, anyway i'm trying to work out how to get the smallest number from the user's input of four numbers, n1,n2,n3, and n4.. im a novice @ this so i'll copy the section of the program here and you can see whats going wrong with it..i …

Member Avatar for Romillywinter
0
88
Member Avatar for linux

I just started Delphi and wanted to toy around with some of the features of it, so I started to. I made a TRichEdit box on Form1. If I run the application and try to type in the textbox, nothing appears, the cursor keeps blinking, as if I did nothing …

Member Avatar for radu84
0
144
Member Avatar for Simona1987

Hello, I have quite big problem as I have to count elements in the queue and no procedure or function, which i wrote, does this. I would be grateful if anyone could help me with this. Also I have another problem. The program for working with the queue generates only …

Member Avatar for radu84
0
89
Member Avatar for Carson89

Ok, so im just finishing a media player program which works to an extent. Now, the problem im having is that i need to load a new file into the media player component and play it, after a previous song has finished playing. To acomplish this, i have written a …

0
73
Member Avatar for stringgader

hi, nu member hir, just hav some question regarding this output: [code] 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 [/code] numbers that are alligned with 1 are 3 5 7 9 1 3 5 7 9 these are the middle numbers... does anybody know how to do …

Member Avatar for stringgader
0
297
Member Avatar for Wavanova

I could show code, but there be no point here. All I wish to know is, when someone types a certain string in, can i make the program start a download when they press enter after the typing? something like this- [all var's are already declared] [f3 = what they …

Member Avatar for jwenting
0
136
Member Avatar for linux

Hey! I have a few questions about Delphi... Is there a free compiler / interpretter for Delphi (if any, which) and / or an IDE? Is Delphi easy to learn, or hard? I mean, I know plenty of languages (C, C++, Java, Perl [some], HTML, Javascript, Ruby, VB6 [woot], Python...) …

Member Avatar for jwenting
0
238
Member Avatar for exotic_ang

[B]No one seemed to help me out with my other question :sad: so was wondering if you can help me with this one. I want to validate a date so that the user is only allowed to enter a correct date. I have no idea how I could do it …

Member Avatar for linux
0
219
Member Avatar for JJarvis

Hey, I'm really new to programming and I was wondering how you open a form after pressing a button. Such as, there is a button saying "Start", which, once clicked opens up a guessing game. I know it's probably a one line code but I can't find it anywhere on …

Member Avatar for linux
0
199
Member Avatar for Carson89

Hi there, Im writing a program that reads ID3 tag information of songs in a given directory and then creates corresponding folders for that Song. (Ie the folder is called the ID3 artist's name). The song is then renamed and placed into the new folder. However, i have come across …

Member Avatar for linux
0
135
Member Avatar for i8Spooky

Hello I'm just a hobby Turbo Delphist. I'm sure this is one line of code simple to you, but I've tried everything :o and can't find it. I want to add the text from 5 edit boxes [tex][TEdit][/tex] to 1 edit box. Can you help me? Be an OnClick Button …

Member Avatar for linux
0
384
Member Avatar for Laiq Ahmed

I want to generate the following pattern using for() loop only.... how can i do this i've tried but unfortunately failed to solve .... when user inputs 3 [COLOR=#008000]1 1 1 1 1 1 2 2 2 1 1 2 3 2 1 1 2 2 2 1 1 1 …

Member Avatar for Laiq Ahmed
-1
116
Member Avatar for edouard89

First of I would like to say hi to everyone as I am new to this forum. My problem is this. Can I some how use the [ENTER] key instead of the [TAB] key to skip from field to field? Any help would be greatly apreciated. Thank you.

Member Avatar for radu84
0
103
Member Avatar for Peter Kiers

Hello everybody, I have found a code for selecting text from a canvas. The code works fine, only there are 2 features in it that I don't want. And that's the Shift and Ctrl-functions. For example: when the user holds down the Shift-button he can select multiple area's etc... Can …

Member Avatar for radu84
0
138
Member Avatar for FlamingBlade

Good day to everybody, new member here! :cheesy: Using: Delphi 7 with Database Desktop I've made my tables in Database Desktop, and as soon as I tried seting up Referential Integrity, it did not let me save, which stops me from progressing any further in my project. As soon as …

Member Avatar for jwenting
0
135
Member Avatar for SoulDaddy

Hello, i am trying to make a CustomCheckListBox but i cant seem to get it to display my items the box itself creats fine and all the rest seems fine but it wont display my items any help on this matter would be greatly apreciated Thanks. here most of the …

Member Avatar for linux
0
420
Member Avatar for dragoshstoica

Hi, I have a list view and i want to show dates from 2 tables from my database. How I do? Helpp.

0
82
Member Avatar for Berniceazzopard

[B]Hi[/B] [B]I need printscreens of .exe and the it not returning a copy of the screen but its returning the characters in the screen. What s the problem?[/B] [B]Urgent Help pls[/B] [B]Thanks Loads[/B] [B]Bernice[/B]

Member Avatar for radu84
0
98
Member Avatar for dragoshstoica

Hi . I have this problem and I hope u will help me. I use DISQLite3 Personal_1.3.4 for tables and I have to verify if a code is in database and to show automatically a title from the database that coincide with that code . I was able when i …

Member Avatar for JJarvis
0
105
Member Avatar for JJarvis

Hi, does anyone know how you can make lazarus delete files, for example: if they click a button a file gets deleted?

Member Avatar for radu84
0
68

The End.