1,899 Topics

Member Avatar for
Member Avatar for SkyCross

Hello Experts, I just wanna know how to display prime numbers in TListBox, If I put 10 in EditBox then it would display all the possible numbers fom 1 to 10,and will display to its according listbox.The even numbers in even_listbox, if prime it will display in prime_listbox and if …

Member Avatar for SalmiSoft
0
915
Member Avatar for Sheryl_1

I need to count the number of lines in a string (an address block). I think the easist thing to look for is a line feed character. So is there a way to count the number of line feed characters in a string? Any help would be appreciated!

Member Avatar for SalmiSoft
0
216
Member Avatar for Mya:)

When the user's mouse pointer touch a button I want a message to appear telling the user what that button's function is. Wich function do I use? Thanks

Member Avatar for Mya:)
0
376
Member Avatar for finalist

Anyone know how to avoid this error - message on compiling my program using Delphi XE5: Undeclared identifier: 'DateSeparator' When I compile the same program using Delphi XE, it is OK, without any errors. I have declared: uses SysUtils ....;

Member Avatar for finalist
0
517
Member Avatar for Mya:)

Hey Guys! I want some idea for a program i can write on Delphi. My brain is drained out :/.... Just something to do in my free time. Thanks!

Member Avatar for Mya:)
0
351
Member Avatar for Mya:)

I have to do a project on geotechs, and I need at least 3 forms, but how do you make it go from one form to another?

Member Avatar for Mya:)
0
5K
Member Avatar for MasterHacker110

Hello, I have this program that will check and see if the email address the user entered contains valid characters and the @ and . character. The only problem is that my program isn't working... When I enter a valid email address it says it is invalid, when I enter …

Member Avatar for Mya:)
0
5K
Member Avatar for cristianvasuica

hi there. Could you please help me out? I am a student and I started to learn Delphi to build an application for semestre exam.It is about students evidence. So I have downloaded Delphi from Embarcadero site and I`ve started reading the help manual..I want to use MS SQL Server …

Member Avatar for Mya:)
0
281
Member Avatar for William Darrah

My main application has a datamodule containing a TSQLConnection component. When I call a package from this application and try to create a transaction (StartTransaction(TD)) from within the .bpl, I receive an Access Violation. I am able to open a TSQLQuery from within the bpl to that same TSQLConnection, but …

Member Avatar for William Darrah
0
153
Member Avatar for Andriy_1

Hello. can You help me with my program. I have to enter two lines from the keyboard, and in the third line program must write the same words from the first two lines. I also can use standart Pascal functions. But in this code I use my own function and …

Member Avatar for SalmiSoft
0
236
Member Avatar for amanda.hearon

So basically I was supposed to take my prior lab which read a text file that had the hours and wage: 15 10 50 15 30 10 I needed to add the name to my text file Doe Jane 15 10 Doe John 50 15 Doe Joe 30 10 My …

Member Avatar for amanda.hearon
0
272
Member Avatar for schroaus

I am currently having problems with a console application in delphi. I start playing a song as soon as the program starts using the sndPlaySound function. But, later in the program I use sleep() to improve the aesthetics of the program. When I do this my sound stops playing. Is …

Member Avatar for SalmiSoft
0
225
Member Avatar for schroaus
Member Avatar for Michael_22

I need to turn ON and OFF the built in camera LED FLASHER on a Windows 8 tablet. This is bascially the same as a common FLASHLIGHT APP on a cell phone. I need to make this work within a Delphi 2010 VCL application and all I can find is …

0
348
Member Avatar for MasterHacker110

I have searched everywhere for Borland Delphi 7 but I cant find it anywhere. I used it a while ago when I got it as part of my programmer courses but I lost all the data on my harddrive. I have looked on Borlands main website but I was unable …

Member Avatar for dausmus
0
4K
Member Avatar for MasterHacker110

Hello, I am trying to write this program in Delphi that calculates the amount of change required to make a certain amount. The user enter a number between 1 and 200. The program then calculates the amount of 100, 50, 20, 10, 5, 2, 1 bils required. But there is …

Member Avatar for MasterHacker110
0
257
Member Avatar for killbarnaby

Develope an algorithm that will accept and allocates the fund for the differenct state activities for America's 50th celebration. The algorithm should accept and store the actual dollar value that will be allocated to the parishes.Noo more than 14 states should be accepted.The algorithm should also determine the number of …

Member Avatar for Schol-R-LEA
0
133
Member Avatar for Gà_1

These programs are not perfect and very coarcenes but I think it understandable for who are new to learning Graph Theory. I will point directly each problem by using example code. Any questions or idea please post here. Thank you. Here are my programs, we will start with a basic …

Member Avatar for SalmiSoft
2
398
Member Avatar for ww000

I've done with the process read function and i'm stuck at this task.After some hours of searching on the web i found nothing about this.The question is .. how to extract the ascii strings from buffer? if (ReadProcessMemory(hProcess, Ptr(baseAddr), buffer, mbi.RegionSize, bytesRead)) then //get string from buffer

Member Avatar for SalmiSoft
0
115
Member Avatar for schroaus

I have recently started programming in delphi, after programming in VB. Does anyone know if there is anything similar to vbtab in delphi? If not is there anyway that I can create a constant that works similar to vbtab?

Member Avatar for pritaeas
0
156
Member Avatar for Delano_1

Hello everyone, I am extremely confused and I have no idea how to fix this: When I compile the program I get this message :Error:Incompatible Types:got "SHORTSTRING" expected "CHAR" Here's the section of the program that's giving me issues: IF selection=3 then Begin Writeln('Welcome to option 3'); Writeln('The winners for …

Member Avatar for Delano_1
0
490
Member Avatar for tuisan

I need help with a program for school. I am a very novice pascal programmer. I need to allow the person using the program to add a record and then search for it and view it. Currently, whenever I add a record via the program and try to search for …

Member Avatar for tuisan
0
428
Member Avatar for gatis_1

Help make 2 pascal programs 1.Ar random function to get two numbers from 1-6 and 1.no 2.10-20 and to display numbers from the first to 2 and the number of squares. 2.Ar random function to get two numbers from 2-5 and 1.no 2.15-20 and to display numbers from the first …

Member Avatar for gioni.volosenco
0
163
Member Avatar for eryico

how can i print arabic with different size from dos(shell) in printer without driver

0
86
Member Avatar for KBL

Good day, Firstly, I am new to pascal, I am only trying to assist my brother. I am faced with a problem of adding data to arrays and I may need some help searching the array as well. The program is suppose to allow the user to enter the name, …

Member Avatar for KBL
0
231
Member Avatar for gatis_1

help me please validator make this error Compiling the source code.... $fpc -v0 viens.pas 2>&1 Free Pascal Compiler version 2.6.2 [2013/02/16] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others viens.pas(3,1) Fatal: Syntax error, ";" expected but "BEGIN" found Fatal: Compilation aborted Error: /usr/bin/ppcx64 returned an error exitcode (normal …

Member Avatar for SalmiSoft
0
178
Member Avatar for Bo_1

I have a Delphiproject that suddenly got its appearance changed. It used to have rounded buttonedges but now got suddenly sharp corners. Also the MonthCalendar changed its appearance with blue ribbon at top and the current day circeled with a broken red circel line as it had many years ago. …

Member Avatar for Bo_1
0
143
Member Avatar for Bo_1

Hello, I have a problem with a Form (EJournalF) that is activated unexpectedly and can't find from where. If I let it be Auto_Created in Project/Option/Font Auto_Create there are 2 instances at run-time, if it is listed in Available_Forms, only one instance is created. I have a MenyForm as Mainform …

Member Avatar for Bo_1
0
243
Member Avatar for Bo_1

Just started to use Delhi XE4 and found that LongMonthNames wouldn't compile. Error E2003 Undeclared Indentifier 'LongMonthNames'. Went to XE3 with the same error, Delphi 2009 with no problem. Just create a new VCL project with only statment S:=LongMonthNames[12]; will give the error. System.SysUtils is used and the definition is …

Member Avatar for Bo_1
0
261
Member Avatar for Gà_1

My program doesn't have compile-error but it sometime struck in 201 runtime-error. I don't know why, please someone help me. Here is my program: program TestNumber; uses crt; const fi='D:\program\text\ipTestNumber.txt'; fo='D:\program\text\opTestNumber.txt'; type proint=record len:word; //length of proint. val:array[1..256] of byte; //value of proint. sign:boolean; //is smaller than zero? end; dummy=string; …

Member Avatar for pritaeas
0
151

The End.