2,103 Topics
![]() | |
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, … | |
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 … | |
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 … | |
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 … | |
I need to print a table shown, ie, they see the frames of the rows and columns. | |
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 | |
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] … | |
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 … | |
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 … | |
A simple function that converts alphabetic values into their respective lowercase value. | |
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 … | |
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 … | |
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 … | |
I often see people asking the same question over and over, "How do I learn to program, and where do I start?" Some people may take that question to the next level by asking, "Which language should I learn first?". The answer to those questions is fairly simple, but also … Computer Science algorithm amazon-web-services asp asp.net client-server database-design delphi developer-tools first-post google gui html-css ide java-jsp java-netbeans javascript legacy-mac mac-software machine-learning microsoft microsoft-access microsoft-windows oop operating-system pascal perl python software-architecture unix user-interface vb.net vbscript visual-basic visual-studio web-browser web-design web-server windows-server xml | |
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 … | |
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? | |
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 | |
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 … | |
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 … | |
The arguments are passed by value and by reference | |
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 : … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi How can I protect/lock a drive from deleting files and format it ? Is there a way to hook a drive? | |
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 … | |
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; … | |
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? | |
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; … | |
in cxgrid on right click on view there is a option set as default what dose it do????? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
What are the different posibilities of getting "Invalid floating point operation" in dephi applications? | |
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 … | |
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 … |
The End.