Sign up to connect with SalmiSoft and gain access to their complete profile
  • Member Avatar
    SalmiSoft

    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; …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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, …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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. …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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.
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    Replied To a Post in detect location of a selected exe file on hard drive

    Post the code you tried.
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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; …
  • Member Avatar
    SalmiSoft

    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` …
  • Member Avatar
    SalmiSoft

    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 …
  • Member Avatar
    SalmiSoft

    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.

The End.