1,899 Topics
![]() | |
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. | |
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 … | |
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; … | |
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 … | |
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, … | |
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. | |
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 … | |
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. | |
Does anyone have an idea of how I should make a simple calculator without the case function? | |
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; … | |
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 … | |
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 | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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? | |
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 … | |
Is it just me or is Delphi not so popular when it comes to programming laungages? | |
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 … | |
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! | |
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 | |
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 ....; | |
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! | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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? | |
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 … | |
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 … | |
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 … | |
how can i print arabic with different size from dos(shell) in printer without driver | |
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, … | |
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 … | |
![]() | 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. … ![]() |
![]() | 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 … ![]() |
![]() | 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 … ![]() |
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; … |
The End.