1,899 Topics
| |
Hi everybody, I have a project to do for the college, which has to insert, read, delete and modify records in a binary file (a address book or something else). I don't know yet how I'll do to alter the records. Let's suppose the I have the program below: program … | |
I have tried searching internet a little bit and found some useful information about the command [CODE]SetLength[/CODE] I just wonder about a few things as I would like an array to "constantly" be redefined in size. When using it in one part of my program, it will be defined in … | |
Hi, i'm python beginner. how to make that only use def, for, list, while .. [CODE] def comb(n,r): if r == 0: return 1 elif r == n: return 1 else: return comb(n-1,r-1) + comb(n-1,r) [/CODE] this code is very slow.... ah , I have to use recursion .! please … | |
Hi everyone! I'm trying to make a DDE Server app with Delphi. I put the components DDEServerConv and DDEServerItem, I made the connection between both and setted into "Text" property of DDEServerItem the line "Its Work!". Opened my excel and put =AppEx|DdeServerConv1!DdeServerItem1, and works fine, the excel shows "Its Work!" … | |
Hey guys im new to this programming thing and im starting of with pascal.I have a small problem here is the program i want to input a number and that number will determine how man times the for loop runs the problem is the program is compliling but is stoping … | |
How can I print the contents of one cell so that it extends into the next cell to the right. The cell on the right is blank. In an HTML table, what I'm trying to do would be equivalent to spanning two cells. How can this be done in a … | |
Im a beginner.. What i want to do is converting user textbox input into Float value. Okay to the point ----- [QUOTE]I have textbox with 3 inputlimit I want if user input '200' itll give result to 2.00 (floatvalue), and if user input '12.3' the result will be 0.123 (floatvalue) … | |
hi i seem to have run into a problem when adding records to a Typed file that already exists. I have used ReWrite method to create the file in the first place. [CODE] // Open the file for writing To AssignFile(F, ExtractFilePath(Application.ExeName) + 'bin\drivers' + (frm_vars.Driver1.Caption) + '\card.digi'); Rewrite(F); // … | |
hello how i can use setbkcolor in pascal ?(with sample please.... | |
I have to make a Yahtzee game (in Delphi) for a project. I now have to write the pseudocode for the 'sixes' algorithm. I am using image lists and images for the dice faces, and am totally stuck on how to start the code. I am writing the proper code … | |
Hello everyone, I have to create a Palindrome Programme in Pascal using Pointers and Queues. A Palindrome is a word which when spelt backwards or forward if the same ex RACECAR or RADAR. I am having a problem actually creating the Palindrome Part of the Code. Thus Far, this is … | |
The question is as follows: How long – number of steps -- does it take a drunken ant to fall off the edge of a square table if it starts in the middle? Perform a simulation to find out. Imagine an ant in the middle of a table with, say, … | |
i need to write program that calculates when airplane is going to lend. i started to write this but i have got some problems pls help but when i tested minutes and seconds are not true program airplane; var a,s,d,f,g,h,j,k,l,z,x,c:Real; writeln('When will airplane airborn:'); readln(a,s,d); writeln('How much time is airplane … | |
Hello there! I'm working at a new game and i have a little problem.. [ICODE]program MousTestProgram; uses Crt, Dos, Graph; var graphicsdriver,graphicsmode,errcode:integer; procedure ResetMouse; var regs : registers; begin FillChar (regs, SizeOf(regs), 0); regs.ax := $0000; Intr ($33, regs); if regs.ax <> $FFFF then begin writeln ('hardware/driver not installed'); halt; … | |
Hello, I am using Delphi2010 and TOracleDataSet to access tables in Oracle. My question is how do I insert rows to multiple tables? I was told to use the AppendRecord method. Here is an example: [B]Example of value statements (this has been shortened obviously):[/B] Suffix := trim(edSuffx.text); Salutn := trim(edDear.text); … | |
hello.. How do I'm get the status printer from the EPSON STATUS MONITOR 3 ?, I've tried to detect the status direct from the driver, not from windows, but I just get the status from the windows, not from DRIVER, the difference : if from the windows after the printing … | |
Hay everyone. Im busy creating a program, but first you have to log in with a little form I made. I thought about using a registry entry, but I dont know how to use Tregistry. It should also be possible to use on a network pc with only client level … | |
am trying to rebuild my chat content by storing it into a stringlist first and then re-pushing it out but problem am having is with my font settings i can not work out how to add my font styles to the string has anyone got any code to show how … | |
| Is it possible to write an operating system with Pascal Language (Free Pascal)? If yes, how to get started? Kindly somebody help me! |
Can sumone please give me a helping hand here am trying to do a simple sql search were it will look all items in SQL database and pull up the names that match but am having a abit of trouble with it it brings all my accounts up regardless of … | |
Hi All As you know One of the new figure's of SQL Server2008 is that you can Define a table as a stored procedure parameter. So my question is that how cane I pass a data set to Stored procedure as a parameter in Delphi? Thanks | |
like the tile says am looking for any demos or sites that show how to build a working spades/backgammon game I done my own search but come up with 0 dose anyone have any abandoned projects there be willing to share? thanks hope sumone can help | |
like the title says how to calculate 10 days from a date with delphi, am after simple way to get 10 days trial from current date of usage can anyone help thanks :) | |
I'm creating an installation program using Inno Setup and I have all the custom install pages made but I need to know how to set whether or not a component will be installed. Normally there's a premade page which allows the user to select which components will get installed and … | |
Hi, I am new here Need help here is my code [URL="http://paste.ideaslabs.com/show/OJ17OQW1Fh"]FULL CODE HERE[/URL] , but function y=10^x doesnt work right! well it works great while x = (0,1,2,3,4....) but when x is negative (-1,-2,-3) it doesnt work. I have been trying to fix it for a while now i … | |
Okay so I am working on small program, and halfway through I decided to make a login screen at the start. How do I make it that the login screen shows up before the main form? | |
Hello all, I want to check in a external process if an address X, that i'll call here $00000001 is "NOPPED", i know that an address with NOP its byte is x90, so my question is: Can i use ReadProcessMemory putting the value x90 as the IpBuffer or do you … | |
The function Delay() allows access to other events during the delay. For instance a certain key could be used to interrupt a lenghty delay. The Win32 API function Sleep() ignores events, maybe it should be called DeepSleep(). | |
I want to save the contents of my richedit to a plain text file. With my current code, only a partial of the richedit's text ends up in the plain text. Could you please tell me what's wrong with my code: [CODE] var fSave : TextFile; begin AssignFile(fSave, dlgSave.FileName + … | |
Hi Guys and girls, I'm trying to save the font settings of my component and load them back in via xml. I have xml working with saving and loading of every property except Font. When I save font its as an integer. But when I load the value back in … |
The End.