2,103 Topics

Member Avatar for
Member Avatar for vegaseat

A function that takes a string and returns the number of words in the string. An example of using pointers in Pascal.

Member Avatar for BitFarmer
0
2K
Member Avatar for zahmatkesh

hi i have a table with 1 milion record. i want to sort and read in 1000 groups. i can read diffrent groups but i want to apped 2 datset to each other. how can i do that? pleae help me. thanks

Member Avatar for BitFarmer
0
101
Member Avatar for marygreen

With Delphi, is it possible to make a grid like in java word-search puzzles? I have a collection on word-search puzzles for children (pdf files) and wish to make small app of it (they’re already done; I need just to set them up). I could make it work if each …

Member Avatar for BitFarmer
0
104
Member Avatar for fayyaz

Hi I Have Some Problem with ScrollBox As Below 1- If I Put a ScrollBox On a form and Put Some Objects such as TButton,TImage , .... on it If I move an object to right (or down) and trepass right side (or Down) of ScrollBox the horizontal (or vertical) …

Member Avatar for BitFarmer
0
785
Member Avatar for mohsennour
Member Avatar for AKJo
0
110
Member Avatar for Vdub.za

Hi there, Me and a buddy are having trouble in getting shellexecute to work in delphi 7. No matter what permetation of the word shellexecute i use, when i want to run the app shellexecute is not recognized. so how do i get shellexecute to work. been trying to get …

Member Avatar for BitFarmer
0
3K
Member Avatar for TomRandall

Hi All, I'm using a TStringGrid (has to be Delphi 7, and no 3rd party components) I've customised it to allow per-cell colouring/fonts/borders/validation etc, by using a custom onDrawCell method. I really would like to add per-cell tooltips too, but I've been unsuccessful so far. I've modified something I found: …

Member Avatar for BitFarmer
0
632
Member Avatar for prefer

Well, again from my current school project. I've been told to make a traffic light that changes automatically, and you should be able to specify how many times the cycle should run. I have my working version, but I just want to know if there's a shorter way to do …

Member Avatar for BitFarmer
-1
112
Member Avatar for alikSmehoff

Hello, how can I open MS Word application in my Delphi program? I think, it is necessary to work with ActiveX or maybe there is any other way or some free software for this purpose?

Member Avatar for BitFarmer
0
1K
Member Avatar for Vdub.za

HI I want to calculate the amount of days left between now and let's say 5 days from now using daysbetween. everytime i try to run my app, it says that daysbetween is a an undeclared identifier. i want to use this function to limit the length of time a …

Member Avatar for BitFarmer
0
152
Member Avatar for Vdub.za

Hi guys, I got a another question. i want to know how to go about saving a form1 to disk instead of printing it, so that i can email it to someone in a format that can be opened and read by the recepient. like for instance a home loan …

Member Avatar for BitFarmer
0
148
Member Avatar for mohsennour

how i can draw chart for some values stored in Access Data base ? like this kind of chart in Excel chart wizard . i want frist to get the data or nimbers from the data base, then fill string grid by this data , then draw chart or certain …

Member Avatar for BitFarmer
0
91
Member Avatar for mohsennour

hi, my program is to call data from D.Base and fill grid by this data, i want to make some calculation on this data like the addition or the sum of the numbers in certain column or row and which the biggest or smallest number in column or row . …

Member Avatar for BitFarmer
0
108
Member Avatar for Vampirewombat

Name Address1 Address2 Addess3 ---------------- --------------------- -------------------- ------------------- Name1 Address1 Address2 Address3 Name2 Address1 (NULL) Address3 Name3 Address1 Address2 (NULL) I need to take this information and export it into a CSV file with the Owners Address (combination of add1, add2 and add3) As a single string, Then take the …

Member Avatar for BitFarmer
0
647
Member Avatar for CanYouHandstand

Hey All I've recently picked up a VCL delphi project and am quite new to the language. The software so far consists of a main form, with several GroupBoxes and panels covering the entire form. I'm trying to implement some user short cuts, for example when "Ctrl+1" is pressed I …

Member Avatar for CanYouHandstand
0
2K
Member Avatar for amazing_grace

ok, when the user types in a non-exist file name, the program simply shut down. i dont know what happen [ICODE] procedure set_up; begin write('file');readln(file); assign(f,file); reset(f); {$I-}if IOresult<>0 then writeln('NO File....'); close(f);{$I+} end; .... {this is the main program} begin setup; end [/ICODE] this proceure is called in the …

Member Avatar for FlamingClaw
0
199
Member Avatar for especta

i have problem to allow enter only from 1 to 65535 bicouse example if enter 10000,2000 is ok but enter 99 not. hire 1 example (not working) [CODE]If somthing.Text > '65535 'then ShowMessage(' you enter biger Number from 65535'); Exit;[/CODE] hire 2 example (not working) [CODE]var result : Integer; string1: …

Member Avatar for especta
0
221
Member Avatar for frank_albers123

I need to write a program that uses the following function [CODE]def pascnext( L ): currentrow = [] if len( L ) == 0: return [1] if len( L ) == 1 and L[ 0 ] == 1: return [ 1, 1 ] else: currentrow += [ 1 ] for …

Member Avatar for jice
0
112
Member Avatar for josh48

I need help creating a login screen. I don't know how to start it off. I have a newb in devpas so please bear with me.

Member Avatar for FlamingClaw
-1
95
Member Avatar for robso2

l need help to design a bill wth a main screen showing introductin,customers data entry,individual bill,full bill report,exit. the data section should have a customer number,name,actual readind and previuos reading, the bill should show the customer number,actual reading,previous redaing,customer units,price per unit,total,vat,amount to pay. your help is highly appreciated

Member Avatar for FlamingClaw
-1
109
Member Avatar for frank_albers123

I am writing a program in python where in the function I input a row in Pascals triangle and the function returns the NEXT row in the triangle. Below is what I have so far and am getting really frustrate...I'm new at this and bad at iterating things. Can you …

Member Avatar for masterofpuppets
0
310
Member Avatar for quaifp1

Hi, I want to create a line on a canvas ( similar to a visio connector but not as fancy) which will allow a mouseover event to be trapped ( this would trigger a property sheet to display the atributes of the line - a microwave link in my case …

Member Avatar for quaifp1
0
121
Member Avatar for FlamingClaw

This small program shows that how we can arrange strings by alphabet in a vector.By FlamingClaw

Member Avatar for sobari
0
1K
Member Avatar for mohsennour

I have weighing indicator connected to my pc via RS232c , I want to know how I can read the data , how I can store it in access data base? by using Delphi7 programing I tried to read by using hyper terminal (windows start menue-programs-accessories-hyper termial) I used the …

Member Avatar for fayyaz
0
110
Member Avatar for janinesamson

Hey, Is there an easy way with a TListView in report mode, to store a unique integer with each row? I've tried using the ".Data" property, but seem to end up with corruption quite often. I'm trying to do this because I want to associate each row with a primary …

Member Avatar for cao
0
177
Member Avatar for docdoc

My laptop doesn't have a parallel port so I purchased a USB to parallel convertor. I wrote a program which sends data to the parallel port to turn on some LEDS and it works ok on a PC with a built in parallel port but it wont work on my …

Member Avatar for azze
0
178
Member Avatar for marcelmarre

Hi, my name is Marcel. I've been into computers for about 25 years and started programming around that time, too (on a ZX-81 initially, but quickly moving on to a C-64). I studied Maths with Computer Science, wrote a couple of games with a friend while at University, one of …

0
33
Member Avatar for ARC1234

Hi, I am using delphi 7 TClientSocket Component non blocking socket. When data arrive on socket i have mapped TClientSocke.OnRead to MyRead function. function MyRead(Socket: TCustomWinSocket) var begin Log('ReadIN......'); //Class variable MemoryStream := TMemoryStream.Create; RcvLen := Socket.ReceiveLength; MemoryStream.SetSize( RcvLen ); MemoryStream.SetSize( Socket.ReceiveBuf( MemoryStream.Memory^, RcvLen ) ); FReceiveNotify( Self, MemoryStream.Memory^, MemoryStream.Size …

0
75
Member Avatar for Krishna0001

There is an option in 'Run'-> 'Evaluate constant' (Ctrl+F4), but I believe that's not working for variables, how can the values in the variables viewed while debugging (tracing by 'Run'-> 'Step In') Thanks, Krishna.

0
64
Member Avatar for Lord Soth

Note that the angle is in 1/10 of degrees. Any attempt to manipulate font.size or font.color will reset the angle to zero degrees.

Member Avatar for Vector Khanal
0
239
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
584
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
416
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
260
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
78
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
64
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
269
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
52
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
149
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
152
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
117
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
278
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
257
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
287
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
216
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
123
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
124
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
158
Member Avatar for M1cH

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

-1
60
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
136

The End.