2,103 Topics

Member Avatar for
Member Avatar for Simon180

Am crating abit of code to save and add a menuitem to main menu but am having a small problem when reloading the saved lobby.dat file when its saved it should be save just click the lobby name is below **Support Group Lobby=56** but it keeps thinking the space is …

Member Avatar for SalmiSoft
0
155
Member Avatar for Simon180

Am using GetProgrammDir to get my application folder and it works but I need more control over it were I can select folders inside or outside of my program say there 2 folders Data and Items data will store exe and items will store information txt but the data will …

Member Avatar for SalmiSoft
0
198
Member Avatar for Simon180

Am looking for a little bit of help to convert the following Visual C++ code into a delphi if its possible #define MARGINX 24 // this much for "mon" #define MARGINY 24 // this much for "00" char *dayNames[7] = { "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" }; #define …

Member Avatar for Simon180
0
223
Member Avatar for yatesy900

Hi guys, I am trying to create a piece of software that can incorporate the attendance of a student and show it in a graph style layout on screen. I have a ''TDBgrid'' which i am using to represent the names from my database but i am unsure on how …

Member Avatar for SalmiSoft
0
91
Member Avatar for Simon180

Am currently using the following code to build my userlist but the down side to this is it will loop names over and over making duplicate names so am having to do extra code to stop same names showing up in list so am wondering if there a more professional …

Member Avatar for Simon180
0
181
Member Avatar for cVz

Hi guys, Stupid Question.... How can i group specific rows in a cxGrid (Express Quantum Grid 6)... this event will occur onClick... any ideas ??? Delphi 7....

Member Avatar for pritaeas
0
657
Member Avatar for Simon180

Am looking for a way to download a image from a URL using twebbrower and to save it to a folder, it would access url and then have section for file name and folder name and then it would save the file as a jpg to the folder on drive. …

Member Avatar for Simon180
0
180
Member Avatar for Simon180

Am trying to look the code below so it will loop the current items already in the list and display them all plus any new onces added but am having a bit of trouble doing this what am I missing or doing wrong? Gallery.Duplicates := dupIgnore; Gallery.Sorted := True; // …

Member Avatar for SalmiSoft
0
132
Member Avatar for Simon180

Am looking for a way to add a custom item image in icon view on a listview the icons I want to use is a single image bmp file with 4 icons on the image so I need a way to select each image on the file and a nice …

Member Avatar for SalmiSoft
0
245
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
184
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
943
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
659
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
312
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
482
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
973
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
222
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
580
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
359
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 Tarek_2

Hi, I'm Tarek, I have a Master Degree in IT, I worked on e-Learning technologies. Currently, I teach programing basics in Pascal, Delphi, C and Java (only the basics :) ) and of course I like to program and to learn new things. Happy to be with you.

Member Avatar for diafol
0
80
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

The End.