1,825 Topics

Member Avatar for
Member Avatar for vegaseat

You can look at a selected file's date and time stamp and change it with this Delphi program. XP files need a little extra TLC, but it's taken care of too.

0
530
Member Avatar for vegaseat

A data stream is used to load a bitmap image and convert it to a jpeg image. The converted image is displayed and saved to a .jpg file.

0
1K
Member Avatar for vegaseat

This Delphi procedure sends the text contained in a multiline editbox (memo in Delphi lingo) to a printer. The font and font size can be specified.

0
244
Member Avatar for vegaseat

Just to give you an idea what Delphi can do, here is a plot of the ever popular sin(x). I have put enough information into the code comments so you can build the form. The PaintBox Paint Event takes care of the plotting.

0
945
Member Avatar for vegaseat
Member Avatar for DeFrog777

This simple program will draw several randomly sized and colored lines on the screen. Makes a good screensaver!

Member Avatar for Dani
0
190
Member Avatar for DeFrog777

This is Similar to the Previous Snippet, but it puts indivdual pixels of different colors randomly on the screen. Also makes a nice screensaver!

Member Avatar for yvesli
0
316
Member Avatar for revski

Hi. I have wrote a basic program in delphi to perform calculations. The system the program was wrote on had the region set to English(United Kingdom). Upon testing the software, it will only perform calculations when the system is set in either English(United Kingdom) Or English(United States). If i set …

Member Avatar for FlamingClaw
0
112
Member Avatar for janevblagoj

HI, Which changes I must to make in this program about (UDP Chat) which you may find on [url]http://delphi.about.com/library/weekly/aa101105a.htm[/url] To work on one computer simulate 2 clients, concerning with start two times on this program On same Computer I want to have two clients!! Is it possible? With Regard Janev …

0
67
Member Avatar for janevblagoj

Dear Sir, I work in Delphi 6 a few years. Now I was beginning in Delphi network and I need some help maybe in source code Or advice for following: I have chat application and have two peer to peer clients, and I want to start one procedure (For example …

0
79
Member Avatar for turbomen

Dear ALL, I have tried to demonstrate the card game problem by myself. The card game is come together with 52 cards. It has Spade, Heart, Club and Diamond - Spade > Heart > Club > Diamond. It has the integers and chars 2,3,4,5,6,7,8,9,10,J,Q,K,A. Could you tell me how can …

Member Avatar for FlamingClaw
0
160
Member Avatar for Roger99

I'm trying to find a low-cost or free Memo control that is normally closed like a combo-box or datetimepicker, and opens in a similar manner. I want to fit one more memo controls on a dialog, but I'm finding that presenting a standard TMemo of reasonable size just takes up …

Member Avatar for Roger99
0
78
Member Avatar for turbomen

Dear Sir, I have made a question by myself. For example: I am playing the card game to my friend. The card has Spade, Heart, Club and Spade as usual but no number. How can I do if I only play five time and finally there is a record of …

Member Avatar for turbomen
0
108
Member Avatar for FearlessFourie

Hi ppl, I am having a problem with playing mp3's in my program. Let me explain, I am writing a program for my choire, I need to do it in a low base languege like pascal since the systems used are not great. My program is writen on exact timing …

Member Avatar for FearlessFourie
0
334
Member Avatar for FearlessFourie

Hey Dudes and Dudets, The program I'm writing requires a string of 200 char, the max for a string is 255, so everything works fine, if I readln the text more than 80 charecters (wich is eol) then it truncates and goes to next line, cool, but if I put …

Member Avatar for FearlessFourie
0
143
Member Avatar for turbomen

Could you mind telling me what can I do for the following question? To write a skeleton program for the assignment. It should have a menu system with at least 5 options. The menu keeps repeating after each procedure is called. When one of the procedures is called just return …

Member Avatar for FlamingClaw
0
117
Member Avatar for especta

i have 1 combobox and i have auto Assign stringlist from advstringgrid its working ok . I need to activate filter sorting condition based on select string from combobox. hire is buton comand it work fine [code=delphi] advstringgrid1.Cells[9, 0] := 'some word '; CheckBox1Click(Sender); I need ,, ('some word';)" to …

Member Avatar for especta
0
159
Member Avatar for turbomen

Dear All, Could you mind telling me how to code with the card game? It has 52 cards and it comes together with Spade, Heart, Club and Diamond. There are 2 people play together for 8 times, after it, we will get the result of it. Cheers,

Member Avatar for FlamingClaw
0
103
Member Avatar for amazing_grace

hi, whenever i try to write records into the file, only the first piece of records can be written. even some simple program like the following cant work properly. [ICODE]type thing=record name:string; end; var f:file of thing; data:array [1..2] of thing; i:integer; begin assign(f, 'infile.txt'); rewrite(f); data[1].name:='name'; data[2].name:='second'; for i:= …

Member Avatar for Duoas
0
334
Member Avatar for especta

Count Lines Of Text In Txt File hi i have text file ex. (sample.text) and i need to count lines in file and disply in memo . I have small examp but this not work any sugestion. [code] function linecount(filename: string): integer; var f: textfile; begin assignfile(f,filename); reset(f); result:= 0; …

Member Avatar for especta
0
3K
Member Avatar for turbomen

Dear Sir, Could you tell me how can I do the following question? A positive integer is entered from the keyboard. If it's even, all even integers from 2 up to and including the entered integer are displayed. If odd, all odd integers from 1 up to and including the …

Member Avatar for FlamingClaw
0
164
Member Avatar for especta

hi i have problem to use doscommand haw to install an use plise help. hire is doscmd [url]http://maxxdelphisite.free.fr/doscmd.htm[/url]

Member Avatar for especta
0
448
Member Avatar for riaak

How to get combobox.items from MS Access database? I'm using ADOTable and Datasource to get database into DBGrid.

Member Avatar for lad389
0
109
Member Avatar for amazing_grace

hi, i am working on a project to write data into the file and use a search enginee to get the data back. i was advised to use record but i didnt learn record at school. i tried to google it but came up with no solution. that's so far …

Member Avatar for lad389
0
3K
Member Avatar for revski

i have 4 memos on a page 3 of them are single line and the last is a large memo. Memo1 Memo2 Memo3 and Memo4 now for memo 4 i can use [code]Memo4.Lines.SaveToFile (SaveDialog1.FileName + '.txt');[/code] that works perfectly, but i want Memo1 2 and 3 saved to the same …

Member Avatar for lad389
0
483
Member Avatar for mmx64

I have a problem with Tcomport. This is usage for writeing to ComPort. [CODE]b:byte ComPort1.write(char(b));[/CODE] How do i use [CODE]ComPort1.read(Buffer:pAnsiChar;Count:integer):integer;[/CODE] Thanks!

0
56
Member Avatar for satasonic

Guys, Im in desperately need of help, and I need the whole program to be written, as I dont understand anythuing in pascal haha. Thanks for any help, I really appreciate it! By the way, this is also my first post here, yay :D

Member Avatar for JameB
0
6K
Member Avatar for TomRandall

Hi All, This is probably a stupid question, and I could have easily written a small function that loops over the values and selects the first match... but I'd prefer to use the built in way - if there is one. Is there a built in function to select a …

Member Avatar for TomRandall
0
957
Member Avatar for suganthi87

Hi I am using named pipes to transfer text between vc++ and delphi. The delphi code is shown below: [CODE] procedure TForm1.OnServerPipeMessage(Sender: TObject; Pipe: Cardinal; Stream: TStream); var S : String; begin SetLength(S, Stream.Size); Stream.Read(S[1], Length(S)); Memo1.Lines.Add(S); end; [/CODE] The problem i face is that I am able to receive …

Member Avatar for FlamingClaw
0
227
Member Avatar for amazing_grace

hi expert, first of all, i have to say sorry for my poor english.i am working on a phone-book project and come across a big problem. my approach: 1. i ask to users to identify the type of data he would like to search,eg, name, tel no 2. i ask …

Member Avatar for FlamingClaw
0
107

The End.