1,899 Topics

Member Avatar for
Member Avatar for lietuva

I have to create a program that uses 2 loops to calculate the average of any number of grades, and run the program any number of times. So far this is what I have, I'm sure it's at least 99% wrong, but if someone could please help me get in …

Member Avatar for saeedk
0
6K
Member Avatar for prgmwitch

I need to write a program where the user enters a paragraph, the program reads in, stores every fifth word in a separate bank (array), and outputs the paragraph with the fifth words removed and replaced with 15 spaces. As usual, I finished the code, edited repeatedly, and can't find …

0
84
Member Avatar for EAnder
Member Avatar for L3gacy

Hello everyone, I have been programming in C++ for a while although I am not an expert yet, I would like to take a small break and learn another programming language that's a tad easier and I decided on Delphi. I looked for the stuff I need to no avail, …

Member Avatar for Dervish1
0
256
Member Avatar for StanRogo

Now I have been doing pascal for three months. I am now trying to create a simple calculator program. However, the TEdit box is not working. I type in the value but it seems it is not recording since when converted to either a float or int it states that …

Member Avatar for StanRogo
0
203
Member Avatar for Petrica7

Hi. I want to save the configuration of my program into its exe file (directly or in resources). I know I can use registry or a separate configuration file but I prefer to save in exe. Could you please help me..? Thank you in advance. Best regards, Petrica

Member Avatar for NotNil
0
195
Member Avatar for ltp_lonestar

Well, I recently acquired Delphi for no apparent reason /shrug. And since I'm about to start learning a new programming language (haven't decided which one), I was wondering in Delphi uses Pascal. And if so, what can be done with Delphi/Pascal. What are some good resources for Pascal/Delphi. Online references …

Member Avatar for madtm
0
253
Member Avatar for koushikG
Member Avatar for vmirce

I use D7 and I've working with TDBgrid and TStringGrid, but I actually need something more advanced. I need a Grid component which provides using a combobox within a cell, limiting a cell to accept only numbers, inserting a picture into a cell... Is there such a component ?

Member Avatar for pritaeas
0
62
Member Avatar for franciscar

// HookDLL.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include "HookDLL.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { //Flesh out the entry point pending full implimentation // reserve the DLL handle ghModule = (HINSTANCE)hModule; // register system-wide message SWM_TRAYMSG = RegisterWindowMessage("TRAY_ACTIVATED"); …

0
75
Member Avatar for mawoodard@pilot
Member Avatar for davecoventry
0
180
Member Avatar for marietta_kan

i want to create a based on delphi project...does anyone has something in mind but for mac??

Member Avatar for pritaeas
0
61
Member Avatar for getnit

Hi, I am trying to perform a few basic operations on MySql database through my delphi application. I am using MySql server 5.1 with Delphi 7 Here is what I have done( please correct me if I am wrong with the approach) - Created DataSource with MYSQL ODBC 5.1 driver …

Member Avatar for Simon180
0
140
Member Avatar for Simon180

Hey daniweb, I have a small problem am looking to add a shortcut key using control key and it will act like a button but the problem is I been trying to make it so you must have the control key pressed down to keep the funcation active but it …

0
55
Member Avatar for goldfield

I am attempting to write a program that uses the files in a folder and use those files as to resort them. I am using freepascal compiler, can anyone help me?

0
74
Member Avatar for goldfield

Hello all, I am attempting to write a program that takes the filenames of a number of files in a folder and sends the filenames to a text file. I am using freepascal compiler, can anyone help me?

0
123
Member Avatar for TheBW

I have to design a relatively simple game-type programm on pascal It has to generate a way, which the player will have to guess. They way can only go horizontaly or verticaly. Im usign 10x10 array for this. The problems start, when im making the way for player and checking …

Member Avatar for TheBW
0
120
Member Avatar for TheBW

So heres my procedure: [CODE]procedure inf_output; Begin Repeat Begin Writeln('Please choose by what info you will search!'); Writeln('1. Name'); Writeln('2. Registration number'); Writeln('3. Adress: Street name'); Writeln('4. Adress: Street number'); Writeln('5. Adress: Postal index'); Writeln('6. Name of City'); Writeln('7. Telephone number'); readln(x); end; Until (x>0) and (x<7); Case x of …

Member Avatar for TheBW
0
243
Member Avatar for Elihu5991
Member Avatar for MorisK
-1
250
Member Avatar for getnit

Hi, My front end has a Tshape(Cirle) Over a Panel and I am trying to move the circle on the panel and get the X and Y values and send these values through comport for serial communication. However I am able to retrieve the values but the shape is flickering …

Member Avatar for getnit
0
948
Member Avatar for onsir

how to show data from database to treeview. example: data like this code Menuname l_evel parent M01 Maintenance 2 File M0101 Area 3 M01 M0102 Terms 3 M01 M0103 Category 3 M01 M010401 Rate Maintenance 4 M0104 M0106 Customer 3 M01 M010601 Customer Maintenance 4 M0106 please give code. thx

Member Avatar for Kazmirus
0
213
Member Avatar for celieaoi92

How can i copy fileteks A to another fileteks? fileteks A : there are N kingdom. each kingdom has a name of a string with no spaces and maximum of 8 characters. each kingdom had fought each other as much as M times. a historian has data on wars, year …

0
60
Member Avatar for silver90

i've been at this problem for hours now, and so thought of asking help from people who are not such newbies to programming as i am. please help me with this: i have to print the result of a specific element in a pascal triangle, taking only rows and position …

Member Avatar for Adak
0
112
Member Avatar for utd123

using records and types Create a program that will allow a user to store a set of triangle measurements, triangle name, triangle total size and date triangle was entered. Your program will allow the user to enter the size of various triangle and measure their area. The user should also …

Member Avatar for pritaeas
0
100
Member Avatar for NotNil

I am experimenting with the use of WMI from within Delphi. Appears quite simple really however I am running into a problem where the amount of memory used by my application keeps growing. In my sample code below the SendPing() function is executed once every second by a TTimer.... each …

Member Avatar for NotNil
0
808
Member Avatar for ecklcakes

Need help with a program (console application in Lazarus) I need to load a bitmap (bmp) file in FPC and be able to directly edit the pixels (their colour). I then need to be able to save the bitmap again with the same name. Please put as many comments into …

0
91
Member Avatar for douglaspr

Good night, wondering how to get the entrypoint of an executable, and if possible the 32 bits coming after him. grateful.

Member Avatar for Duoas
0
87
Member Avatar for getnit

Hi, The Question I would like to ask is, where does Delphi stand in terms of application development tool. I have started my career in Delphi as a fresher and have concerns of its existence in the future. I haven't heard of many people using it and preference always goes …

Member Avatar for Duoas
0
112
Member Avatar for AKJo

Using TMediaPlayer to play parts of .wav files. I would like to copy parts from .wav files and append to an other .wav file. Is there a way to do this, without physically connecting the speaker output to the microphone input and add noice and loose sound quality. I would …

0
99
Member Avatar for AKJo

Hello, I have an application with two MediaPlayers. MediaPlayer1 I want to play a video and MediaPlayer2 I want to play a sound file. My problem is that I don't know how to control the sound volume from MediaPlayer1. How can I set sound volume to zero for MediaPlayer1?

Member Avatar for AKJo
0
919

The End.