1,899 Topics

Member Avatar for
Member Avatar for Locria

Hey, I've been busy coding combo boxes to filter a database but the problem is they don't work together. e.g. If i select a car type, it shows all the cars of that type but if i select blue in one combo box and a car type in the other …

Member Avatar for fayyaz
0
581
Member Avatar for revski

Hi, i am trying to add Label captions and Combobox text values to a memo when the button is clicked, and keep recieving the error 'Incompatible Types TString and TCaption' when i try to add values from labels and comboboxes Im using the code like this: [code]Memo1.Lines.AddStrings(Memo2.Lines); Memo1.Lines.AddStrings(Memo3.Lines); Memo1.Lines.AddStrings(Edit1.Text); Memo1.Lines.AddStrings(Label1.Caption);[/code] …

Member Avatar for pritaeas
0
410
Member Avatar for revski

Hi, i am trying to get my application to check, which radiobutton is selected, and then perform instructions based on the selection. but i cant seem to use a IF and ELSE procedure to do this, can somebody help me out as to what procedure i should use.

Member Avatar for revski
0
255
Member Avatar for araldi

Hello. I'm trying to connect with an Oracle database but i can't. This is the code that i have write: dbConexion : TADOConnection; dbCursor : TADODataSet; begin dbConexion := TADOConnection.Create(nil); dbConexion.ConnectionString := 'Provider={Microsoft ODBC for Oracle};Server=ss-server;Data Source=;User Id=id;Password=password;'; dbConexion.LoginPrompt := False; dbConexion.Open; I don't know whats wrong there. User id …

0
74
Member Avatar for M1cH

Hello EveryBody..., My name is Michael. I come from Indonesia. If I have some problem which is IT things and I want to Ask for help to this Commmunity, What do I have to do? and How?? My Problem: How to Call Microsoft Visual C++ 6.0 Object File from Borland …

Member Avatar for saubhagya dhal
-1
61
Member Avatar for Vdub.za

Hi guys, I am still a bit new to delphi and was wondering if someone can help me. I need to figure out how to write a search engine into an app i am writing in delphi. any help on how i may be able to do this would be …

Member Avatar for Vdub.za
0
259
Member Avatar for araldi

Hello, Firstly I would like to say sorry for my low level english. Well, my problem is I am trying to do a program wich read from a xml file. I am programing in delphi 6. This is a part of code where you can see the commands that I …

0
49
Member Avatar for revski

hi i have a question about formatting combo boxes. i have 1 combobox on the form with a label and a calculate button, the combo box is layed out like this 180 / 50 like a tyre size. The calculation to be performed is the 1st number X the 2nd …

Member Avatar for revski
0
147
Member Avatar for turbomen

Dear ALL, Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question? [code] Complete the table below to show what each variable holds, …

Member Avatar for pritaeas
0
149
Member Avatar for =OTS=G-Man

Sorry if this is in the wrong section but there really is no category that matches what i need to ask, I only posted here because it seems a lot of Delphi people use DBISAM. Basically, I read the manual and see where I can read the current auto_inc value …

0
115
Member Avatar for lapassion

Hello everyone... I'm having a problem with RichEdit and its default scrolling behaviour. When a new line is added to a RichEdit (via a Timer OnTimer event), it autoscrolls to the bottom, which is fine. The problem is, while it scrolls to bottom, it also resets the horizontal scrollbar to …

Member Avatar for lapassion
-1
270
Member Avatar for prefer

Hi everyone! I think I'll be on here allot from now on, pretty useful forum, well done! Anyways, I'm doing a project for school and it's got me stuck. See I didn't understand the error message the compiler gave me at first, but then I read it on ...some website, …

Member Avatar for House_of_Dexter
-1
253
Member Avatar for havoc433

Hi I'm using the Pascal language and I need help with the following problem. You need to find the most common word read in by a user of arbitrary length and then display the amount of times its found in the input. I placed all the words into a linked …

Member Avatar for FlamingClaw
-1
283
Member Avatar for Jayno4

hi i need to write a logon code for delphi 7 that logs on to someone and then if they get the password wrong 3 time they get locked out. i am completely stuck i have a log on code written but i don't know where to go after that. …

Member Avatar for FlamingClaw
-1
214
Member Avatar for marygreen

Hello guys and girls. Any idea how to find containing numbers of one specific number. For example number 10: 10 = 9+1 10 = 8+2 10 = 7+3 … … I tried to do something like ‘random(10)’ but got nowhere with that. Cheers to all, marygreen

Member Avatar for marygreen
-1
116
Member Avatar for turbomen

Dear ALL, Could you tell me what is wrong of my program? The problem is the following wording are often restart: "PLEASE RUN THIS PROGRAM IN A MAXIMUM WINDOW..., TONY YEUNG PRESENT... How can I add some music for it? How can I change the colour of the font and …

Member Avatar for FlamingClaw
-1
122
Member Avatar for Kirky89

I am struggling to work out how to use the Round command, I have bolded the area in which I need it. Thanks for the help in advance. Edit: Forgot to add, we have to round the number up. [code]program lab12exc3; {$APPTYPE CONSOLE} uses SysUtils,ourcrt; var length,width,height,area,litresPaint,metresPaint : real; procedure …

Member Avatar for FlamingClaw
-1
121
Member Avatar for ahluka

I've just started using Delphi and right away there's one thing I can't do in a VCL forms application: destroy it properly. At the moment I'm calling Form1.Destroy which appears to work, but if I look at the processes list it's still there and Delphi refuses to write the .exe …

Member Avatar for nick01522
-1
154
Member Avatar for M1cH

How to call C Object (Microsoft Visual C++ 6.0) from Delphi (Borland Delphi 7)?? email me: <EMAIL SNIPPED>

-1
57
Member Avatar for turbomen

Dear All, Could you tell me how can I read from the hotseat.txt file all the records and sort by first name. Finally, list the sorted results on the screen. Cheers, turbomen

Member Avatar for FlamingClaw
-1
133
Member Avatar for TomRandall

Hi all, I don't use Delphi often so this is probably a stupid question again, but why does Delphi (7) re-index arrays when they're passed to a function, as a simplified example... [CODE]program example; {$APPTYPE CONSOLE} uses SysUtils; var numbers: array[1..5] of Integer = (10, 20, 30, 40, 50); procedure …

Member Avatar for FlamingClaw
-1
178
Member Avatar for especta

hi i use OverbyteIcsWSocket + DCPcrypt2 i have try to make TCP server with md5 Authentication + 3des crypt example: user name = somtimg pasword = pass and des key = 1020304050607080901011121314 i have got this mesage from client ( Server random key length is 19 and must be 14) …

-2
67
Member Avatar for Torando

I have an old game written in delphi and the game keeps crashing, the game is an mmorpg so there are constantly people online. To the problem, when we first start the game up, everyone can get on fine and play. The game stores variables into text files for each …

Member Avatar for farhan386
-1
523
Member Avatar for safder00

I have installed Urdu (An Asian right-to-left language) on my computer (OS Windows XP) by >Control Panel>Regional and Language Options>Languages>Details>Add. I can change language from language bar on my task bar. In RichEdit I just want to change the reading order to right-to-left and alignment to right. But the language …

Member Avatar for fayyaz
-1
73
Member Avatar for shado.028

Hey all. Ill put this simply. {assigning 52 jpeg's to 52 different TImages} [U]What i have:[/U] for x:= 1 to 52 do case x of 1: img1.picture.loadfromfile(1.jpg); 2: img2.picture.loadfromfile(2.jpg); 3: img3.picture.loadfromfile(3.jpg); 4: img4.picture.loadfromfile(4.jpg); i think you get the picture. [U]What i want:[/U] some way of programmatically selecting a certain image …

Member Avatar for fayyaz
-1
104
Member Avatar for marygreen

Hello to guys/girls on the forum. Question I have is following. How to speed this loop? [code] begin var i:integer; begin for i:=1 to 9999999 do begin //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + '+(floattostr(a3.value)); //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + '+(floattostr(a3.value)); //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + …

Member Avatar for jng
-1
104
Member Avatar for turbomen

Dear ALL, Could you tell me how can I write a program that writes to a text file, the 32 people that are in our hotSeat.txt file. Cheers, turbomen (p.s.: 'the question orginally ask me to write a program that writes to a text file, the 32 people that are …

Member Avatar for House_of_Dexter
-1
181
Member Avatar for Levike

Hi, A have a DLL with a header written C: [code] __declspec(dllimport) int ReadData(char* port, int baudrate, unsigned char block, unsigned char nrblock, unsigned char buffer[64], unsigned char* message, BYTE password[6] ); [/code] I want to use the DLL in my Delphi project, but I can't figure it out how …

Member Avatar for House_of_Dexter
-1
220
Member Avatar for johnng815

HI to ALL Bro , Urgently need some advice from bro and sis here. I am totally fresh in delphi. I have an existing dll which wrote and done by ex-coll . All the function is working well with my vb6 or .net program since last few year. Recenlt i …

Member Avatar for House_of_Dexter
-1
126
Member Avatar for SamoaJoe01

Hi, I'm encountering a frustrating problem in Delphi. I've written several very long programs to demonstrate certain things related to neural networks. As such, the program GUI has many things on it that are updated per iteration of the solver: from labels, to memos, to editstrings, etc. The two main …

Member Avatar for House_of_Dexter
-1
1K

The End.