1,899 Topics

Member Avatar for
Member Avatar for MasterHacker110

I am trying to create a form dynamicly and thus I need to initialize my DBGrid with code. { Connect the DBGrid to the database. } procedure TfrmRemoveRecord.InitDBGrid(); begin dbgList.DataSource := dmProgramDatabase.dsrCaches; end; But I get an access violation error.

Member Avatar for MasterHacker110
0
183
Member Avatar for Simon180

Am trying to make my program menu and skin resize when I disable the MainMenu VCL I have attached a image of a program that uses same idea when menu is enabled there is too buttons hidden but once the menu is disabled the pager and options buttons and rest …

Member Avatar for SalmiSoft
0
239
Member Avatar for jrismd

Hi Good Day! I have problem in delphi i cannot load image (jpeg) into QRDBImage on Quick Report, I used memdata and data source, code: procedure TfrmEntityModule.actCOPExecute(Sender: TObject); var frm: Trep_EDR; OrganizedGroup: TRoOrganizedGroup; begin frm := nil; OrganizedGroup := nil; frm := Trep_EDR.Create(Self); OrganizedGroup := sMainApp.MCISService.GetOrganizedGroup(txtEntityNo.Text); try frm.mds2.Close; frm.mds2.Open; frm.mds2.Edit; …

Member Avatar for srikanth@pala
0
942
Member Avatar for zainab_8271

hi i have a question , my institution uses pascal and cobol programming language for their system but i think its too old and need something new, so they start using vb.net to make a paper form that get information from the data base of the system and put its …

Member Avatar for SalmiSoft
0
191
Member Avatar for Luiz Eduardo

I'm with a problem for show my Form1 and listen the active url in on browser. In code following, after the test with showmessage function, apper an Acess violation in my project as on following images: [IMAGE_1](http://prntscr.com/51vh96) [IMAGE_2](http://prntscr.com/51vkdn) Here is my code: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, …

Member Avatar for darkagn
0
350
Member Avatar for MasterHacker110

I use Delphi 7 to develop programs, but the programs that I make, UI looks outdated. I was wondering if there is an option that I can adjust how to generated UI looks like? Thanks.

Member Avatar for Glenn9999
0
658
Member Avatar for Mya:)

I have a huge project to do for my Gr11 PAT(Practical Assessment task) We have to create a project based on Geocaching [Click Here](http://www.geocaching.com) and I need ideas to start planning my Fase 1 - wich constructs of a basic descrption of at my program wil do. I need at …

Member Avatar for Deonas666
0
747
Member Avatar for Ojo_1

I need the serial key and authorization key for delphi 8.All i have been seeing is contact delphi.How will i do that please anyone with usefull information.

Member Avatar for pritaeas
0
311
Member Avatar for Razi_1

Does anyone have an idea of how I should make a simple calculator without the case function?

Member Avatar for Razi_1
0
1K
Member Avatar for Razi_1

So I pretty much found how to make a "Shutdown Timer" from youtube. Can anyone tell me how I can expand it to days instead of hours? Program shutdowntimer; uses crt,windows,dos; const sec = 1000; // one second in ms min = 60000; // one minute in ms var h,m,s:integer; …

0
120
Member Avatar for Mya:)

I have a project in wich i have to create a program making usae of geotechnology. My program revolves around pilots, paragliders and airbaloons. Basicly it has 3 seperate programs for each category and solves some of the difficulties that come along with it. Any idead for a name and …

Member Avatar for oussama_1
0
273
Member Avatar for cp3mvp

hi is there anyone who can help me to create a game program in pascal hoping that one of you can help me please even a simple calculator coz i really dont know how to create

Member Avatar for DonnSchwartz
0
481
Member Avatar for Razi_1

I am trying to make a simple calculator, unfortunately, it isn't going so well. Any ideas on how to make it simple? if gamemode=1 then {If gamemode 1 has been chosen} begin clrscr; title; writeln ('Welcome to Calculator'); writeln; writeln ('To begin, press <Enter>'); readln; clrscr; title; writeln ('Choose which …

Member Avatar for Razi_1
0
268
Member Avatar for Razi_1

So basically I want to make a tetris game with Pascal as a project I am working on. I wasn't able to make it complicated like you can move the piece and different types of piece come. From other responses, they involve more than 1 Pascal Program but I am …

Member Avatar for Razi_1
0
329
Member Avatar for vian.kwok.18

I have an array of seven numbers and I would like to sort the numbers from the smallest to the largest. How should I do it?

Member Avatar for vian.kwok.18
0
215
Member Avatar for Gotovina7

Hey guys, I am a new programmer just starting. The assignment my prof gave us has to deal with taking a file (the file is an equation, 5+2-3*2 for example) and calculating the result. The program also has to give appropriate errors when they arise. (missing operators, etc). I am …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for zack2313

Hi, I'm a at a very beginner level in Pascal and am learning it for my A-levels We're learning how to save, add, search records for a database console. I managed to do all of them, but I am having trouble with deleting records. In my procedure below, I'm trying …

Member Avatar for Jack_10
0
972
Member Avatar for Jack_9

Why learn Pascal or delphi? They are both old and not used much. So why learn them instead of a more popular language like Java?

Member Avatar for Jack_10
0
221
Member Avatar for redrobby02

hi does anybody know how to hide Tabs on a TTabControl in a Firemonkey HD Application. I Need a component that behaves the same way as a JVPageList in a standard VCL Forms Application and this is the closest thing available that i know i can use. But i cant …

Member Avatar for Jack_10
0
181
Member Avatar for Mya:)
Member Avatar for Matt_13
0
495
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
922
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
219
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
384
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
577
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
358
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
6K
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
287
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
157
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
240
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
274
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
227
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
365
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
259
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
136
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
410
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
117
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
160
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
497
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
430
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
169
Member Avatar for eryico

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

0
88
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
232
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
180
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
148
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
249
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
271
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
155

The End.