Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by RobNorthcott

  1. RobNorthcott

    Send email to Office 365 server from Delphi?

    OK, a simple question but I can't find the answer! My app sends emails, but it's effectively broken on Office 365 (mostly people using BT as an ISP in the UK at the moment). Anybody know of a solution to this in Delphi? We were even using cdo, but this isn't supported any more either. At the...
  2. RobNorthcott

    How to get user name of record lock

    Looks like this forum is dead, but just in case anybody comes across this thread... We actually managed to work something out that does what we're after. Using the pgrowlocks() function, then cross-referencing those results with pg_stat_activity by pid = procpid allows us to get the user name...
  3. RobNorthcott

    How to get user name of record lock

    I'm a bit of an SQL server noob, so forgive me if this is a silly question, but I can't find the answer anywhere... When my app comes up against a lock and has to wait, I've always displayed a "locked by user xxx" message, so it's easy for the user to shout or run over to the offending...
  4. RobNorthcott

    How to set TActionClientItem.CommandProperties at runtime

    Forget it - we've just noticed the license warning about having to conform to Microsoft's narrow-minded ideas about how we can use the ribbon control interface. How typically petty. Won't be using that then :/ Rob
  5. RobNorthcott

    How to set TActionClientItem.CommandProperties at runtime

    I'm generating a TRibbon-based menu at runtime in Delphi 2010. It needs to be created in code at runtime because the menu can be completely different depending on which user logs in (menus are user-defined). It's working nicely apart from the fact that I can't write to the CommandProperties of...
  6. RobNorthcott

    PostgreSQL with Delphi 2010 really slow?

    Steve: Just gave those microolap components a try. They do a PostgreSQL version, and it's absolutely superb. Easy to use and goes like stink. Thanks for the tip-off. Looks like we could be sticking with Delphi after all :) Just need to get used to Rave Reports now... I was so used to...
  7. RobNorthcott

    PostgreSQL with Delphi 2010 really slow?

    Thanks for that Steve - we'll have a look at those while we're at it. We're not utterly decided on Postgre - we'd use another SQL server like MySQL if it performed better. It's just that we've used it a few times before (mostly for web apps) and it's always seemed good, and has the added bonus...
  8. RobNorthcott

    PostgreSQL with Delphi 2010 really slow?

    Thanks. There's not really any code to show you yet. We're just evaluating various methods to make sure they do what we need before we commit ourselves. I'm drawn to Delphi again because it seems a shame to waste my 25-odd years experience with Pascal/Delphi, but we really want to use a...
  9. RobNorthcott

    PostgreSQL with Delphi 2010 really slow?

    We're planning to redevelop our ageing Delphi 5/BDE/Paradox application and looking into the options. PostgreSQL is looking good for the database, and we've tried Java/NetBeans, MS Visual Studio and Delphi 2010. So far, Delphi is looking the most promising, but it seems pathetically slow at...
  10. RobNorthcott

    Run application in Delphi debugger without recompiling?

    Right, managed to get to the bottom of this. Just for anybody who comes across this thread in the future, the solution to my problem was as follows: Managed to get it to come up with the BDE engine error codes, $2501 and $210D Did some searching and the fix was to set the SHAREDMEMLOCATION in...
  11. RobNorthcott

    Run application in Delphi debugger without recompiling?

    Thanks Daddy, The app is always run as an administrator user, otherwise it doesn't work at all under xp or later (it creates directories, which MS have decided a normal user is not allowed to do). Not sure what you mean about the BDE being in the Program Files directory. The BDE is always...
  12. RobNorthcott

    Run application in Delphi debugger without recompiling?

    Thanks for the reply Steve. Perhaps I should have given more background info: The app has been running fine with nearly 500 customers for years (it's Delphi 5), with lots of them running multiple instances regularly. Yesterday one of our installation technicians called in reporting the problem...
  13. RobNorthcott

    Run application in Delphi debugger without recompiling?

    I've got an error that happens on startup of a second instance of my app on the same machine. I thought I'd be able to get to the bottom of it by running one instance, then running the second one from inside Delphi, but it always tries to recompile the EXE file, which cannot be overwritten...
  14. RobNorthcott

    Application added to windows task list but not running

    You are indeed my daddy :) How could I have missed that? I feel a bit of a fool now! Working perfectly though - should keep a few people happy. Thanks again, Rob
  15. RobNorthcott

    Application added to windows task list but not running

    Right, I've got closer to finding out what's going on. The problem happened on my development machine yesterday so I was able to trace the line of code that's hanging. Pretty much the first thing my app does is checks for other instances of itself on the machine (to stop people running more...

Part and Inventory Search

Back
Top