1,826 Topics

Member Avatar for
Member Avatar for Smithy888

Hi, I have the following code in a D2005 .Net winform. [code]ReportDoc := ReportDocument.Create; ReportDoc.Load(ReportPath); ReportDoc.PrintOptions.PrinterName := PrinterName; ReportDoc.PrintToPrinter(1,true,0,0);[/code] I get the message "Invalid printer specified" only if I try to print to a printer that is not the current default(CD) one. Having PrinterName as the CD one prints fine. …

0
45
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
84
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
100
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
163
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
160
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
325
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
63
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
56
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
157
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
379
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
211
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
100
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
169
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
136
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
93
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
52
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
95
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
190
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
518
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
70
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
90
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
63
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
110
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
54
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
84
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
253
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
111
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
176

The End.