2,103 Topics

Member Avatar for
Member Avatar for Quagmire232

Hey, I could have posted this in my other thread, but i though this was strange enough to make a thread of it. So im still working on the program mentioned in my other thread, it runs with a main menu procedure. When the user selects a menu option, program …

Member Avatar for pritaeas
0
132
Member Avatar for Quagmire232

Hi everyone, My program is meant to be / do: A quiz about the bible ( < my teacher decided that <). Using an array of records with a text file (working) it runs the quiz and lets user print off their results at the end. each question must be …

Member Avatar for Quagmire232
0
197
Member Avatar for htataw

Hi for all, I'm newer with Delphi can anybody help me to convert the following c++ code to delphi7 one's. many thanks in advance c++ code : ********************************* #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <ctype.h> #include <string.h> #include <errno.h> #include <sys/param.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <netdb.h> …

Member Avatar for pramudiyanto
0
740
Member Avatar for rlfate

I am relatively new to delphi. what i am try to do it to open a new form from the main one as a pop-up window, let the user input certain values in there (two integers and a check box), and use these values as parameters in a procedure to …

Member Avatar for rlfate
0
621
Member Avatar for ChaosKnight11

So I started to work on my last Computer Science project for the school year, a maths tutorial application. I'm a bit stuck with displaying a form to explain a mathematical concept. I decided to make a dynamic form on run-time for each grade which then contains all the available …

Member Avatar for pritaeas
0
139
Member Avatar for jakefrog

Hello. I need my tag like this: [code] <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <EnviarArquivo xmlns="http:(CLIENT LINK)"> <Sistema>1</Sistema> <Chave>1</Chave> <Solicitacao>1</Solicitacao> <OK>TRUE</OK> <Observacao></Observacao> <Arquivo>1</Arquivo> </EnviarArquivo> </soap:Body> </soap:Envelope> [/code] my when the server get my request its going like this: [code] <?xml version="1.0" encoding="utf-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body …

Member Avatar for DUAN20041
0
378
Member Avatar for vmirce

Hello everyone, I'm new in the world of Delphi and Pascal, so I could use your help. Here's my first question: I use Delphi7 and I have a DBGrid that is populated with one hundred records. I run the query to refresh the content of the dbgrid after each new …

Member Avatar for vmirce
0
121
Member Avatar for ipage

Hi All: We are just learning how to iterate this hash to get key and value, but we do not know how to do it please help. The unit is : [url]http://gpdelphiunits.googlecode.com/svn-history/r4/trunk/src/GpStringHash.pas[/url] We know how to use create hash and add function. After adding data to hash, if we want …

0
74
Member Avatar for dan1992

How can I solve this [url]http://1soft.moy.su/Untitled.png[/url] in Turbo Pascal thx :)

0
73
Member Avatar for pranav.falcon

[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 …

Member Avatar for pranav.falcon
0
833
Member Avatar for kalnietis

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 …

Member Avatar for Wolfgan
0
112
Member Avatar for symbiotic

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 := …

0
92
Member Avatar for Arty Jug

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 …

Member Avatar for Wolfgan
0
292
Member Avatar for ecklcakes

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 …

Member Avatar for dlhale
0
229
Member Avatar for rv_mup08

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... :-)

Member Avatar for Wolfgan
0
103
Member Avatar for tajul

I would like to calculate the execution time of my bubleshort program in pascal. is there any function available to enable it??

Member Avatar for tajul
0
111
Member Avatar for MeSam0804

hi, I want to know why some programming languages are so powerful,while others go away easily. Although C is an old one,it is used very much today (in c++ or Java). What properties do they have that keeps them alive,and what the languages like pascal or other -that I don't …

Member Avatar for MeSam0804
0
97
Member Avatar for Delphi10

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 …

Member Avatar for Wolfgan
0
225
Member Avatar for ChaosKnight11

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 …

Member Avatar for ChaosKnight11
0
952
Member Avatar for jake16

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 …

Member Avatar for kalish88
0
1K
Member Avatar for rahulhi017

exception while trying to create new account.(exception edomparse error in modle xmltrl70.bpl at 00085ff53. xml document must have a top level element.

Member Avatar for Wolfgan
0
37
Member Avatar for Sucrose

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 …

Member Avatar for Ionelul
0
219
Member Avatar for ecklcakes

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 …

Member Avatar for Wolfgan
0
86
Member Avatar for gybte.wartex

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 …

Member Avatar for pritaeas
0
392
Member Avatar for niobi

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 . …

0
77
Member Avatar for mdusiek

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 …

Member Avatar for pritaeas
0
134
Member Avatar for youngmoolah

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 …

Member Avatar for Wolfgan
0
155
Member Avatar for malloc84

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 …

Member Avatar for pritaeas
0
137
Member Avatar for alenturuskovic
Member Avatar for Wolfgan
0
177
Member Avatar for Qazinix

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 …

Member Avatar for Wolfgan
0
334
Member Avatar for jyothics23

Hi, I try to communicate with equipment through serial port. It is slightly order equipment so it requires to send command in a specified format ends CHECKSUM (Like start with 'STX' and end with 'ETX' etc and the command looks something like '020T025F00R000000000000000'). [B]Issue with Python:[/B] For my case they …

Member Avatar for Tech B
0
2K
Member Avatar for Quagmire232

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 …

Member Avatar for niobi
0
292
Member Avatar for Geli

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?

Member Avatar for Wolfgan
0
118
Member Avatar for niobi

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 …

0
93
Member Avatar for erogol

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!

0
73
Member Avatar for milindsaraswala

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 …

0
76
Member Avatar for poilkjmnb

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 …

Member Avatar for CygnetInfo
0
508
Member Avatar for brent012

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:= …

0
69
Member Avatar for sabareesh

// Edit window property case WM_CREATE: hwndEdit = CreateWindow (TEXT ("edit"), NULL, WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL, 0, 0, 0, 0, hwnd, (HMENU) EDITID,(HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE), NULL); **word wrap calling** case ID_FORMAT_WORDWRAP: bFlag = !GetCheckedState(GetMenu(hwnd), ID_FORMAT_WORDWRAP, TRUE); if (bFlag) { SendMessage(hwndEdit, EM_SETWORDBREAKPROC, (WPARAM) 0, …

0
88
Member Avatar for Simon180

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 …

1
101
Member Avatar for JamesPH

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

Member Avatar for ez4u2c
0
122
Member Avatar for ArchieB

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.

Member Avatar for pritaeas
0
57
Member Avatar for mrs.r

Hey can someone please tell me what kind of variables i should use when making a class mark program ? thanks :)

Member Avatar for mrs.r
0
147
Member Avatar for killhha

iv seen the line 'halt' in some pascal programs after readkey or readln. what does halt do exactly?

Member Avatar for Turtle85
0
307
Member Avatar for Turtle85

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);

0
92
Member Avatar for Turtle85

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; …

0
96
Member Avatar for jeffcogswell

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 …

3
866
Member Avatar for let us c

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.

Member Avatar for sunyifei23
0
161
Member Avatar for chrysanterus

gud day...i'm just a new member of this sites,is there somebody may help me about turbo c,turbo pascal and fox pro code,i just need a sample basic codes.i've been searching on the net and those info. was so broad and made me so confused..our instructor want us to search and …

Member Avatar for abhimanipal
0
126
Member Avatar for Quagmire232

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 …

Member Avatar for Quagmire232
0
543

The End.