1,899 Topics
![]() | |
[B]Hi all,[/B] Can any one tell me how to export the data from the data grid (or string grid) to powerpoint Slides. I want to export the data as it is, i have been succesful to get the data to the slides,but they are not tabulated. I want the exported … | |
Hello! I need some help to create a program with PASCAL. My task is to read a text from file and create and write the text in new text file (txt). But - [B]if text read from the file consist the word "end" then do not write the rest of … | |
Add a listbox, a 2 buttons, a scrollbar, a progressbar, a openfiledialog and a mediaplayer to your forum and you're good to go. [code] procedure TForm1.Button1Click(Sender: TObject); begin if opendialog1.Execute = true then begin mediaplayer1.FileName := opendialog1.FileName; mediaplayer1.Open; statictext1.Caption := mediaplayer1.filename; timer1.enabled := true; listbox1.Items.add(mediaplayer1.FileName); scrollbar1.Max := mediaplayer1.TrackLength[1]; scrollbar1.Enabled := … | |
1.write an algo that asks a user to input a month and a year. The algo then determines the number of days in that month and year(Note: Take into consideration leap year) 2. write an algo that asks a user to input a date and a month. The algo then … | |
I am trying to create a program that when you enter a word which has a repeated pattern of letters immediately next to one another will reject the password, but otherwise accept it. E.g. London, kiwi, a and onion would all be accepted but Papa, aa, apple and banana would … | |
hello i need help about getting the Unique characters from inputed String.. in Turbo Pascal...thanks in advance! Sample Output: Enter a String: Mississippi Unique Characters: Misp any clue or ideas...or simply the code... :-) | |
I would like to calculate the execution time of my bubleshort program in pascal. is there any function available to enable it?? | |
Delphi has been always a preferred technology to develop desktop based applications, but now we can develop browser based application using Delphi component. Benefits: Transition to browser based easily using Delphi coding Easy debugging Ajax Techniques Full cross-browser applications We can host it on Apache If you are you looking … | |
Hi, I have just downloaded PostgreSQL and would like to add it into my new projects. I have never used PostgreSQL before so I don't know any of its technical details yet. I have registered the PostgreSQL provider using regsvr32 pgoledb.dll or something like that on my Winows partition, everything … | |
Hi I have Turbo pascal and my teacher told us to find how much a guy will earn if he puts in a hundread dollars a month till he's sixty at 5 percent interest. (compound interest that is) Help me please, Here's the code:= Program retirement_fund (input,output); USES winCRT; VAR … | |
exception while trying to create new account.(exception edomparse error in modle xmltrl70.bpl at 00085ff53. xml document must have a top level element. | |
I have 6 rows of items in a ListView within 2 columns that are listed like so: [CODE]1 Milk 2 Pepsi 3 Juice 4 Water 5 Coffee 6 Tea[/CODE] I'm trying to make it so when you modify the number in the first column, it will sort the list based … | |
Hey, I'm trying to code a program and I want to have a line of code in a procedure which will send the user right to the end program. Can anyone help? (it is in a begin-end "part" so I can't enter in another "end" without the begin latching onto … | |
Hi all! i have a problem. From my database im streaming out a file and will save it with filestream.savetostrem() method into the windows temp directory. thats work correctly. after that i open the file with the shellexecute command. and the question: on forms close event: make a method to … | |
I've two procedures (client and server). Object components are InDy9 TIdTCP. SO is XP-HOME. Operations of the che client: // connection . try ... CliSok.Connect(); ... CliSok.ReadTimeout := 1000; ... CliSok.Socket.UseNagle := False; . except ... on E: ESocketError do ..... MesServ(4,'Connessione al server: +#10+'"'+E.Message+'"'+#10+'Riprovare...'); . end; // sending . … | |
hey guys, i just started my AS course of computing in school. we've just started but i've been trying out different things, you know programs and whatever i could get out of it with my basic knowledge. so i decided to try to make a program that will work out … | |
Hi I am trying to execute a TADODataSet by clicking on a button. As of now. whenever I run my delphi program my TADODataSet automatically activates and runs its corresponding stored procedure in sql. I want to be able to press a button on a form in order to execute … | |
Hi. I have a serious problem. I installed Delphi 2010 2 weeks ago, configured it, added components, etc. And now it is PERFECT. BUT It started yesterday. When I open for example a new project (this problem happens everywhere) and I go to CODE editor I can't do anything. Well … | |
Procedure which checks the number of eating properly entered in edit box with a comma | |
I'm writing a program to keep record of my e-books and to open them. I have a record declared in Delphi 7 like this. [CODE]BookLibrary = record AuthorName: String[20]; BookName: String[20]; PDFLink: String[200]; end; [/CODE] Now my question, is it possible to edit a record later on so that one … | |
Hi everyone, Before i outline my problem, i DO have an alright idea of how i'll code this thing, it's just i'm unsure and wondering if there's a better or shorter or a more simple way. Ok im at the end of my current term of programming and it's Assignment … | |
I want a random timer in pascal, but i have always problem with the number typs. I'm thinking on a machinke what generates a numer between 10 and 60 seconds. Delay in the background, but if time ends writeln The time has ended. What you think is it possible? | |
Hello to everyone, I'm a problem with InDy components, that I do not know well, becaus I used Socket components (Delphi 5) and during migration to Delphi7 they are vanished. I know that is possible to install package dclSocket, but I prefer to migrate to this unfamiliar components, but is … | |
I am a third year computer science student and I am searching about languages to chose one of them as my main interest. In the way of this purpose, I want to learn that what makes pascal special and for what purposes it is using specifically. Thanks! | |
![]() | Hi, I am very new to the Delphi or Pascal. I was looking for source code and I got that source code in Delphi Pascal language that I know at all. I need somebody help to convert VB 6.0 or VB.net I am uploading attachment with this topic. Kindly help … |
Hello Friends, Any body help me to convert the code from Delphi to vb 6.0 const C1 = 43941; C2 = 16302; function BorlandEncrypt(const S: String; Key: Word): String; var I: byte; begin SetLength(Result,Length(S)); for I := 1 to Length(S) do begin Result[I] := char(byte(S[I]) xor (Key shr 8)); Key … | |
This is giving me an error and im not sure why? [CODE]procedure BeginSort; var I, X: Integer; begin //(1) whole thing Sorted:= false; repeat begin //(2) For I := 1 to 30 do Begin //(3) If Question[I].position > Question[I+1].position then Begin //(4) for if the question position is higher TempQuestionText:= … | |
hi, i was wondering if anyone new much about listviews because i been looking for a bit of code or a custim listview that supports paging abit like a website list were u can select pages 1 to 10 but with a listview so i can limit the items to … | |
guys any idea of this equivalent c loops into pascal: for (sum=0,i=0,j=0;i<10;i++,j+=2) sum+=i+j; Thank you.. james | |
Where can I find detailed definitions of the string modifiers, i.e. %f, %m, etc. I am not a Delphi or Pascal programmer but dabble in modifying existing Pascal source. Very basic & detailed definitions are needed. | |
Hey can someone please tell me what kind of variables i should use when making a class mark program ? thanks :) | |
iv seen the line 'halt' in some pascal programs after readkey or readln. what does halt do exactly? | |
hey guys, I would like to know the syntax in Java for truncating variables of type Double. The code below is in Pascal and i would like to know how to write it in Java: x := trunc(y +7/h); | |
I need help converting this Pascal code into Java. My Pascal Programming abilities are limited so any help would be much appreciated. [ uses wincrt; const n=300; {1320 this is the max length possible} m=2; type table = array [1..n,1..m] of real; var data,data2 : table; i,j,card : integer; t0,X0,Y0,Xn,h,g1,g2,r1,r2,d,slope:real; … | |
Rapid Application Development has come a long way since the early days of Delphi and Visual Basic in the mid 1990s. I remember those days well, as I immersed myself in Pascal development with the original Delphi back in 1995 and even wrote a couple of books about it. Delphi … | |
hi i want to display pascals triangle on computer screen.the pascals triangle goes like this. and what is logic. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 and so on. | |
Here's the code i've done so far: [CODE]PROGRAM MORSE_CODE_TRANSLATOR; USES CRT; VAR Sentence : STRING[25]; {Maximum of 25 characters in sentence} MorseOut, EnglishIn, EnglishOut : STRING; Count : INTEGER; KEY : CHAR; PROCEDURE AnyKey;Forward; {~~~~~~~~~~~~~~~~~~~~~~EXTRA PROCEDURES~~~~~~~~~~~~~~~~~~~~~~~~~} PROCEDURE AnyKey; {Makes the program move on when any alphanumerical key is pressed} VAR … | |
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 … | |
A simple function that converts alphabetic values into their respective lowercase value. | |
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 … | |
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 |
The End.