2,103 Topics
![]() | |
I Need Some Help With A Program I Am Making I Have Created 2 Program One To Create The File And The Main Program. But There Is One Problem When Ever More Data Is Added To The End Of The File It Copy's The First Lot Of Data And Starts … | |
Dear All Friends i have an problem with windows vista . i write an program for Readind Data From Serial port in delphi . and then compile it in windows XP . Application is worked very good . but when i do compiled this application in windows Visat , i … | |
SAMPLE TEXT("everyone can help") can any1 help me, write the code to count text. for example you have 2 text boxes when a user enters 2 in editbox1 and enters 5 in editbox2, the message in memo box is display as "very" CAN ANYONE HELP PLEASE | |
I am supposed to create a Pascal program that obtains 4 inputs from user and averages them. The program should enforce all inputs to be between 0 and 100, inclusive. This is for class, but more importantly I have more programs and I need to understand why I suck at … | |
Hi all! As a person who has not a Computer Science degree(I am a poor web developer!),but having much desire to learn as much as I can about CS topics,I have a (maybe easy ) question about the recursive algorithm that solves the "Towers of Hanoi" puzzle. I can understand … | |
[B]Now playing:[/B] AC/DC Black Ice [B]Now reading:[/B] Wikinomics [B]Now browsing:[/B] Fedora 9/Firefox 3.0.2/Gnome [B]Editors/IDES/tools used today:[/B] Vi, Gedit, Emacs, Bluefish, Visual Studio (BizTalk), Notepad, DBVisualizer 6.1, Xlint, xsltproc, Microsoft SQL Server Management Studio [B]Languages used today:[/B] TSQL, Bash, XSLT, XML, pgsql [B]Operating systems used today:[/B] Windows 2003 (64/32 bit), RHEL … | |
Hi, I've encountered a problem I can't explain and would be very grateful for any input. I have the following SQL statement (its not table dependent but demonstrates the problem): [CASE WHEN 2>1 THEN "Greater" ELSE "Less" END AS Comparison] This SQL query returns the correct single column named Comparison … | |
could anyone tell me what are Armstrong numbers and pascal's pyramid. | |
I started programming in 1980 and I still do, because I love the trills of it:icon_smile: I programmed in BASIC, C, Pascal, Modula-2, C++, etc. Now I am particularly fond of C#, you should also! Check it out! | |
[CODE] program Q2 (Input,Output); var X,Y,T1,T2 : Integer; Flag1,Flag2,Flag3 : Boolean; SquareRoot,CubeRoot,Z,D1,D2 : Real; begin X := 1; Flag1 := True; Flag2 := False; Flag3 := False; while Flag1 do begin Y := X-1; SquareRoot := Sqrt(Y); T1 := Trunc(SquareRoot); D1 := SquareRoot - T1; if(D1>0) then Flag2 := False; … | |
As part of my A-Level computing coursework i have to simulate an end user and design a programe for them. I have the code to allow for a listbox were you select from a list of usernames you want but for added security i want to ammend it so you … | |
Ok, I have a DLL I made. In the DllMain function, I have a variable called my_var (const char[13]). I compiled the dll (called "WGCL") and put it in the debug directory of my Win32 Project. I used /DELAYLOAD:WGCL.dll to Delay Load the DLL which seems to be the only … | |
Suddenly there is at least one line in my Delphi 2007 source code that is ignored when I single step through the program. If I set a breakpoint on it the line goes all green and execution will not stop at the line. There is no blue dot to the … | |
Hello All, I have a question and need some help with a c# console application project that asks the user to enter the number of rows to calculate and display Pascal’s Triangle. What I really need help with is how to properly format the output in the shape of a … | |
Hi All, I have this old c program that I did a while back on pascals triangle and i'm trying to convert it over to c#.net. Can anyone help me do this? I do not know much or anything on on c# Here is the code: [code=c] //Lyncob directory #include … | |
I am creating a binary file, containing a record type i have defined, using the BLockWrite command. I am then trying to read the data back again and i get 3 out of the 4 values in the record back and i can't work out why. Code snippets below Bits … | |
I'm embarrassed. I suddenly realized that not in any of my programs scrollbars show when they should, despite visible is set to True. I am not able to fix it! Can someone please tell the secret? | |
Hi, I have a question. Is it possible to copy all contents from record to typed pointer which has same items? Example here: [CODE=pascal]program linked_list_queue; type queue = ^myrecord; myrecord = record data: integer; otherdata: string; datadatadata: char; next: queue; end; const head = nil; tail = nil; procedure add(argument: … | |
Hi, Yes I'm yet another student doing a computing studies course. I will be asking for help a bit at the minute but once my own coding is up to scratch Ill be sure to help others. I am using the language pascal with borland delphi 7 professional. On a … | |
Ok, this Program was supposed to make the [U]asterisk go down a line every 1 second[/U] and to be able to move right and left, It moves right and left but [U]it doesn't go down.[/U] For Those wondering, yeah im trying to make an arkanoid or something like that... this … | |
hello, I'm new to the language and so far as I can tell this should work but it isnt. Sorry its probably just a newb mistake but i've spent hours on this silly error (and used search). [code]var call_start, call_length : integer; discount, cost: real; answer: char; const normal_price = … | |
| |
Can anyone help me to do this !!! I want to download a file (for exaclty photo file) from a web page how i can do this through delphi????? | |
Hai all, In delphi, how to make the program only one exe only on executing. example : I have a project tools after execute it appears tools.exe how to make the people can not execute tools.exe in the second time?? Only one exe can run. | |
I am currently learning Pascal at school an I'm thought i was getting pretty efficient until i was set work on the repeat until loop. I was working on a program that squares then cubes a number until a rouge value of -9999.99 but it won't! [code=pascal] (* Author: Tony … | |
Hello all! I need to write simple game with Forms, Buttons, but by using only!!! .dpr file. I tried to transfer the information from .pas, .dfm files and even has achieved success to compile it, but at start there is an exception EResNotFound ('Resourse TForm1 not found') I shall be … | |
i need help programming pascal's triangle in C. i looked at the old threads, and none of them really helped. its a simple program, so no getch() or anything special. i started to create an array and give each element values. when i tried to run it, my output it … | |
Hi All I want to delete records from a table. I'm using the following query: [code] adqdelete.active := false; adqdelete.sql.add('delete from stalls'); adqdelete.sql.add('where stall_name ='); adqdelete.sql.add(edtDeleteStalls.Text); adqdelete.active:=True; [/code] This gives a syntax error. does anyone know what I'm doing wrong? Thanks for your time Tai | |
Hello everyone, I need some assistance in finding an error in my Delphi code. (I am new to the Delphi programming). I am using a Delphi application to build an excel spreadsheet. When a part_number is entered for the first time(assuming it exists in db) application always runs , the … | |
I need help getting going with Pascal on a Mac. (I have considerable amateur experience on Delphi on a PC.) Two possibilities: 1. I can hire someone with the knowledge to consult and get me going--Install compiler, setup IDE, relate to XCODE (whatever that is) and so on. I live … | |
I am coding a unit in Delphi 2007 and everything has been working fine. Suddenly, pressing the "return" key merely moves the cursor to the next line instead of throwing a new line I switch to another program (word processor) and that program works fine. I have rebooted, but that … | |
hey there, i'm new at delphi, at my first prog actually. Been doing c/c++ for a while. The prog is supposed to be simple game, and i need a level counter. I've strayed a bit from the tutorial i'm using and now when i run it the number in the … | |
Hello, I need to transform mathematical expressions from MathML (as a part of an XML file) to plain text format (in the Pascal or C fashion) and the reverse (from Pascal to MathML) form my application in Delphi. Does anybody know any component or routine to do this? Thanks in … | |
Hello, I need to transform mathematical expressions from MathML (as a part of an XML file) to plain text format (in the Pascal or C fashion) and the reverse (from Pascal to MathML) form my application in Delphi. Does anybody know any component or routine to do this? Thanks in … | |
hi everyone:) my name is ranfile.im from indonesia. well, you might more recognize Bali better then Indonesia. but,yeah,its a big country:) im a computerized accounting graduate who is interested about programming field of job... i used to use visual basic as my tools,but in my office i am expected to … | |
ok, when i try and compile my unfinished program at the bottom: it gives me these two errors c:\documents and settings\owner\desktop\programming stuff\programming practice (pascal)\unitconverter.pas:6: warning: missing string capacity - assuming 255 c:\documents and settings\owner\desktop\programming stuff\programming practice (pascal)\unitconverter.pas:7: parse error before `In' and i'm new to programming so i dont know … | |
The declaration of the type is: [code]type TMediaLibrary = record Title:string[30]; TrackNo:integer; Artist:string[30]; Album:string[30]; Year:string[4]; Genre:string[30]; Comment:String[30]; Directory:string; end; var SongInfo: TMediaLibrary;[/code] and the file implementation of it is here: [code]procedure TForm1.Button1Click(Sender: TObject); var SongFile:string; MediaLibrary: file of TMediaLibrary; <<<Error is here begin . . . . AssignFile(MediaLibrary, 'C:\Program Files\toMedia … | |
Hi, I am atempting to make a time scroll bar (like the bar one would find at the bottom of video where you can jump to a specific time). I am currently using a TTrackBar, with a TTimer that keeps updating the possition. The problem I am stuck with now, … | |
I want to display first data from table on mysql in scrollbox, before print it. Iam using delphi 7 and rave report 5. how ?? | |
I'm currently working on a project to display Pascal's Triangle and the binomials up to a certain row that the user inputs. I have the triangle done, but I'm having a bit of trouble getting the binomials to work. This is what the output should look like for the binomials: … | |
Hello friends, I inform you that on the web [url]http://delphimagic.blogspot.com[/url] have a selection of good tricks in Delphi. I hope you like. Javier | |
I'm making a program that involves the copy and pasting of a piece of text into a TEditBox and submitting the text into 4 different columns in a TListBox. This program is actually for a game called FlashFlashRevolution (great free, online, ddr-like game if anyone wants to try it out). … | |
Does anyone know how to extract the nth character from a string- nice simple code like: charfromstring(mystring, 33) to extract the 33rd character of mystring obviously this is wrong- what is the correct way to do it. Even better, how could I split a string at the nth character eg. … | |
I'm using Delphi 2007 and I need to pick and display a character from a unicode font in the range U+1500 to U+15FF I tried: label1.caption := widechar($1513); but it can't be that simple. I have googled unicode, delphi, chr, widechar etc and researched for days and I still can't … | |
please somebody can help me out to get Pascal's Triangle by using loops ( probably with nested loop ) !! Pleeeeeeeeeeeease | |
![]() | Hello, I need to know how can I get the process name (or path to the executable) that is currently using some file. Like I want to know which application uses Dll I want to replace, so I can kill the process... |
Can anyone tell how to print a pascal's triangle... i've wriiten a code but it is not printing the triangle as the way iwanted it to.. here is my code: [code=cplusplus] #include<stdio.h> #include<conio.h> void main() { int n,a[50][50],x,y; clrscr(); printf("Enter the number rows:\t"); scanf("%d",&n); for(x=0;x<n;x++) { for(y=0;y<=x;y++) { if((y==x)||(y==0)) { … | |
Hi guys, I am trying to hide 2 list boxes, then on selection changed show a new list box with JavaScript, i am very very new to web development in general, I am actually a software developer in the Pascal and C# language so this is all very new to … | |
I have to create and run a program that can take any column and row value and print the corresponding number. I think I understand how to do this manually: 1. Initialize row and column ($i and $j). 2. Make sure row/column combination exists, row must be larger or equal … | |
This triangle shape full of numbers is the reference I have to use for the first part of a homework problem, but I haven't the slightest clue as to why the rows and columns are indexed starting at zero and what that means in terms of all the other rows. … |
The End.