1,899 Topics

Member Avatar for
Member Avatar for AnniHilatE

Hi, i am writing a program that is using a database to keep track of stocked items in a business. as a part of the program, i am having a function to count how many items are actually in the database and displaying it in a numerical form within a …

Member Avatar for pty
0
87
Member Avatar for darkeinjel04
Member Avatar for andor
0
106
Member Avatar for Raziel26

I get the following errors in this code Undeclared identifier 'Height' (Line 28) '(' expected but ';' found (Line 51) I havn't been learning Pascal for long, but I can't get why this doesn't work. All of my procedures are declared. The "Weight" one works fine but the "Height" one …

Member Avatar for Micheus
0
103
Member Avatar for EnderX

I'm currently trying to create a program in delphi to call up a webpage; the page is written in php and records some data about its contents for record-keeping in my system. I'd like to be able to write the program so that when it opens it does the following: …

Member Avatar for EnderX
0
172
Member Avatar for EnderX

Does Delphi have any way to escape symbols embedded in strings? I'm trying to write a database project, and have just run into a rather nasty problem; the db I'm working with, PostgreSQL, refuses to recognize equality to date functions unless the value being tested is contained within a pair …

Member Avatar for EnderX
0
165
Member Avatar for Enee

Can someone please help? I am trying to convert turbo pascal to VB. In the code below, path0, path1, path2 are defined as BYTE, and path as array[0..50] byte. My question is what is the equivalent in VB of Path1:=[] and path2:=[] ? Also, how do you test for IF …

Member Avatar for Major Damage
0
346
Member Avatar for Loony064

Hi all! For my programming project, I have created a program that takes in entries for a dog show. Last week I went to see my teacher as I had a problem with some of the code and I mentioned to him that according to the assignment, we get extra …

0
65
Member Avatar for leelapadmaja

Hai All, Iam new to DELPHI platform. I used FilelistBox in my program. There are lot of pas files in that. I want to write program to search a word automatically in all Pas files present in the FILELISTBOX.Then I want to store the result in one Stringlist. Can I …

0
59
Member Avatar for leelapadmaja

Can we write a program for GREP SEARCH in particular file?? [B]procedure TForm1.DriveComboBox1Change(Sender: TObject); begin DirectoryListBox1.Drive := DriveComboBox1.Drive; FileListBox1.Drive := DriveComboBox1.Drive; FileListBox1.Directory := DirectoryListBox1.Directory; end; procedure TForm1.DirectoryListBox1DblClick(Sender: TObject); begin FileListBox1.Directory := DirectoryListBox1.Directory; end; [/B] I wrote a program for the selection of file like this. Now I want to search …

Member Avatar for Micheus
0
161
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
391
Member Avatar for Mwakudua Andrew
Member Avatar for nsan

where can i find good articles about Delphi? what is wrong with this loop? procedure TForm1.Button1Click(Sender: TObject); var a: integer; begin for a:=1 to 5 do begin ShowMessage('Window: '+InToStr(a)); end; end; end. i receive this error [Error] Unit1.pas(31): Undeclared identifier: 'InToStr' any help is appreciated

Member Avatar for dotnet_guru
0
215
Member Avatar for ayk-retail
Member Avatar for Mwakudua Andrew

hi, could someone help me on to to write codes on my city council project which would enable the system to collect revenue automatically from clients?

Member Avatar for Mwakudua Andrew
0
106
Member Avatar for Latent

Hello again, I have another assignment and need some help again. This time, I have to display the contents of a record file, consisting of contact information for a list of people. I have to create a text file with several lines of contact information- surname, firstname, email and tel …

Member Avatar for Lord Soth
0
172
Member Avatar for j1979c

[B]Errr... anyone knows what this means in Delphi language? [/B]:sad: [code] i : integer; i := i - $24; [/code] It's actually in a function that completes a WAV file header something similar to the Microsoft's RIFF specification for WAV. The code goes something like this. [code] procedure TForm1.StopRecording; var …

Member Avatar for j1979c
0
147
Member Avatar for j1979c

[B]Would like to get suggestions of any tutorials/websites/vcl downloads for visual wave editiing with delphi 7. An example is what you can do in audacity where you can view the recorded wave graphically and edit it. Trying to program that kinda program. So far I finished a drum machine, basic …

0
95
Member Avatar for renatofreitas

Hi, I need a source code to do de follow game: The Player digitizes a secret number and a second player will have of guess the secret number. The number of attempts will be able to to be limited or unlimited, depending on the level of the game chosen. The …

0
55
Member Avatar for NZKen

Hi Folks, need some help with converting the following QBasic code to Dalphi LPRINT chr$(27);"[@";chr$(4);chr$(0);chr$(0);chr$(0);chr$(34);chr$(0) It prints double line spacing, double character height. the Delphi code write(#27'W1' + 'Test page') - Double width printing works ok Thanks Ken

Member Avatar for Micheus
0
99
Member Avatar for BurekDom

Hi is it possible to hide Delphi's splash screen at the beginning, Delphi 7? I tried "delphi32.exe -ns" but doesn't work, is there a new switch for this? Does anybody have a list of switch commands for delphi32.exe command line execution? Thank you Burek

Member Avatar for Zsolti
0
202
Member Avatar for MattEvans

Either I'm doing something very wrong, or the XMLDocument component is a terribly written component. I keep getting Access violation at #ADDRESS Read Of #ADDRESS errors, no explanation just a peek at the CPU showing the error occurs all of the place depending on which test I'm doing. Basically, all …

Member Avatar for Lord Soth
0
548
Member Avatar for mmx64

Hallo, i'm new in delphi programing and i have some noob questions.. 1. How do i open a file(.bin) and convert it to hex? 2. How do i return a value from a secific hex addres?? Thanks!!

0
73
Member Avatar for jamshid

We have Homework , so i need your help , so please help me: Write a program which calculates course(lessons) grades of students according to given midterm and final exam. There are 4 different courses: 1 D1 (3 Credits) 2 D2 (4 Credits) 3 D3 (3 Credits) 4 D4 (5 …

0
92
Member Avatar for j1979c

Any tools out there for Delphi 7 that's good for making computer music softwares (MIDI, multitrack wav recording)? Currently trying out BASS dlls. Thanks.:cheesy:

0
66
Member Avatar for MattEvans

Hi there. I'm new to this forum, and new to Delphi, my programming experience goes from BASIC > Visual Basic, C++ (DirectX not MFC or GDI), and Java/Java3D. I did a little Pascal programming in college a few years ago, but what I remember isn't sufficient to help me much …

Member Avatar for MattEvans
0
116
Member Avatar for powerpuffgals

Dear Guys... I really need a help...I have this PASCAL codes which i nee dthem to be translated to either in MATLAB or C codes....Do anyone knows how to do it? I have a short time...Its for my project...Is there any software to help me?? Hope to get a reply …

0
58
Member Avatar for frogeye

Hi all I am working on a bank reconciliation program and have a problem with data entry. For a readln (real) statement, if a character is entered, it crashes the program. Is there a way to test the input data to keep it from crashing the program? Also is there …

Member Avatar for frogeye
0
88
Member Avatar for Derickd

42 00 02 E3 0B 06 1E CD 78 C1 47 B5 A5 00 8E 69 E2 32 67 00 00 00 75 85 00 00 00 00 00 00 00 00 00 00 64 65 72 69 63 6B 00 41 72 65 73 20 31 2E 39 2E …

Member Avatar for Derickd
0
268
Member Avatar for tripz

I'm a moderator on a forum. On this forum all moderators get a tool to help with making up requests to the forum admins on bad user posts and threads. The creator of the tool has left his position on the forum to move on and is no longer helping. …

Member Avatar for tripz
0
121
Member Avatar for Rossco_

First of all, hello everyone, seems like a good forum you guys have here. My query is im trying to allow access to my companys software support forum from its software which is created in delphi.net, i wish to pass a few variables that the user enters in delphi to …

Member Avatar for Lord Soth
0
180
Member Avatar for ooglez

Hi, I'm currently working on a turbo pascal program. I'm creating a game, and were wondering if there was a way to set a timer. This would be done so the user has a limited time to complete the task. I'm only a beginner, so much help is appreciated.

Member Avatar for hani odwan
0
151
Member Avatar for HellGuard

Hello Guys, i have problem in my project, i'm using WIN API when i make the CreatewindowEx like this: [B]Handle:= CreateWindowEx(WS_EX_TOOLWINDOW,'Classname','Title',WS_SYSMENU or WS_VISIBLE,0,0,80,80,0,0,Instancia,nil); [/B] the socket dont work [IMG]http://www.devarchive.com/forum/images/smiles/icon_exclaim.gif[/IMG] and if make it like this: [B]Handle:= CreateWindowEx[/B][B](WS_EX_TOOLWINDOW,'Classname','Title',WS_SYSMENU or WS_VISIBLE,1,1,80,80,1,1,Instancia,nil);[/B] the socket work and everything ok! so whats the problem with …

Member Avatar for Micheus
0
222
Member Avatar for nsan

whati s wrong with this loop? procedure TForm1.Button1Click(Sender: TObject); begin var j: Integer; for j:=1 to 5 do begin ShowMessage('Box: '+InToStr(j)); [B]end;[/B] end. i also added one more end; after second last [B]end;[/B] but nothing changed. iam new to Delphi and it is frustrating:mad: i receive the following errors [Error] …

Member Avatar for nsan
0
136
Member Avatar for salgau_catalin

I'm tired of searching and I'm going to ask people. I´m trying to write a problem evaluation program. I´m working under Linux. What I need is a way to start another file, time it with very high accuracy(would be nice if it could report CPU time and user time), check …

0
66
Member Avatar for Katrix36

Hey everyone I'm just making an advanced version of notepad. When you come accross a file that you haven't got a program assigned to that particular file extension, you can right click on the file, go to open with, and then choose a program to open the file. e.g. notepad. …

0
106
Member Avatar for klomar

There are a few sscanf procedures people have written to be equivalent to the C function. I am looking for anyone with experience using any of these procedures (I will be using with Delphi 7), and any issues you may have found. Thanks.

0
111
Member Avatar for Katrix36

Hey all, Would anyone be able to help me out with some code to convert text into binary / binary into text? Your help would be much appriated. Katrix36

Member Avatar for Katrix36
-1
236
Member Avatar for spoonhead

I keep getting this can you guys look at my code and see whats up PROGRAM LargeandSmall; USES Wincrt; {*----------------------------------------------------------------------*/ var Nums:Array[1..10] of INTEGER; Largest:INTEGER; Smallest:INTEGER; menuchoice:INTEGER; i:INTEGER; anykey:CHAR; {*-----------------------------------------------------------------------*/ PROCEDURE initialise; VAR i:INTEGER; BEGIN FOR i:=1 to 10 DO num[i]:=0 Largest:=0; Smallest:=32767; End; {*-----------------------------------------------------------------------*/ FUNCTION get_menu_choice; VAR i:INTEGER; choice:integer; …

Member Avatar for nvanevski
0
744
Member Avatar for Enee

I am converting a program that was written in Turbo pascal, over 10 years ago, to excel VBA. At the moment, I an going through line by line, converting the program. Is there are simplier way of achieving the goal? Does anyone know of any convertor or compiler out there? …

Member Avatar for Comatose
0
95
Member Avatar for Katrix36

Hi all, Is it possible to block all internet traffic/activity like a firewall? If so how, could someone please help me? Katrix36

Member Avatar for Katrix36
0
171
Member Avatar for vjp

hello Can anyone send me a link of a component that allows me to change system date or time? thanks.

Member Avatar for Katrix36
0
147
Member Avatar for Katrix36

Hey all, Would anyone be able to help me out with some code to count how many characters there are in a string e.g. A label disaplys the number of characters that the user has typed into a memo. Katrix36

Member Avatar for daycartes
0
218
Member Avatar for Katrix36

Hi all, I'm trying to create an onscreen keyboard for Microsoft word. At the moment, my onscreen keyboard can send any keystroke to microsoft word as long as the document is called "Document1". Is it possible to send a keystroke to any microsoft document of any title not just "Document1"? …

Member Avatar for daycartes
0
393
Member Avatar for daycartes

Hello folks and greetings, I have been working on a program that inputs foreign accents into MSword. I have been trying to extend this so that it will input into the last app, be it publisher powerpoint excel , notepad etc. What I am looking for, then, is help with …

0
63
Member Avatar for Red7

Hi there, I’m currently doing an assignment at University, I have been set a task that includes loading the contents of a .dat file into an array of records. So far I’ve managed to get ‘something’ loaded into the array of records, but when this is displayed in a list …

Member Avatar for mrmike
0
158
Member Avatar for sbedford

Hi Just wondering if it is possible to do this? I have a form that auto-resizes dependent on the resolution of the pc it is run on, but at some resolutions, the windows taskbar overlaps the form buttons. Is there any way to hide the windows taskbar, or do I …

Member Avatar for raam
0
388
Member Avatar for mrmike

I've mad a small program to log events to the event logs, but have come across an issue I can log to both Application and System, but unable to log to the security log does anyone know if you can log to the security log or not thanks mrmike

Member Avatar for mrmike
0
73
Member Avatar for jclui

pls help me on this problem: "Allow a user to accept a positive even number. Number is distributed around the loop. The sum of two consecutive number is a prime number." hope for you all to help me,, im graduating student, i need to do this problem, for me to …

Member Avatar for mrmike
0
182
Member Avatar for nawal

hi, plz help me, I want program in delphi to work connection (dialup) between two pc using modem( telephone number) and transfer file or data from pc to another pc (one pc is client and another server) thank you nawal

Member Avatar for Lord Soth
0
84
Member Avatar for Katrix36

Hi all, I have a listbox that displays a list records from a file. The records contain details about a film - title, certificate, genre, whether or not its rented out or in. At the moment, when a film is set to - rented out, that individual film is put …

Member Avatar for Lord Soth
0
162

The End.