1,899 Topics

Member Avatar for
Member Avatar for bbradley

I'll make it blunt of what I can't seem to get my head round. I have two edit boxs, values in both, and I want the value in editbox1 to be added to the value in editbox2. And then the value appear in editbox2. If you can think of a …

Member Avatar for jsosnowski
0
201
Member Avatar for dad45

I have a Tmemo component that can display 10 rows with the current font. There are currently 5 rows assigned, i,e Memo.lines.count -1 = 4. Is there a way to detect when a row is clicked that is greater than the last assigned/displayed row. Example: If I click it the …

Member Avatar for jsosnowski
0
124
Member Avatar for zoe256

I've written a program in Delphi 7 on my Windows XP computer that obtains values from a serial port (using ComPort) and puts them into a MySQL database. (I've got all the connectors and service set up) but when I try to run the .exe on a Windows 2000 computer …

0
74
Member Avatar for yotamlem

Can any one help me, I need to find\build a tool that converts TDateTime (number) in to string that is the date it represents. I want to put this in the Delphi 5 environment as a button or addon or somthing.... Thanks.

Member Avatar for jsosnowski
0
89
Member Avatar for superseven

Hi ALL Can any one help me here, I've got a files that contains graphs and all other things that I need to run in delphi but my problem is that there file is in dgn extenstion so I don't know whether does delphi this extension. If yes, What can …

Member Avatar for RoryGren
0
70
Member Avatar for jsosnowski

I intend to write a new Actionlist component to meet special requirements of a program. The list will be limited to 20 items that must also include several additional properties in each ActionListItem. My question is were can I find samples (or can someone explain) how to create an Actionlist …

0
78
Member Avatar for ralf_altman

I convert my program from Delphi6 to Delphi2007 and only get it work on Window Vista if: 1. UAC (User Account Control) is OFF. 2. or if UAC is ON. then I have to select the program short cut on desktop, right click and choose "Run as administrator" Is there …

Member Avatar for superseven
0
104
Member Avatar for superseven

Hi All I've searched without any success to find how to create RTF files using delphi 7. What I want to do is to create an RTF files with Grids and Graphs but I really don't know where to start. Can any one help me with this. Thank you!!!

0
67
Member Avatar for murlan

Hi everyone, this is my first post here. I apologize if it's not the right forum to do so and please move it where appropriate. I am using a very standard (tsk-750) barcode scanner for a database I have designed for a friends' video rental store. The stand for the …

0
56
Member Avatar for dnk

please help me.. there anyone know how to reverse strings??? i really don't have idea for this.. please helps...

Member Avatar for Jx_Man
0
218
Member Avatar for DarknessX

I'm new here, as you can most likely tell by my low post count... but my question is simple. What procedure/commands/whatever would I need to make the computer restart or shutdown? I have google'd for a looooong time to find this, but found absolutely nothing. Does anyone have some help …

Member Avatar for bobo_joker
0
294
Member Avatar for Thew

Hi, I don't know if you know something about TALWinInteFTPClient, but maybe it doesn't depend on it. I am using this class to access to the ftp server. I connect, then I check the connection and everything is good. So I need to get the tree of files and directories …

Member Avatar for Thew
0
161
Member Avatar for Thew

Hello, I want to put some files together, but I have problem, when I'm trying to write data into opened file from another file. Structure of compiled file: - Head: total count of files in file - Sizes: names and the sizes of the files - File Streams so I …

Member Avatar for Thew
0
2K
Member Avatar for ecostas

Hi. I used [B]Infopower[/B] for a long time but I can't afford to upgrade it to Delphi 2007. With Infopower I got TwwDBLookupCombo that allowed me to display a value, for example, a text ID, while updating the record with an internal ID. To place the component into the grid, …

Member Avatar for ecostas
0
415
Member Avatar for EnderX

I am working on a program designed to map a networked drive to a Linux Samba share. I have been requested to give the end users a way to select what drive they want to map. I know that some drives are off limits for use; (A:, C:, and the …

Member Avatar for Duoas
0
1K
Member Avatar for RetroMIDI

Need help to access Ethernet network and send and receive small packets of data. I have to write this is Borland Pascal 7 under DOS. Any ideas?

Member Avatar for predonescuion
0
97
Member Avatar for Petez

Hi well ive got school project and well found this site looks like real deal not like the fake ones ive registered 2 and this site can really help?... Well ive done most of my programmeing just cant figure the search code i cant get..... I need to say type …

Member Avatar for ExplainThat
0
181
Member Avatar for sura17

This is what i have done so far:- [CODE] Program ssd; uses wincrt; var x:real; Begin x:=1; repeat clrscr; gotoxy(32,0); writeln(x:5:2); x:=x+0.001; until KeyPressed; clrscr; gotoxy(20,0); writeln('You Have Filled The Amount Of £',x:5:2); end.[/CODE] This is my ticker, it goes up on 0.01's forever but its slow and i did …

Member Avatar for glindhot
0
259
Member Avatar for mfran2002

hi everybody, i'm using TNMFTP component on delphi no problem at all (download, delete, rename, connect...) but when i try to use UPLOAD method to put myfile on ftp server it return me this error: "CANNOT OPEN FILE myfile" and then "access violation"... why it's trying to open the file? …

Member Avatar for mfran2002
0
122
Member Avatar for jsosnowski

I have created several new components but cannot get them to appear in the tool palette. (BDS2006). The components are created in a package that compiles. The package includes the register procedure in the Interface and the implementation sections as follows: Procedure Register; Begin RegisterComponents('JESComp', [TcolorButton, TAButton, TBButton, TCButton, TDButton, …

Member Avatar for jsosnowski
0
306
Member Avatar for rui711

i need to know how to trap all the inputs from a barcode scanner connected to a usb port

0
64
Member Avatar for Vega_Knight

Anybody know how to do this?? i really don't have idea with this. please helps. thx in advance.

Member Avatar for Jx_Man
0
189
Member Avatar for Hermpie

hey there i made a second form and when you click a button it pop up, but in the code of the first form it can see form2 but not the buttons of form2 could pls send the answer to [email]kotsz@live.nl[/email] bc im not that active here, i hope ill …

0
61
Member Avatar for dnk

please see my code : there are something wrong?how i can check if stack is empty?? NB : isi = content of stack atas = top of stack tumpukan is stack [CODE]function POP (var T : Tumpukan) : integer; begin POP := T.Isi[T.Atas]; T.Atas := dec[T.Atas]; end;[/CODE] anyhelp will be …

Member Avatar for Jx_Man
0
163
Member Avatar for Vega_Knight

i make push procedure but its not working, there something wrong with my code?? please see my following push procedure : [CODE=pascal] procedure PUSH (var T: Stack; var Full: boolean; X: integer); begin if T.Top = MaxElemen then Full := true else begin T.Top := inc(T.Top); T.Contain[T.Top] := X end …

Member Avatar for Jx_Man
2
151
Member Avatar for Thew

Hi, I need to send file from my computer just with public IP to another PC which has public IP too. Is there any way how to send it directly?

0
46
Member Avatar for manutd4life230

create an array of marks [1..5] then create a while loops to ask the user for 5 marks then displayed all stired marks. [code=pascal]program marks; var mark:array[1..5] of integer; x:integer; counter:integer; Begin counter:=1; x:=1; while (counter<=5) do begin writeln('input marks'); readln(mark[x]); x:=x+1; counter:=counter+1; end; writeln(mark[3]); end.[/code] thankx in advanced for …

Member Avatar for ExplainThat
0
132
Member Avatar for sura17

Just a few questions:- [LIST=1] [*]Can you add colours? [*]Can you create boxes? [*]Can you update constants? [*]can you create drop down boxes? [*]can u assign a keyboard key to a letter/number? [*]is there something so when you press a key that the window closes? [/LIST] thank you :):)

Member Avatar for Micheus
0
140
Member Avatar for adrive

I'm just curious, I was using setLength to increment my arrays all the while but i've been hoping.. is there any push and pop functions for delphi so that i can dynamically put values into my array without having to code anything myself to increase the array size?

Member Avatar for MoZo1
0
2K
Member Avatar for Aborad

Hi there, I just bumped across this website through google and found it very neat. I am self taught at Delphi, and know very little. I know there are quite a few ways to send the virtual keypresses, but I only know of one and I doubt I am using …

Member Avatar for Aborad
0
2K
Member Avatar for JamesX4334

Hello, I am a first year computing AS student coding a petrol pump program. You can see the specification [URL="http://pascalproject.wordpress.com/2008/01/31/project-specification/"]here[/URL]. I am a little stuck and I was wondering if anyone could point me in the right direction. I have coded a seven segment display using arrays, procedures, write lines …

Member Avatar for JamesX4334
0
148
Member Avatar for urosv

Hi all... I have a problem and need to get your point of view regarding card game. 1. I need to build some kind of animation on event to flip playing card from back side to front and vice versa when needed. My idea is to assign picture to Timage …

0
48
Member Avatar for sony112

can some1 help me on petes petrol pump in delphi please just a little problem

0
67
Member Avatar for sony112

if you have completed the petes petrol pump in delphi can u email me i need some help asap

0
92
Member Avatar for RoryGren

Hi all I'm self taught and relatively new to programming and have been battling with a TDBGrid's onMouseDown event in Delphi 7. Hopefully I'm missing something small and you masters out there will be able to enlighten me! I have a TVirtualStringGrid and TDBGrid on my form. I want to …

Member Avatar for RoryGren
0
2K
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 sura17

This Is My Code:- [code] Begin gotoxy(31,1); write('Peters Petrol Pump'); gotoxy(31,2); write('=================='); gotoxy(0,4); write('Welcome To Peters Petrol Pump...Here Are Your Options:-'); gotoxy(5,6); write('1. Console'); gotoxy(5,7); write('2. Petrol Pump'); gotoxy(5,8); write('3. Exit'); gotoxy(0,10); write('Please Select An Option...'); read(StartingAnswer); if StartingAnswer =1 then Begin clrscr; gotoxy(30,11); write('Under Construction'); repeat gotoxy(30,12); write('Press Enter …

Member Avatar for sura17
0
88
Member Avatar for manutd4life230

hi program to ask the user a username and a password if pass and username good display OK else clear screen and reask the user for username and password again. this will continue until good username and password entred. using while loops thanks in advanced

Member Avatar for Duoas
0
120
Member Avatar for matabor

Hi guys :) I've just learn programming in turbo pascal, and my teacher made an assignment to make pyramid of numbers as this: [code] 1 1 2 1 2 3 3 2 1 2 1 1 [/code] so far i've only come up as this: [code] uses crt; var i,j,k …

Member Avatar for Duoas
0
362
Member Avatar for Cobus Steyn

Hi everyone I have a simple yet annoying problem. I'm trying to change the selected color in a stringgrid, ie when selecting a cell the background must change color. The grid has no fixed rows or columns and only one column (like a simple list editor). I've overridden ondrawcell for …

Member Avatar for Cobus Steyn
0
170
Member Avatar for vectra17

Is it possible for an imported COM DLL server to be seen as an object in the 'TOOLS PALETTE' ? Thanks.

Member Avatar for vectra17
0
76
Member Avatar for Olsi009

Hi again, this is a simple programme that I can't make work :S in turbo pascal. [COLOR="Green"]Write a program to create a new list and then display it through a Recursive Procedure ( and use 'p' as a local variable).[/COLOR] This is what I could do but considering I hate …

Member Avatar for brijkiran
0
206
Member Avatar for sura17

well i have set two tasks firstly create the seven segement display and do some sort of timer with the 7 segment display, i have done the seven segment display and here it is:- [CODE] Program SevenSegmentDisplayConverter; Uses Wincrt; var Line1 : string; Line2 : string; Line3 : string; x …

Member Avatar for sura17
0
139
Member Avatar for sony112

Can somebody help me make a 7 segment display please i need help i tried it but failed can some1 help me please send it me or just tell me a site where i can get it from

Member Avatar for sura17
0
92
Member Avatar for fgn89

How do I make it show text? I'm completely new to this, my dad's wanting me to make this customer display screen show text, which on paper should be easy.. It's a WD-202 model, pretty common customer display pole, I've called a friend for help and he told me to …

Member Avatar for Duoas
0
606
Member Avatar for afro007
Member Avatar for afarr

I want to fill a matrix randomly with True and False. The code below does produce a matrix where the proportion of True is roughly p, but all the Trues are at the beginning, and all the False at the end (so it looks like it generates the same random …

Member Avatar for MarioV
0
746
Member Avatar for EnderX

I'm working on a program designed to draw numeric summary information out of a database. The user can select four criteria via dropdown combo boxes, and the information is displayed in a string grid (TStringGrid component). A second string grid component is used to hold the highest-level division of the …

0
53
Member Avatar for marlow08

I don't know why the next program doesn't find an element of the array. [CODE=delphi] program rec; {$APPTYPE CONSOLE} uses SysUtils; procedure intarray(a:array of integer;longar:integer); begin if longar>=0 then begin write(a[longar],' '); intarray(a,longar-1); end; end; procedure exist (a:array of integer;num2,longar:integer;found:integer); begin if longar>1 then begin if a[longar]=num2 then found:=1 else …

Member Avatar for Duoas
0
74
Member Avatar for doniking

Hello, How does my application know when another application window has lost its focus. I want my aplication can track if the active window has changed. Please paste some code about using shell hooks and HSHELL_WINDOWACTIVATED or without hooks to do this task. Thanks!

Member Avatar for Duoas
0
76

The End.