-
Began Watching dev
can someone please help me with this pascal program, does this look right? Program StudentScores; var c: integer; s: integer; t: integer; n: integer; p: integer; f: integer; h: integer; … -
Replied To a Post in dev
Without knowing what the program is supposed to do it is difficult to judge if it looks right. However there are one or two things worth commenting on regardless of … -
Began Watching how to count down from 30 seconds with a timer.
am looking for a way to count down from 30 seconds using a timer and updating a Gauge using Progress to reflect the time remaining. I know this is very … -
Replied To a Post in how to count down from 30 seconds with a timer.
The GetTickCount function retrieves the number of milliseconds that have elapsed since the system was started, up to 49.7 days Your comment suggests FreeTimer.Interval is 30000. So you set TotalTime, … -
Began Watching 10 random numbers Array, their average & the amount of larger numbers
Okay so I have this program that generates 10 random number (1-1000), calculates their average and the amount of larger as well as smaller numbers than the average, this is … -
Replied To a Post in 10 random numbers Array, their average & the amount of larger numbers
Chris, a good technique to trace errors like this is to simply use a pencil & paper and manually follow the instructions in your code. Set & change the values … -
Created Kudos & suggestion
Kudos for the Favorite Tags and Favorite Forums options on the Finder menu. Are they new? I hadn't seen them before, but they are a significant improvement. They very much … -
Began Watching Kudos & suggestion
Kudos for the Favorite Tags and Favorite Forums options on the Finder menu. Are they new? I hadn't seen them before, but they are a significant improvement. They very much … -
Began Watching Delphi DirectoryListBox returns wrong Directory
If I doubleclick on a DirectoryListBox, Delphi returns the directory above the clicked one. A second doubleclick on the same directory returns the wanted directory. How do I select the … -
Replied To a Post in Delphi DirectoryListBox returns wrong Directory
It is always a good idea to look at the source code in cases like this, if you have the VCL sources in your Delphi version. That way you can … -
Replied To a Post in What's wrong with the website?
I contrast this site with a (non-tech) forum I have been using for 10+ years. That forum has not been updated in that time, but it is popular/well-supported within its … -
Began Watching What's wrong with the website?
What's going on? I can neither find the home page nor the forum directory. And when I went to log in, there was no option for logging in with my … -
Replied To a Post in What's wrong with the website?
I agree. Although I never posted a lot, I used to visit a few times each day and now I visit once every few days, with the interval between visits … -
Began Watching Placing checkboxes in dbGrid in Delphi 7
I have 5 date fields in a table. I want to place CheckBoxes against each date field to allow user to check the appropriate date for the employee's weekly holiday. … -
Replied To a Post in Placing checkboxes in dbGrid in Delphi 7
There is no in-built way to do it so you have to roll your own. There are 2 sides to this problem: To get the data as booleans rather than … -
Replied To a Post in Seeking a partner to create something world changing
> They'd just use other things. Agreed. That was exactly my point in quoting the case of Scotland which has a high murder rate despite guns being (I believe) banned. -
Replied To a Post in Seeking a partner to create something world changing
> So you reckon the perennial high school massacres would be just as bad if kids didn't have guns? Not sure about that. I'm not sure either. Intuitively I would … -
Began Watching Seeking a partner to create something world changing
I'm a recent 1st class Computer Science graduate earning a reasonably good amount of money. Ever since I can remember, I have an intense desire to create something meaningful using … -
Replied To a Post in Seeking a partner to create something world changing
The Welsh, being inventive people, don't need guns to perform mass murders: [5 killed by fire in Prestatyn](http://www.digitaljournal.com/article/349392) That is of course unusual and I don't mean to suggest that … -
Began Watching Re-enter the software world
Greetings, I used to write software in the days of Pascal, and since then have moved into other IT areas. I am returning to the programming world but since I … -
Replied To a Post in Re-enter the software world
A lot depends on your goals. What are you aiming at? Desktop v Mobile v Web for example can influence your choice. What about your target OS? Also important. Professional … -
Replied To a Post in detect location of a selected exe file on hard drive
Post the code you tried. -
Began Watching detect location of a selected exe file on hard drive
Can anyone help me out with abit of code that will detect the location of any exe file on a hard drive / cd? am trying to build a simple … -
Replied To a Post in detect location of a selected exe file on hard drive
If all you want to do is to launch the app then the easiest way is not to find it at all. Just lauch the EXE without specifying its path … -
Began Watching Toshiba L770 Power Problem?
My Toshiba L770 Satellite Laptop does not power up, no LEDs lit when power adapter is plugged in. Power adapter producing 19.4 volts. Opened up laptop and got 19.4 volts … -
Replied To a Post in Toshiba L770 Power Problem?
I had a similar problem with my Tosh. I put the machine aside for a few weeks till I had time to look at it and when I came back … -
Began Watching ADO.Locate issue
I'm having an issue using the ADO.Locate function (Using Delphi 7). I've got the following code: procedure TFrmMain.RzBtnProcessClick(Sender: TObject); var WB: IXLSWorkbook; WS: IXLSWorksheet; X: Integer; MillStyle: Integer; KnitNo: Integer; … -
Replied To a Post in ADO.Locate issue
I don't see anything obviously wrong with your code so I would look at your data. For example, you check: if not VarIsNull(WS.Cells[X,3].Value) then but what about MillStyle:=WS.Cells[X,2].Value; Can `WS.Cells[X,2].Value` … -
Began Watching Writing arrays to .dat
I need to o an assignment where i make two programs, one to write a list of players in a team and their scores, the other to read and search … -
Replied To a Post in Writing arrays to .dat
Think what the value of `List2` is in this line: Writeln(UserFile, Score[List2]); or here: Writeln(UserFile, Score[List2]); You don't initialize List2 to any known value and you never change it. -
Replied To a Post in new to pascal objects
I don't know what went wrong with the formatting of my reply above! Sorry about that. -
Began Watching new to pascal objects
I am attempting to write a Hangman game using OOP. I have it done using procedural programming. I am not looking to make it a two person game yet. What … -
Replied To a Post in new to pascal objects
Good that you have something working! That puts you ahead of the game already. Here are some comments on your code and your question. 1. Data encapsulation is an important … -
Began Watching help with scrolling caption with bounce left and right
Ok here what am trying to do, when its scrolling left, I want to get the full length of the lblmarquee caption and then when it scrolls to the end … -
Replied To a Post in help with scrolling caption with bounce left and right
There is a nice Marquee component at http://www.delphiarea.com/products/delphi-components/marquee/ It can scroll left or write. All you would need to do is handle its onWrap event and swap its direction, like … -
Began Watching Delphi
is there any delphi dis assembler available? -
Replied To a Post in Delphi
You want a de-compiler rather than a disassembler. I have seen a few mentioned over the years but have never tried them so can't comment on how good they might … -
Began Watching a event not being called within my program
Following code below should reconnect my audio server if it was found to be disconnected now all is good the timer event is called and the system message shows its … -
Replied To a Post in a event not being called within my program
I don't see anything wrong with this, assuming "'ADDR', 'PORT', 'PASSWORD'" is just dummy data to avoid publishing your real data, and that you enable the timer somewhere. I suggest … -
Began Watching Hotel Reservation Site
Hi I am building this website for a small hotel. The user interface is ready and I have a form as shown below: If I click on submit I can … -
Replied To a Post in Hotel Reservation Site
Your bookings record tells you who the booking is for but doesn't tell you what was booked. You need to have another table to cross-reference each booking with the rooms … -
Began Watching Another NULL pointer in fopen
Hello, I'm writing the simple code as below #include <stdio.h> #include <stdlib.h> int main() { FILE *fp; float x,y; int n; int errno = 0; int i; fp=fopen("test_numbers.dat","w"); for(i=1;i<=10;i++) fprintf(fp,"%d … -
Replied To a Post in Another NULL pointer in fopen
You are opening the file twice, once for writing & once for reading. The 2 commands you use are: fp=fopen("test_numbers.dat","w"); fp=fopen("./test_numbers.dat","r"); Perhaps you are trying to read the file in … -
Began Watching Help with twebbrowser and html button click detection
Am having a awful time trying to get this to work I googled it and even asked few friends about it, but it seams it more difficult than I expected … -
Replied To a Post in Help with twebbrowser and html button click detection
Start a new project. Add a status bar and set SimplePanel TRUE. Add a TWebBrowser (and set Align alClient). Add this for the form's onCreate event handler: procedure TForm2.FormCreate(Sender: TObject); … -
Began Watching Delphi installing problem
I have windows7 64bit I am trying to install borland delphi 6 my Problem is when I run the program , the next message appear:  and when I … -
Replied To a Post in Delphi installing problem
http://www.drbob42.com/examines/examin84.htm -
Replied To a Post in Stored procedure definition syntax error
Yes, I removed the change of delimiter and reverted to ; instead of $$ in the SQL script that defines the stored procedure. It isn't a nice solution because it … -
Marked Solved Status for Stored procedure definition syntax error
I am using the MySQL C API and having problems defining a stored procedure. MY SQL script works fine in MySQL Workbench but the same script fails in my own … -
Replied To a Post in Stored procedure definition syntax error
YES !! Many thanks. That fixed it.
The End.