1,899 Topics

Member Avatar for
Member Avatar for jayali

I have receive from my friend a project.exe (application console) made from delphi. I want to know how can i open it with delphi to edit the codes.

Member Avatar for jsosnowski
0
100
Member Avatar for Blkfxx

Please help, got this code below that i need to add to a program im making and for some reason i cant work out why it doesnt work. [code] program dbase1; uses Crt; const fileName = 'C:\TEMP\NAMES.TXT'; maxRecords = 100; var name : array [1..maxRecords] of String; address : array …

Member Avatar for Stib08
0
167
Member Avatar for gh0sts416

I Was Just Wondering is Ther Anyway At All To Reproduce A VB Step Increment in Delphi. VB Example: for i = 0 to 100 step 10 Delphi: ??? Any Help Would Be A Blessing Thanks, gh0sts :)

Member Avatar for jsosnowski
0
482
Member Avatar for turbomen

I have designed an age calculator which given a person's age, works out given a person's age, works out how many days they have lived for, and how many hours they have lived for. My answer: var age, month, day, hour: integer; begin writeln ('How old are you?'); readln (age); …

Member Avatar for FlamingClaw
0
183
Member Avatar for BorlandNoob

I am trying to count a few different types of characters in a string and I am running into a few problems. I need to be able to count the vowels and blanks/spaces and then just everything esle and I am having problem with the everything else(by everything else i …

Member Avatar for m610
0
95
Member Avatar for turbomen

To design a program that works out the powers of numbers. For example 3^5 = 3*3*3*3*3 = 243 2^3 = 2*2*2 = 8 Please help me again?

Member Avatar for m610
0
89
Member Avatar for turbomen

I need to write a program that asks a user for their new password, to check that they have entered it correctly they must verify it by entering it again. If the two passwords matach then you accept the change and tell the user that they have been successful on …

Member Avatar for FlamingClaw
0
88
Member Avatar for turbomen

Question: I am to write a comparison program that outputs true mathematical statements. Ask the user for two numbers, and then output one of the following statements number1>number2 number1<number2 or number1=number2 The user must also be able to keep running the program with different numbers, when they have finished running …

Member Avatar for FlamingClaw
0
83
Member Avatar for turbomen

A positive integer is entered from the keyboard. If it's even, all even integers from 2 up to and includng the entered integer are displayed. If odd, all odd integers from 1 up to and including the entered integer are summed, and the sum displayed. Please help me again.

Member Avatar for FlamingClaw
0
88
Member Avatar for killhha

so i have this animation (yes i know its very long): [code=animation] begin; {main program starts} clrscr; {clears screen of any text} textcolor(9); {turns the text blue for the logo animation} writeln('MMMMMMMMMMMM MMMMMMMMMMMMM'); {logo animation starts} delay(logo); writeln('MMMMMMMMM MMMMMMMMMM'); delay(logo); writeln('MMMMMMM MMMMMMMM'); delay(logo); writeln('MMMMM8 ..MMMMMM'); delay(logo); writeln('MMMM. MMMMM'); delay(logo); writeln('MMM, …

Member Avatar for FlamingClaw
0
1K
Member Avatar for m610

I've got a project where I need to draw a a series of bitmaps then save each as a frame in an AVI video, but the drawing process takes too long to reliably do this at the frame rates I want the video to have (25-30 fps). I've seen and …

0
54
Member Avatar for anandkrishnantc

I want to display a multiline text with certain font size. How to determine the font size in windows? How to convert it into point size? I want to print next line very close to the first line ., means the gap should be minimum. I have x, y co …

Member Avatar for m610
0
189
Member Avatar for turbomen

A given year is a leap year if it is divisible by 4. However there are a few exceptions to this rule, if any of these years are divisible by 100 they are not leap years unless they are also divisible by 400 - so 1990 is not a leap …

Member Avatar for FlamingClaw
0
86
Member Avatar for turbomen

I have got a question which come together with my answer but I found that it does not too match with the question. Can you help me to make it changes? Question: A letter of the alphabet is to be input from the keyboard, and a message output as to …

Member Avatar for FlamingClaw
0
99
Member Avatar for Frizeris

Can anyone provide me with an example how to create a program using Delphi that randomizes and shows 2 words out of 78 with a click of a button? The words are: [CODE] Afghanistan Albania Argentina Australia Ausria Blegium Bhutan Bolivia Brazil Bulgaria Canada Chile Colombia Communist_China Costa_Rica Cuba Czechoslovakia …

Member Avatar for pritaeas
0
76
Member Avatar for satrix36

Hi everyone, I'm making yet another program, and i am needing a login screen. The first form has 2 edit boxes and 2 buttons. The cancel button closes the program, the login button checks the username password if there correct or not. I have written the code for the login …

Member Avatar for malditcha87
0
537
Member Avatar for m610

I'm having a little trouble shutting down a thread that might or might not be executing when the program closes. The thread, actually there are two of them, is started in an OnTimer event, and in OnDestroy I stop the timers then I want to close the threads. The thread …

Member Avatar for m610
0
321
Member Avatar for anandkrishnantc

Hello, I am new to delphi. I have a problem. I have a string which can be of any length. Sometimes with delimiter characters for printing in new line. Now I need to distinguish whether the received string is a number (both -ve and +ve) or any other alpha numeric …

Member Avatar for anandkrishnantc
0
175
Member Avatar for delphi89

-------------------------------------------------------------------------- Hi people. I have a little problem. How can I use bluetooth libs with Delphi 7 or where I can download them (if they exist)? -------------------------------------------------------------------------- Please help me.... :cheesy:

Member Avatar for bluedevices
0
240
Member Avatar for turbomen

Please help me again. I have 2 questions in this time. Question 1. Write a program that asks for a start and stop letter and then produces the following: Question one: This time create an array of 7 numbers. Fill each slot with a randomly generated number between 1 and …

Member Avatar for FlamingClaw
0
180
Member Avatar for killhha

im making a program and when you select exit in the menu i want it to be like: Are you sure you want to exit? Yes No Enter Esc so when you press enter it will exit and when u press esc it will go back to the menu. everything …

Member Avatar for killhha
0
277
Member Avatar for m610

I've got a lot of text to display in an app I am working on. I know that this eats of resources so I'd like to put them somewhere else, like maybe a file that I stuff into the resource file, if that is possible. Also, I'm thinking to the …

Member Avatar for jsosnowski
0
156
Member Avatar for yssirhc

I've stored an array in an html hidden input and now need to transfer that array to my delphi function. I've tried: [code=delphi] var fileArray : array of string; fileArray := formvar('fileArray', ''); [/code] but this gives an incompatible types error when I compile. How can I convert the string …

Member Avatar for yssirhc
0
4K
Member Avatar for killhha

i am trying to use an if statement which will say some thing if points is greater than or equal to 15 AND less than 20. like this: [code] if points >= 15 and < 20 then writeln('Nice!'); [/code] but this code doesnt work. how would i do it?

Member Avatar for FlamingClaw
0
154
Member Avatar for turbomen

To create a game of Heads or Tails against the computer. Write a program that asks the user for Heads or Tails, then simulates a toss of a coin and then tells the user whether they have guessed correctly. DISPLAY a title for the program Issue the statement that stops …

Member Avatar for FlamingClaw
0
666
Member Avatar for Nanor

I'm learning Pascal in school. I've come across a run time error that's been eluding me these past few days. The error message I get is: [QUOTE]ERROR: line 86, access made to undefined variable[/QUOTE] I've been searching t'internet for a while trying to find out some help, alas Pascal as …

Member Avatar for Nanor
0
206
Member Avatar for killhha

is it possible to end actions that are happening? example: [code=pascal] repeat writeln('example'); until c=1; {the c is an example. im asking if it would be possible to change c to something like 'until readkey'} [/code] readkey doesnt work. i hope you can understand what im tring to ask here. …

Member Avatar for FlamingClaw
0
250
Member Avatar for killhha

the program im trying to make will select a random movie from a list of movies and tell the user which 1 he should watch. first the program will ask how many movies there are. it will then ask for the titles of each movie and then it will output …

Member Avatar for killhha
0
180
Member Avatar for ~s.o.s~

Hello to alll programmers out there. Here i am trying to design a custom pascal triangle where the user can specify the TOP ELEMENT as well as both the CORNER elements. The problem i am facing is that the prog works well till the 3rd row but starts giving rubbish …

Member Avatar for creeping death
0
724
Member Avatar for SaitrixMarsden

Below is a procedure that gathers all the contacts email address and puts them into a new email window of Outlook. The procedure works fin but the companies Outlook is set so that the user is only allowed to enter 99 email address per email window. I am struggling to …

0
34

The End.