1,899 Topics

Member Avatar for
Member Avatar for modesto916

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 …

Member Avatar for thines01
0
497
Member Avatar for Morten Brendefu

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 …

Member Avatar for Morten Brendefu
0
138
Member Avatar for ERINY

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 …

Member Avatar for TrustyTony
0
1K
Member Avatar for dondajr

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!" …

0
70
Member Avatar for Stpdoug

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 …

Member Avatar for Stpdoug
0
178
Member Avatar for bob on whidbey

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 …

Member Avatar for pritaeas
0
163
Member Avatar for crapped

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

Member Avatar for pritaeas
0
189
Member Avatar for revski

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

Member Avatar for pritaeas
0
249
Member Avatar for hhgh4269
Member Avatar for TrustyTony
0
82
Member Avatar for peglegmeg152

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 …

Member Avatar for AceStryker
0
82
Member Avatar for Latent

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 …

Member Avatar for 00beda
0
523
Member Avatar for bogut

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

Member Avatar for FlamingClaw
0
186
Member Avatar for Mr.Freak

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 …

Member Avatar for TrustyTony
0
118
Member Avatar for freakvista

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

Member Avatar for TrustyTony
0
102
Member Avatar for marge0512

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

Member Avatar for marge0512
0
176
Member Avatar for ariswidiantoro

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 …

0
65
Member Avatar for Fireprufe15

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 …

Member Avatar for Fireprufe15
0
144
Member Avatar for Simon180

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 …

Member Avatar for AceStryker
0
155
Member Avatar for Nirvin M

Is it possible to write an operating system with Pascal Language (Free Pascal)? If yes, how to get started? Kindly somebody help me!

Member Avatar for TrustyTony
0
82
Member Avatar for Simon180

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 …

Member Avatar for pritaeas
0
200
Member Avatar for fayyaz

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

0
77
Member Avatar for Simon180

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

0
91
Member Avatar for Simon180

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

Member Avatar for Simon180
0
143
Member Avatar for Deemar

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 …

Member Avatar for popelka
0
703
Member Avatar for boneful

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 …

Member Avatar for AceStryker
0
112
Member Avatar for Fireprufe15

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?

Member Avatar for anijacity
0
261
Member Avatar for AceStryker

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 …

Member Avatar for AceStryker
0
142
Member Avatar for vegaseat

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

Member Avatar for Duoas
0
1K
Member Avatar for Fireprufe15

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

Member Avatar for AceStryker
0
2K
Member Avatar for ajst

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 …

Member Avatar for AceStryker
0
404

The End.