2,103 Topics

Member Avatar for
Member Avatar for EnderX

I am working on a program in Delphi which is intended to call up a php file on a server, with the output of the php file being dependant on the information the user enters into the Delphi form. I have access to multiple servers, and I'd like to know …

Member Avatar for radu84
0
159
Member Avatar for dragoshstoica

Hi I'm a beginner in Delphi and I have I big problem I don't know how to close a form I've a form with user and password .After verification I enter on other form.Albeit I put form1.close when I minimize form2 , form1 it on the screen and i would …

Member Avatar for dragoshstoica
0
92
Member Avatar for dragoshstoica

Now I have anoother problem. i use Disqlite for database and i don't know how put in values the column number with another values Code:[code] sqlite3_check(sqlite3_exec(DB,pansichar('insert into utilizatori values ('#$27+pansichar('COLUMN NUMBER') +#$27+ ','+ #$27+ pansichar(ComboBox1.Text) +#$27+','+#$27 +pansichar(parolaa.text)+#$27+','+ #$27 + pansichar(utilizator.text)+#$27');')nil, nil, nil),DB)[/code] . PLS HELLLLP.

Member Avatar for dragoshstoica
0
100
Member Avatar for exotic_ang

[COLOR=indigo][B]Im doing some code where I enter the name and no numbers are allowed. Im using records and the procedure is working perfectly. once i enter the name i cant enter any numbers but the problem i found is that the name entered isnt being stored in my record. heres …

0
77
Member Avatar for exotic_ang

[COLOR=black][COLOR=black][B]hey im lost, so was wondering if anyone would help me. Im doing a program for a DVD rental system. When it comes to searching the rentals by ID, I cant seem to make it show all the DVD's that the customer has rented not only one. I dont know …

Member Avatar for exotic_ang
0
130
Member Avatar for rockberto

Hi there, I have a problem with a BST program, whenever I try to run this a SIGSEGV error occurs. The files are: node.pas [CODE]Unit Node; Interface Type NodePtr = ^TNode; TNode = Class FData : Integer; FLeft,FRight : NodePtr; Constructor Create(PData : Integer); End; Implementation Constructor TNode.Create(PData : Integer); …

Member Avatar for rockberto
0
113
Member Avatar for wnm

Really strugling to get an .ini file in to a DLL and still be able to edit it. Any one plz help send anything you can to help me to [email]michaelbrianlake@gmail.com[/email]

Member Avatar for jwenting
0
104
Member Avatar for Wiizl

I have to find out if any line of the txt file ends with 'end'. If any line does, then my program must go to specific label. I've read PASCAL help from beginning to the end but I couldnt figure out how to check what are the last three letters …

Member Avatar for radu84
0
88
Member Avatar for vixt90

i need to write a program that reads in integers from a data file and then sorts the integers from smallest to largest. i already know how to read them in but i dont know how to sort them. please help!!

Member Avatar for Ancient Dragon
0
96
Member Avatar for kamatatul

Is there any component in delphi 7 for magnetic strips (atm cards). Any one please help.

Member Avatar for jwenting
0
91
Member Avatar for Berniceazzopard

[B][COLOR=black]hey i am trying to sort a file of records by name. Im trying to use the bubble sort but all the code i ve found is with the use of arrays. Any idea pls.[/COLOR][/B] [B][COLOR=#000000][/COLOR][/B] [B]Procedure Bubble_Sort;[/B] [B]var a : array [1..20] of string; i,j : integer; t : …

Member Avatar for radu84
0
96
Member Avatar for Wavanova

[code=pascal] assign(save,'C:/x.txt');[/code] I have seen this, but when i use this line, i get 'identifier not found "save"' What am i suposed to do to save a file?

Member Avatar for radu84
0
69
Member Avatar for kasilver50

I lurked a long time, then finally registered a couple of months ago; then I lurked some more. But the time has come ... [B] HI! [/B]My name's Ken and I've been surgically attached to one or another computer since around 1979 when I bought my Bran' Spankin' New [B]Commodore-64[/B] …

Member Avatar for jbennet
0
91
Member Avatar for sitaksnummi

Stuck with it for hours. Haven't slept since... Well, can't really remember. So can anyone help me out and point out what is wrong here? [code]program Taht; uses Crt,Graph; const Star1:array[1..18] of integer= (75,0,100,50,150,75,100,100,75,150,50,100,0,75,50,50,75,0); Star2:array[1..18] of integer= (200,150,225,175,200,200,175,225,150,200,125,175,150,150,175,125,200,150); var DriverVar:integer; ModeVar:integer; begin DriverVar:=Detect; InitGraph(DriverVar, ModeVar,''); SetFillStyle(1,Blue); FillPoly(9,Star1); SetFillStyle(8,Green); FillPoly(9,Star2); SetFillStyle(8,Green); …

Member Avatar for Ancient Dragon
0
285
Member Avatar for needs_help

Hi, I am a dev-pascal program maker that wants to know how to read a line for a limited amount of time. Like for example, if I only wanted to give the user 1 second or 1 milisecond to send in data, how do I do it?

Member Avatar for needs_help
0
97
Member Avatar for needs_help

Hello, I am an experianced dev-pascal programmer who would like to know more functions. If anybody knows any more code than the code up to uses files and text files, please post it here.

Member Avatar for needs_help
0
163
Member Avatar for JJarvis

Hi, I have made a simple Hello World tutorial for free download at a quick website I made. The website is [URL="http://www.freewebs.com/helloworldpascal"]here[/URL].

Member Avatar for JJarvis
0
104
Member Avatar for freesoft_2000

Hi everyone, I am trying to learn pascal. The thing is it seems very hard to find books on pascal for beginners especially free ebooks. I tried googling but could not find any. My question is basically does anyone have any good free ebooks on pascal for download. If you …

Member Avatar for radu84
1
311
Member Avatar for Seten

Can anyone please give me some links for some video tutorials for Delphi. I browsed a lot(google), and only found sites, which are paid. Even a Delphi (amateur) tutorial which is not hard to understood would help me. thanks

Member Avatar for radu84
0
389
Member Avatar for Berniceazzopard
Member Avatar for Berniceazzopard

First of all happy new year and sorry to disturb u again but i'm really lost. Im trying to enter to validate a date. Can u pls check this code and tell me why in the procedure date the program is not letting me enter the month.:rolleyes: Unit appointments; interface …

Member Avatar for radu84
0
132
Member Avatar for Berniceazzopard

how can i validate if a month has 30 or 31 days and febraury havin 29 days if leap yr and 28 if not

Member Avatar for radu84
0
97
Member Avatar for eddie-jdp

Hi all, I am new to windows programming. I am currently using Delphi. Is there a way to tell how much total memory (including virtual memory) is currently available on a computer. As far as I am aware... Delphi programs start out automatically with an address space of 1 or …

Member Avatar for eddie-jdp
0
188
Member Avatar for angus1910

why my randomize commond doesn`t work in my pascal program? i used many loops in my program which i put the randomize after the first begin of the program. Is there some one can tell me how to place the randomize command in a complicated pascal program! :rolleyes: THX...........

Member Avatar for Lord Soth
0
327
Member Avatar for needs_help

Can dev-pascal use graphics, sound, and mouseclicks? If so, please tell me where to find how to do it.

Member Avatar for Lord Soth
0
97
Member Avatar for needs_help

Hello, I have been using Dev-Pascal 1.9.2 and I think that an extra unit that lets you access the mouse and use much better graphics. Please post code that can do this.

0
87
Member Avatar for d_1386

Write a program that can simulate the following CPU scheduling algorithms: 1. FCFS 2. RR (new processes are added at the beginning of the ready queue, the quantum is one time unit) 3. Priority based 4. SJF non-preemptive 5. SRTF The program can be written in either C or Pascal. …

Member Avatar for Salem
0
264
Member Avatar for secret

Hi Dani, i am a computer programming student learning the Pascal language. I wish to ask for your help in furnishing me with two pascal games which i can study and and improve on, or probably writing my own codes. I like the pseudocode for the games and the procedure …

Member Avatar for JJarvis
0
378
Member Avatar for jnadel

Hello, I am just starting with Pascal. It seems pretty easy overall. I feel so stupid asking this :lol: , but I forgot how to change the BackGround and Font/Text color. I know the color choices, just need to know what to type. :cheesy: Thank you so much to anyone …

Member Avatar for needs_help
0
166
Member Avatar for LawnGnomeNinja

I do not want the full program, as you all know because of the rules. What I do need though is a place to start because I have no idea what I need to do. I'll post the problem. For the purpose of this program, a widget is a fictitious …

Member Avatar for needs_help
0
123
Member Avatar for sportsnut941

program AreaofRectangleOrTriangle; uses WinCrt; var Base, Height, RectOrTrian, Area, CharUserInput: Char; Begin (*Enter R or T*); Writeln('Enter R for Rectangle or T for Triangle'); Readln(CharUserInput); (*Enter Base and Height*); Writeln('Enter Base '); Readln(Base); Writeln('Enter Height '); Readln(Height); (*Give case statement and formulas*); if (CharUserInput = 'R') or (CharUserInput = 'r') …

Member Avatar for needs_help
0
84
Member Avatar for Wavanova

Ok, i just started using pascal, since I went to a college open evening, and they told me in the first year of the course I wish to study, i would be learning pascal. This is not a homework assignment of any kind, this is just me messing around with …

Member Avatar for codewritinfool
0
143
Member Avatar for needs_help

If you want to learn how computers "think" then lisp or clisp is your best bet. For pascal, an example with footnotes: [code] program learn; {this program generates random problems} uses crt; {this is put here to unlock 3 new funtions} var a,b,c,d,e,f,right: integer; {this is the variable section} label …

0
70
Member Avatar for lifetalk

Hello, I am new here. Actually i wanted some help with a problem that's disturbing me. I am new to the programming world, and so, i don exactly know if this is the right thread. Am sorry if it is a wrong one. Anyways, back to my question, it's about …

Member Avatar for Lord Soth
0
152
Member Avatar for needs_help

Hi, I have a game which some people tell me is good, but I think needs more ideas. Please list some good ideas so that the game can become better. I don't need simplification. Here is the game: [code] program weee (input,output,save); uses crt; type a31415=array [1..10,1..10] of integer; var …

0
94
Member Avatar for sophie101

Hi everyone, I need some help in the following task: I am writing a Pascal program that will > 1). find the first 100 prime numbers and store them in an array. > 2). give a choice to the user, who will choose which number base the prime numbers will …

Member Avatar for sophie101
0
129
Member Avatar for plagiat

Hello evryone! In the text below is a program that I can't make.Please help me! Synthesize a program, wich calculates the number of bits in n(number wich is in binary code).The template of the program is: [code] {Q:(1<=n)} S(initially); {inv P:(1<=m)and(m*2^j-1<=n<m*2^j+1)} {bound t:m-1} do B -> S od {R:2^j-1<=n<2^j+1} [/code] …

0
68
Member Avatar for cdwind

I'm the new and join this forum just at today. I'm a student in high school.English as my second language and i'm a chinese.I like progromming so much and i use the PASCAL language but now i'm learning C++ . So i have so much problems with C++.I will be …

Member Avatar for ~s.o.s~
0
18
Member Avatar for radu84

i tried to find some delphi tutorials or usefull links on the site, and i couldn't(the truth is that i'm a newbie and probably i don't know how to find what i want so easily) so i will make a post with some usefull links. i'm asking administrators to move …

Member Avatar for radu84
0
406
Member Avatar for sahidjamil

hi everyone. im really stuck with a project in pasal requring some string and files procedures. i have tried severy ways but i still can get through. the project can be found at [URL]http://www.cis.um.edu.mt/cmassign/proj2006.html[/URL] . i have attached 2 files one containg the code and the other containg a sample …

Member Avatar for sahidjamil
0
87
Member Avatar for s88

So I need to do a program, that goes throgh an html file and prints all the tags, but not closing tags. I tried the following code but when I run it several arrows appear. Can someone help please? [code = c] [COLOR=#000000]Program one;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Uses crt;[/COLOR] [COLOR=#000000] [/COLOR] …

0
91
Member Avatar for mscerri

hi everyone; i am doing a project for my sis in unversity, and it says that i have to find [B]the first 100 prime numbers and store them in an array.[/B] i managed to find the prime numbers but when i try to store it in an array a bunch …

Member Avatar for jwenting
0
136
Member Avatar for muhaa

Hi was wondering if any one knows what scripting language resource hacker uses as i would like to add a new menu to my team speek client so my clan members can open there americas army game from with in team speek also would like to know haw i could …

Member Avatar for muhaa
0
139
Member Avatar for gabriel_wadley

[code=c] #include<stdio.h> #include <conio.h> void main() { int line,c,n,x; void pasc(int); printf("\n\nInsert, how much line do you want: "); scanf("%d",&line); printf("\n\n\n"); printf("\nPascal's Triangle Is : (press enter)\n"); for(x=line-1;x>=0;x--) printf(" "); printf(" 1\n\n"); for(n=2;n<=line;n++) { for(c=line-n;c>=1;c--) printf(" "); pasc(n); printf("\n"); getche(); } } void pasc(int n) { int r; long fact(int); …

Member Avatar for Nick Evan
0
84
Member Avatar for seth0x2b

Hey guys. First of all its nice to see an assemly forum that still has visitors..everything I found on the net are old forums unvisited for about 2-3 years. I started learning win32 assembly ...well..last night :). I do have (some) programming background in Delphi and some c/c++, and also …

Member Avatar for Ancient Dragon
0
713
Member Avatar for Cheat King

Hi, I'm new to this forum and am only 11. I know I'm a little too young to do complicated programs in Delphi an Pascal, but I have joined a programming club at my school and already I feel I've done quite a bit of programs. But the programming club …

Member Avatar for jbennet
0
127
Member Avatar for dks1385

Hi How do I can Change the Column width and Caption of a DataGrid in my Program and also how do I can change the Height of a Row of a DataGrid

Member Avatar for sky_khan
0
148
Member Avatar for Spython

i need a program that will do this h(k)=h(k-1)+sqrt(h(k-1)) like this h1=ho+sqrt(ho) h2= h1+sqrt(h1) and so on i have to have a 50 results for h , ho is a const PLZ I NEED IT FOR TUMMOROW

Member Avatar for Spython
0
76
Member Avatar for _preston_

Hi i am studying delphi on a course i am doing and would just like to know if you can help. The problem is i am using the media player in delphi and i have got a video i made to play when the code is run, but i would …

0
55
Member Avatar for dks1385

What,s wrong with this code: procedure TWinForm1.Button2_Click(sender: System.Object; e: System.EventArgs); var varForm:TwinForm1; begin varForm.Close; end; Error: system.NullReferenceException

Member Avatar for ttheobald
0
188

The End.