2,103 Topics

Member Avatar for
Member Avatar for CanYouHandstand

Hi All I'm trying to write to a variable contained within an indexed record. Currently the record is not updating when I assign the new value. If I create a 'buffer' record and assign the value to the 'buffer' record and then assign the 'buffer' record to the indexed record, …

Member Avatar for CanYouHandstand
0
100
Member Avatar for srianduma

hello i want to calculate discount in my application. if the user enters 10 % for an item that costs 532 then i am able to calculate the discount amount of 53.20 and the value as 478.8 if the discount amount is entered like 50 then i have to calculate …

Member Avatar for Singlem
0
72
Member Avatar for Singlem

Hey I'm using a dbexpress to connect to a mysql server, that works. I then do a query and from that assign values to variables. Now my issue it that I can't seem to find a way to read a 'NULL' value from the Database and assign it to a …

Member Avatar for Singlem
0
156
Member Avatar for Holali

Hello I have this problem in pascal: I want to include a variable in file name while assigning a text file to variable of textfile. Example: I have a text file called 'numoffiles.txt' with one integer number in it I read it and set variable a to that number in …

Member Avatar for belthazor
0
785
Member Avatar for webmasterd

I need to print a table shown, ie, they see the frames of the rows and columns.

Member Avatar for BitFarmer
0
78
Member Avatar for Peppercat101

I have a little problem... I use a MS database in my program.... I want to enable the user to backup the database that I use to a specific location that they choose.... Any suggestions? Because I'm lost..... Oh its in Delphi 7

Member Avatar for BitFarmer
0
303
Member Avatar for Pim

The problem is that this program crashes: [code] program Arrays; var a: array[1..5] of Integer; i, j, tmp: Integer; begin a[1] := 23; a[2] := 45; a[3] := 12; a[4] := 56; a[5] := 34; for i := 1 to 4 do for j := i to 5 if a[j] …

Member Avatar for Ionelul
0
257
Member Avatar for Rockpile

Not sure if this is the correct forum. I am using Inno and within the scripting portion I cannot figure out how to convert a cardinal value into a string so it can be displayed in a MsgBox() so I can verify the value. When I convert the cardinal using …

Member Avatar for Rockpile
0
985
Member Avatar for Zinderin

I'm learning C# on my own (I know C, Pascal, and about 8 proprietary languages) ... I'm stuck with VS2005 Pro (no budget) so I can't upgrade and I can't use Linq. I'm using Access just for simplicity at this point. What I'm trying to do, is what I've done …

Member Avatar for nick.crane
1
97
Member Avatar for Black Magic
Member Avatar for TrustyTony
0
235
Member Avatar for ttx336

Hello All, this is my first post here, I was a novice Pascal and C programmer back in the DOS days, now I am taking a C++ class based on "Programming - Principles and Practices Using C++" by Bjarne Stroustrup. In the book he gives an example in which he …

Member Avatar for ttx336
0
97
Member Avatar for elico

Hi all We need an assembly routine that will show a picture (graphic file like bmp jpg etc.) in a console mode application written in pascal . This routine will be embedded within the PASCAL source. It will dedicate a portion of the console app to dispaly a picture Any …

Member Avatar for wildgoose
0
124
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 Iron_Cross
Member Avatar for anandkrishnantc

hello, I am looking for help in following problem I am facing. I have an image displaying SW and over that image I need to display a BMP image overlapped. The BMP information is part of DICOM tag. If I read the BMP image informations, how to display on the …

0
83
Member Avatar for gvsharsha

Hello, How to remove Administrator Privileges for a software which is developed using Inno Setup Installer? When we Install a software which was developed using Inno Setup, it will run in administrator privileges but, how to make the software to run even under the normal user with limited privileges?

0
69
Member Avatar for youngmoolah

Hi I was wandering if sql tables can determine the order in which forms appear in a delphi application and if so how does it determine this order and will I be able to go in and edit the order. Thank you in advance

Member Avatar for youngmoolah
0
77
Member Avatar for EnderX

I'm working on a Delphi program designed for use with an Access database. In addition to the onscreen output, however, my boss wants me to provide PHP reports for it as well. We have PHP installed on our servers, so that's good, but the database in question is installed on …

Member Avatar for Wolfgan
0
2K
Member Avatar for youngmoolah

Hi I am new to delphi and I am trying to add a new form to an existing MdiApp program which links to various SQL tables The existing buttons that move the user from one form to another have the OnClick event (CmdBeginTestingClick). This OnClick event automatically attatches the following …

Member Avatar for Wolfgan
0
365
Member Avatar for FlamingClaw
Member Avatar for nayay17

Dear All, Could you tell me how to complete this coding? so it can run like the program that I have attached. Cheers, [CODE] type node = ^data; data = record nama : string; ipk : real; {tipe data info} yudisium:string; next : node; end; linkedlist = record first : …

0
94
Member Avatar for pschles

Hi all, I came here because I sought help with Python that I used some years ago but forgot. I have 22 yrs of Pascal, C, Fortran, html, Joomla. Name: Peter Nickname: Petie (ooh, do I hate this one), peewer, retep, adam Height: 6'2' Weight: 195+ Hair: Gray Eyes: Blue …

Member Avatar for maceman
0
139
Member Avatar for Jaxneo

I have several output files (*.out) contain a lot of information. I would like to have a program can just sort specific data from each output file and save them to the same filename with txt extension file. While reading each line (from *.out) if you are on a line …

Member Avatar for Wolfgan
0
79
Member Avatar for Infidus

Hey there. I have a project that i am working on that goes along the lines of this: We have a program that records customers and dvds for a local dvd store. This program must be able to enter New Customers , Search Customer's , Modify Customer Details and Delete …

Member Avatar for Wolfgan
0
91
Member Avatar for vaina74

Hi everybody. I'm interested in C++ programming, so I just started learning it. I already worked with structured programming, e.g. Pascal or Fortran, so I have no problems with while, for, pointers and so on. Above all I'm interested in object-oriented programming, but I'm an absolute beginner in that. I'd …

Member Avatar for vaina74
0
226
Member Avatar for AnkitaNegi

i have a TcxGridDBBanded column in delphi , which takes the value from database. the colindex property of all the columns is already set in the delphi form. now at run time if the user changes the order of the column, and try to open it again, the GridDBBanded returns …

Member Avatar for Wolfgan
0
87
Member Avatar for yossi321

Hi How can I protect/lock a drive from deleting files and format it ? Is there a way to hook a drive?

Member Avatar for yossi321
0
75
Member Avatar for agrarian

I have a form (Delphi 2010) that includes several data controls, including a DBImage. All these are hooked to a underlying MSSQL 2005 database and table. I'm using ADOConnection and ADO Table for ease of use. I need to include image data in this table, so I have set up …

Member Avatar for yousef.h85
0
217
Member Avatar for Noober87

Hi everyone, I have the following code to save the text inside an editbox: [CODE]var Data: TStringList; begin Data := TStringList.Create; try Data.Append(Edit1.Text); Data.SaveToFile(Savedialog1.Filename +'.txt'); finally Data.Free; end; end;[/CODE] And this code to load it to that editbox where i saved it from: [CODE]var Data: TStringList; begin Data := TStringList.Create; …

Member Avatar for Noober87
0
161
Member Avatar for serkankucuk

I have a Windows application. I want to convert windows app to website, but with no differences on code. How can I do this convertion, please help me?

Member Avatar for ennis
0
121
Member Avatar for mnmw

Check out my code on Pascal's triangle using C++. [CODE]#include "stdafx.h" #include <iostream> using namespace std; int pascals(int,int); int fact(int); int main() { int r,e,levels,space; cout<<"Enter the number of lines needed";cin>>levels; space = levels+1; for(r=0;r<=levels;r++) { // std::cout.width(space);//shape for(e=0;e<r+1;e++) { cout<<pascals(r,e)<<" "; } cout<<endl; space--;//shape } cout<<endl; cin>>r; return 0; …

Member Avatar for dohpaz42
-2
191
Member Avatar for vedantham

in cxgrid on right click on view there is a option set as default what dose it do?????

0
81
Member Avatar for cVz

Good day I'd like to find out how to change the color of a row on a page startup in Delphi 7 pro with an Express Quantum grid 6 What i am trying to achieve is this if Quantity in stock = >10 row color should be green... if Quantity …

Member Avatar for vedantham
0
1K
Member Avatar for Teseng

I'm using Delphi 2009, and I can't figure out how to preserve transparency when converting a TBitmap to a TIcon and assigned it as the cursor, its always square and has the white background. Can anyone tell me how I could draw to the bitmaps canvas, and convert the entire …

Member Avatar for Teseng
0
555
Member Avatar for Pinchanzee

I'm quite new to Python (and programming past pascal) so I'm looking for a relatively simple-to-understand way to do this. All help is much appreciated. I'm looking for the program to take a variable as if it were just normal code, I'll explain via example. I want the code to …

Member Avatar for Pinchanzee
0
159
Member Avatar for Mithrandir85

hey there Everybody... I want to have a unit, without a form attached/declared, and have only a recorrd and a bunch of functions, though the functions dont neccessarilly have anything to do with the reccord... so my question is where do i put the public declaration? or do i do …

Member Avatar for Mithrandir85
0
107
Member Avatar for instinctfx

Howdy! Ive been working on an application now for number of months for a client and have developed a small application that uses a firebird backend (ver 2.1.xxxxx) Now, i managed to fix a permissions issue on Vista with firebird BUT when i run this same app with the database …

Member Avatar for instinctfx
0
154
Member Avatar for khipasi

Hi, I am trying to populate a listview with the data that is entered on the Edit box, but I am getting errors: Form1.Listview.Insert(0); Form1.Listview.Items.Item[0].Caption := Name{Name in the Diaolog Box) Please help.

Member Avatar for khipasi
0
98
Member Avatar for sbedford

Hi I am trying to create a delphi program to autoinstall other multiple utilities such as adobe reader, winamp etc. I am firstly wondering how to execute an external exe file. and also, is there a way to pass mouse clicks through delphi to this external program? Thanks Sean Bedford

Member Avatar for david Booch
0
324
Member Avatar for Adaltino

Hello! My service ([U]not windowed application[/U]) for winXP (32) creates a list of processes (like task manager) and setts every process to run in just one CPU in multiproccessor system. 1) when I try to get the [B]handle[/B] of the process I get error: "The handle is invalid". If I …

Member Avatar for Wolfgan
0
861
Member Avatar for skoff

Hi i just want to know how can i display the item i selected in a listbox into a memo? Example : I selected in my listbox Item : Banana When i click it in the listbox, Banana will be added in my memo. thank you

Member Avatar for Wolfgan
0
119
Member Avatar for ecostas

Hi. I'm still learning how to use dbExpress, after using Zeos and Delphi 5 for many years. I wrote a small program to import data from a MySQL database to another MySQL database totally different in terms of layout. It worked all right, though I'm afraid some of my clients …

Member Avatar for Sagar14
0
238
Member Avatar for revski

Hi i am looking to use a totally custom built UI with a piece of software i am writing in delphi. i have ofc seen this done many times in programs like itunes and windows media player etc, where the standard windows aero frame is not used... i have never …

Member Avatar for revski
0
176
Member Avatar for Muscipula

I remember the days when I programmed in assembler and managed to work very fast having complete control of my programs and not endlessly banging my head on the windows wall when dealing with the Microsoft side of my software. Below is an example of some code that is simply …

Member Avatar for Wolfgan
0
607
Member Avatar for Pascal123

Hi all, I have written a program in pascal, but am having problems remembering how to validate my code, the user is asked to enter a number, but they are only allowed to enter 1,2, or 3. How do i write the code so that if any other number is …

Member Avatar for Wolfgan
0
2K
Member Avatar for srianduma

hello i want to print my customers invoice in dos print. the customer is using roll paper. for tearing purpose i have ejected some part of the paper. for the next bill the printer should automatically bring the paper where it has been teared. what is the code. i am …

Member Avatar for Wolfgan
0
115
Member Avatar for suryakantb

Hi, I am sharing a tips on "Identifying Files From Their first 4 Bytes Or Magic Numbers" related to Delphi Sometime back I faced the task of having my application take file data from stream and save them on disk in their original format. Now, the tricky part was that …

0
92
Member Avatar for venuvasulu

What are the different posibilities of getting "Invalid floating point operation" in dephi applications?

Member Avatar for deyken
0
433
Member Avatar for MrNoob

hi, I have some problems with winsock library so I am calling loading it dynmically then calling the functions so far so good,but the problem is for example I see in the winsock2 header files that - GetHostByName and some other functions are which I use there prototypes is kinda …

Member Avatar for UncleLeroy
0
98
Member Avatar for Pinchanzee

Hey guys, new here. Decided to start learning Python and this community looks like a perfect place to learn with the help of others. A bit of a forum-related problem at the moment though, when the browser is loading "ad.amgdgt.com" it takes about 4 minutes to load each time I …

Member Avatar for Pinchanzee
0
96

The End.