2,103 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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". … | |
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 … | |
اHello i am new member , i like to learning pascal , i want lessons pascal with video . Thanks. | |
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. | |
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 … | |
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, … | |
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: … | |
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 … | |
i have made a quiz using exelearning mozilla firefox and want to show it in Delphi. how do i do it??? Thanks | |
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 … | |
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 … | |
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; … | |
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? … | |
I want to create a function or procedure to compute the sin formula using taylor method. can you help me pls thnx | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
: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 … | |
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 … | |
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): … ![]() | |
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 … | |
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: … | |
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:?: | |
: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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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...) … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
Hi, I have a list view and i want to show dates from 2 tables from my database. How I do? Helpp. | |
[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] | |
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 … | |
Hi, does anyone know how you can make lazarus delete files, for example: if they click a button a file gets deleted? |
The End.