30 Topics

Member Avatar for
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 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 alex910TN

Hey guys, I have a silly issue that is bothering me. I am trying to read an unknown amount of lines from an input file and basically stop when I reach the EOF. I probably does'nt matter but the assignment is to create a simple lexical analyzer/scanner for a mini-subset …

Member Avatar for deceptikon
0
6K
Member Avatar for cucolino

Hy there. I have some code where I store data for 365 records (for every day in a year) in delphi, some kind of list as far as I understood (a good man!!! Sir Rufo on stackoverflow helped me with that part of code, writing whole example for me! Thanks …

Member Avatar for cucolino
0
427
Member Avatar for DesignGhosts

Hi there, I am trying to apply a Manifest file to my delphi application so that it can run with administrative permissions, I have been following [URL="http://delphi.about.com/od/delphitips2009/qt/delphi-vista-registry-run-on-startup.htm"]this Tutorial[/URL] part Faking UAC Rights - How to Request Execution Level. I have got to step 6 where I start getting problems, I …

Member Avatar for DesignGhosts
0
2K
Member Avatar for cubicbox

Hi everyone, I'm now nearly finished with my project which tells us to write a PASCAL program for entering the information of the employees. However, I came across a BIG problem is that I've got no idea on how to edit records in the text files or delete unwanted data …

Member Avatar for pritaeas
0
3K
Member Avatar for ebc3142

Hi, For a homework assignement, I'v been asked to write a small school administration system. Currently, the user is able to enter a new student and their age which is then stored in a text file. This all works fine but now I need to load the contents of the …

Member Avatar for Morten Brendefu
0
633
Member Avatar for redrobby02

Hi i need to read the last 14 Entries made into a typed file and then list the entries in a StringGrid so i can copy them to label captions later. I am a little unsure how to write the Code to loop for the last 14 Entries. the current …

Member Avatar for Morten Brendefu
0
197
Member Avatar for revski

hi i seem to have run into a problem when adding records to a Typed file that already exists. I have used ReWrite method to create the file in the first place. [CODE] // Open the file for writing To AssignFile(F, ExtractFilePath(Application.ExeName) + 'bin\drivers' + (frm_vars.Driver1.Caption) + '\card.digi'); Rewrite(F); // …

Member Avatar for pritaeas
0
252
Member Avatar for jasonx

Hello i have a problem in my c# project. I have a windows form that saves values from textboxes into a csv file. I then open the csv file in a datgrid where i'm supposed to search in it and highlight or filter particular rows and that is where i'm …

Member Avatar for kvprajapati
0
159
Member Avatar for Missnat71

Hello, I have an assignment due tomorrow and getting help by bugging you guys is my last resort... I have tried everything else. I'm extremely new at programming and taking my first course in Pascal Delphi. I'm using Delphi 6 and my assignment consists of using data within a .txt …

Member Avatar for TrustyTony
0
154
Member Avatar for vivitabak

I made a program simulating that of the lobby of a hotel, and I have a problem with storing the record variables into the file...for some reason only those variables of type string are saved and those of integer and of array are not, or if they are stored, thay …

Member Avatar for FlamingClaw
0
142
Member Avatar for tchant

Hi All, I have a application that uses Delphi 200 bpl files - I know these can just be put into the c:\Windows\System32 dir and all will work - but is it possible to put them into a directory under the Application eg c:\Program Files\ DGL-Apps\IMS\_sysbpl ? It is just …

0
105
Member Avatar for older3

[CODE] var t:array[1..3,1..3] of integer; i,j:byte; v:text; begin for i:=1 to 3 do for j:=1 to 3 do begin write('Enter elements [',i,',',j,'] '); readln(t[i,j]); end; assign(v,'output.txt'); rewrite(v); for i:= 3 downto 1 do begin for j:= 1 to 3 do write(v, t[i,j], ' ' ); writeln(v); end; close(v); end. [/CODE] …

Member Avatar for FlamingClaw
0
168
Member Avatar for gerhardjl

Hi All, I wish to open a drive, read the dir file names to a text file. eg > Open Drv H, where exist a number of .mp3 files, which I wish to capture the filenames only, to a text file eg dirnames.txt (not copy the contents, just the file …

Member Avatar for finalist
0
145
Member Avatar for turbomen

Dear ALL, Could you tell me how can I write a program that writes to a text file, the 32 people that are in our hotSeat.txt file. Cheers, turbomen (p.s.: 'the question orginally ask me to write a program that writes to a text file, the 32 people that are …

Member Avatar for House_of_Dexter
-1
182
Member Avatar for Nathan Campos

Hello, I'm trying to download the binarys of the [b]FPC ver. 2.1.2 Win32[/b], because i need to develop a program that i only can compile it in this version of FPC, then if you have the binary of this version of a link to it i will be very happy. …

0
113
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 lewigi2012

Hello I'm making a program where the user will be able to organise their orders so they see which ones are complete and incomplete. I want to allow the user to be able to delete an entry from a file (*.txt) as this will be used in two ways: 1. …

Member Avatar for FlamingClaw
0
79
Member Avatar for jsosnowski

I am trying to use a clientdataset without an associated Table. I am attempting to extract and edit data from a Cad program. The Cad program has an interface in which the user selects specific entities within the Cad file (lines, circles, text etc) and provides basic information and attributes …

Member Avatar for mcrosman
0
923
Member Avatar for espSquall

The declaration of the type is: [code]type TMediaLibrary = record Title:string[30]; TrackNo:integer; Artist:string[30]; Album:string[30]; Year:string[4]; Genre:string[30]; Comment:String[30]; Directory:string; end; var SongInfo: TMediaLibrary;[/code] and the file implementation of it is here: [code]procedure TForm1.Button1Click(Sender: TObject); var SongFile:string; MediaLibrary: file of TMediaLibrary; <<<Error is here begin . . . . AssignFile(MediaLibrary, 'C:\Program Files\toMedia …

Member Avatar for espSquall
0
155
Member Avatar for rickstar123

Hi All, Im desperate to write a hex file in Delphi. Effectively I have a Decimal value, say 580 which I convert to Hex: 02 44 And I need to put this into a Hex file (multiple times) - 25000 times per file Each line in a similar hex file …

Member Avatar for Duoas
0
2K
Member Avatar for sheady

[INDENT][/INDENT]I have created a Program that first searches and returns the contents of a file into a richedit then opens up the next file finds the matching record and displays that in the rich edit and then the same again with another file. [INDENT][/INDENT]My problem is that when i search …

Member Avatar for afripino
0
276
Member Avatar for EnderX

If this is in the wrong place, I apologize. I use ShellExecute only in Delphi, but I am aware that it may not be properly considered part of the language. I have a program that is supposed to generate a .csv file for an output report. However, my boss wants …

Member Avatar for Aborad
0
303
Member Avatar for Thew

Hi, I need to resolve this problem: Is there any way, how to replace currently runned application with a new version? Like through uninstallation, when uninstall.exe is removed by itself. I have dialog with AutoUpdate in my application. It's small application so I don't want to make another autoupdate.exe file. …

Member Avatar for Thew
0
124
Member Avatar for bob on whidbey

I'm having trouble creating a RES file (for a visual component). This was easy under XP as I had the file extension for all .rc files set up to run RC.EXE. I am now using Vista and can't find the RC.EXE file. Also, do I need to make changes in …

Member Avatar for bob on whidbey
0
312
Member Avatar for dodol

Hi all, Any one know how to transfer file from website to computer?? In Visual basic , we can use catalyst. Any one has code in delphi 6 or delphi component to transfer file from web site to local computer? because before go in this website .. it need user …

0
72
Member Avatar for EnderX

I've been working on a program designed to allow the end user to offer data corrections back to my company. (That is, they send us the originals, we process those and store it in a database, and this program is supposed to allow them to search the DB and send …

Member Avatar for EnderX
0
168
Member Avatar for adotl

So far as you can see below Ive got the program accessing the file and just reading the lines; Ive got the file set up like so... What is the Answers? A Do this B Do that C Dont do that D Definitely this A So this method is set …

Member Avatar for adotl
0
855
Member Avatar for winpoorni

Dear all, im new to Delphi language.can u pls help me to do this one. i want to read a particular file and searching for a particular word in that file.. pls assist me to do this one in delphi language Thanx in advance.. Poornima.R

Member Avatar for Micheus
0
393

The End.