2,103 Topics
![]() | |
Hi, I can't seem to find any information at all...about how I can assign an Array into TStringList. I'd like to do something like that : for i:=0 to 10 do begin vArr[0] := intToStr(i); vArr[1] := intToStr(i + 1); vAStringList.addObject(inttostr(i), vArr); end; I'm trying to build a data structure … | |
How to code Poisson distribution in Turbo Pascal ? tnx in advance | |
can anyone give me a link to a good turbo vision tutorial. i have been searching for one for months now and would be greatful for any help. | |
1. "Memo1" component that hides value such as 100,200,300 or 450 ounce etc. 2. "Memo2" component that hides value such as 50,100,150 or 225 ounce so the component will store the decreasing values from 100,200,300 or 450 pounds. Thus the bar image's height will be 50% of the barimage old … | |
Hi All how can I change System time format From hh:mm:ss(12 Hour) to HH:mm:ss(24 Hour) Using Delphi code? Thanks ![]() | |
hie guys. i am very pleased to join you on this site which so far is proving to be more helpful than i expected. i am from zimbabwe and currently doing computer studies with a local college. i hope you mates will assisit me with tutorials. i am hoping to … | |
I have a Listbox with different numbers that can be added at any time through a TEdit. How can I take each item from the listbox and just simply add them to get a Total Amount. For example.. Say My Listbox looks like this: 14.00 2.00 7.00 13.00 how do … | |
How do I list the number of elements in a vector, i.e test : array[1..10] of string; ? | |
plenty of examples on the net for I think pascal version .00000011 hehe I cant seem to get it to work properly. Better yet, a component to load binary files into a memo, listview, richedit, etc would be even better. Any ideas? Ive been looking into this for a few … | |
i want only[B]5 (five lines of codes)[/B] for a win32 application in delphi u can use resource file and dpr file can any body help | |
I have a new program I am working on and I would like to repeat a portion of code to redo the same thing again, and again. When the program starts, it will give me a number from my NIC card (I think). Ok so I have it going to … | |
Hi, maybe can you can help me. I need to write a pascal a program which would read text file from hard disk and would sort all text's words to 3 columns, and would save results to the another file. Let's say that we have no more than 1000 words … | |
· The complete arithmetic expression will be read from a input file. An equation will not cover more than one line and may be assumed to be entirely valid. The input file will contain a single equation For example the file might contain the following: 56 – 12/3 + 1 … | |
I know this must be painfully simple to do, but I cant seem to find any text that makes sense to me regarding how to actually do it. Basically I have program "X". Program X has the TTrayIcon component added to the MainForm. From what I have read, the need … | |
I am workring on a program that can simulate an array of disks and from an event list, record their mean time to failure (mttf), mean time to repair(mttr) and stop the program when it encounters dataloss. so we would also need to record the mean time to data loss … | |
Hello, I'm trying to use [URL=http://mediainfo.sourceforge.net/]MediaInfo[/URL] library in python via ctypes. I tried this code: [CODE]import ctypes milib = ctypes.cdll.LoadLibrary("mediainfo.dll") handle = milib.MediaInfo_New() milib.MediaInfo_Open(handle, "D:\temp\video.avi") [/CODE] Unfortunately the last line complaints that there are not enough parameters for that function. I based this on a sample Delphi code, which is … | |
Hi, maybe can you can help me. I need to write a pascal a program [B]which would read text file from hard disk and would sort all text's words to 3 columns, and would save results to the another file. Let's say that we have no more than 1000 words … | |
Hi. When i run a dephi 7 project the executable file is created with only 1.9mb size, actually it should have been around 7 mb. Can any one help me ? | |
I don't know what the proper name is for it lol, but I have an assignment. I am fairly new to delphi. I understand the homework rules so I don't expect it all to be done I just need help in the understanding and feel free to help as much … | |
I use TDE. I've got MainForm with FormStyle = fsMDIForm. And the second form, base one: TBaseForm with FormStyle = dsMDIChild. From TBaseForm I inherit next forms and they behave right. (all closing things are done in TBaseForm). Also in TBaseForm WindowState = wsMaximized. I inherit from TBaseForm a form … | |
Hi friends again. Can you tell me how I will justify right edit box components in delphi. Ok I have found the memo to justify right for my input variables. But when I delete the text inside the memo components. Some of strings in memo components are not coming to … ![]() | |
I have been working on this for days and it's the most annoying error. For some reason, everything works correctly the first time through, as you can see from the sample output. However, if you go through a second time (as the input is from the command line, i.e. if … | |
Hi All, Is it possible using POP3 INDY component for DELPHI 6 to receiving email wiht port 995??. If posible, What Steps I should do??? Thanks You. GBU DODOL | |
Hello, guys! I have to make a program with the following features. - [B]array of records[/B][code=Pascal]TYPE employeeRecord = RECORD name: STRING; surname: STRING; age: Integer; END; employeeRecords = ARRAY OF employeeRecord ;[/code]- [B]a procedure/function to ADD data into the array[/B] I did this one and I think it is working … | |
I have one form that is doing a security check. if the serial number or whatever is found, then a button will appear to open the actual program. Welp, that isnt working out so well. How do I have a Tbutton open another form and close the first form? This … | |
Please...i ask helping from..all .... i want to write sound value from dinamic array,,to save in .wav type... i tried to write header .wav and result it i think is true... but i still confused how way to write sound value.. i put sound value in array, name is hasil_wav,,, … | |
Hi, I want to learn whether any components such as coloured bars whose heights are automatically changing in the two values which comes from one editbox. If I write 50 to editbox, The colour bar will be half of its height automatically. If I write 75 to editbox, The colour … | |
Hi, I want to learn whether any components such as coloured bars whose heights are automatically changing in the two values which comes from one editbox. If I write 50 to editbox, The colour bar will be half of its height automatically. If I write 75 to editbox, The colour … | |
I am wanting to start working on writing a program that will input a search string into a search engine, such as google, and then read out loud the first result that it receives. I took programming in High school, but all we learned was Qbasic and Turbo Pascal. I … | |
I used 3 timer component and I m using one checkbox. And I have three procedures for timer1, timer2 and timer3 and I writed below these in my unit code explorer. Note that band1,band2 and band3 are images that will be animated ordinarily. [COLOR="red"]procedure TForm1.Timer1Timer(Sender: TObject); begin timer1.Enabled:=true; timer1.Interval:=2000; band1.Visible:=true; … | |
im programing student our master wanna me make this program with 0.1 accuracy i use "writeln(h:nr:nl)" that was wrong this is original program 2 cal sum of 1¹-(2³/3!)+(2⁵/5!)-(2⁷/7!)+(2⁹/9!)…+-(2ⁿ... program p1; var n,i,sign: integer; h,p,fac: real; begin h:=1; p:=2; sign:=-1; fac:=1; readln(n); for i:=2 to n do begin fac:=fac*i; p:=p*2; if … | |
I'm having no problem adding components to to the Palette in Delphi 2007. Generally I do this by adding units to a .dproj and then installing the .dproj. I've tried to delete a unit - and that appeared to work. Later I tried to add the unit back into the … | |
I'm having trouble creating a RES file (for a visual component). This was easy under XP as I had the file extension for all .rc files set up to run RC.EXE. I am now using Vista and can't find the RC.EXE file. Also, do I need to make changes in … | |
I used 3 timer component and I m using one checkbox. And I have three procedures for timer1, timer2 and timer3 and I writed below these in my unit code explorer. Note that band1,band2 and band3 are images that will be animated ordinarily. procedure TForm1.Timer1Timer(Sender: TObject); begin timer1.Enabled:=true; timer1.Interval:=2000; band1.Visible:=true; … | |
Now I want to know how I will short my code lines within one procudures just as sharing of events in only one procedures. for now I have written my program code like that but I want to learn how I will use events for 5 components within IF conditions. … | |
Okay, I got a school assignment and got a problem here. It says that: D:\Skola\Programmering A\Inlämningsuppgifter\inlupp_2\Inlupp_2.pas:5: parse error before `:=' I know there's wrong with the array, but I want the user to write how many letters his/her name contains so that the array can take each letter out later … | |
5 Advantages of Using Procedures Within Pascal Programming? any help here please? | |
| |
Ok Now I will send you my code procedure TAnaform.TrnsferButton1Click(Sender: TObject); var i:integer; begin for i:=1 to 82 do TLabel(DisplayForm.FindComponent('Label'+inttostr(i))).caption:= TMemo(Anaform.FindComponent(('Memo'+inttostr(i)))).Lines[0]; DisplayForm.Show; end; But when I entered the '0' inside "lines" property of memo components in object inspector instead of "Memo1","Memo2" and others... the code is working truely. If I … | |
Hi. I know it must be something really stupid but I've been stuck with this problem for hours now. I have always used Zeos DBO with Delphi 5 but, as I bought Delphi 2007, I decided to turn to dbExpress. Things are starting to work but my first query with … | |
All the help I have received in here has been wonderful and I am very glad that there are good people in here to help us newbies. I know I sure need it! So these last few things would be nice to get some help with and then I will … | |
Again hi. I want to learn about how I will write these two components :Label and Memo using one loop such as "for" loop in delphi. For example: I have 50 memo and I m transferring the strings in line 1 to labels. Can you help me about how I … | |
Hi Can you tell me how I will add labels to buttons in delphi? When I add labels to button the labels are coming under the button but I want to see the labels on the button just as tag of buttons can you help me about that problem. Thank … | |
Hİ THANK YOU FOR YOUR LABEL COMMENTS LETS FORGET THAT QUESTION. I have chosen it with a different solution and :). now I want to know how I will use the message buttons with if conditions... I dont know why my message dialog box's message values are passive in my … | |
Hey all, I have been stuck on this problem for weeks now. Basically I took a variation on Wirth's compiler and adding some more functionality to it. I needed to add FOR loop and CASE statement functionality to it. I have the bulk of both of them done but when … | |
Hi All, Any one know What steps should I do if I program pop3s using indy for D6. But the used port is 95.?? Before I use 110 it works because now using SSL using 95.. It doesnot work.. What should I do with Indy for D6 change from port … | |
hey there, does anyone know a way that will allow the user to enter as many positive integers as they want, for each one i need a message to appear that states whether the number is odd or even? cheers guys | |
I am a newbie in pascal. I'm going to write a procedure that can convert the text inputted into the menu. ChooseOption(' Yes No '); Output: [COLOR="Red"]Yes[/COLOR] No When Down arrow key(#80) is pressed, then it go to the "No" option and change it's colour. Anyone can code this , … | |
I find it interesting that QBASIC is mentioned for several reasons: 1. This language and any of its predacessors are hardly used these days. And, if they are, it's most likely for nostalgic reasons. At one time, I remember, some schools used it for introductory programming courses. For a time, … |
The End.