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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ZoneVM

    String & Variable Concatenation problem

    Try: RichEdit1->Lines->Add("B1 =" + String(B1) + " lbs.");
  2. ZoneVM

    Code Completion Slow

    Good Stuff! Thanks for keeping that around.
  3. ZoneVM

    Code Completion Slow

    Thanks to both. The dead link is: http://www.bcbdev.com/articles/pch.htm
  4. ZoneVM

    Code Completion Slow

    And I mean really slow. I've searched and found links pointing to an article at bcbdev, but the link is dead and I haven't been able to find the content anywhere else. Does anyone know what the secret is to making code completion work in less than 10 seconds or so? Thanks!
  5. ZoneVM

    Clicking too fast for database update...

    Good stuff. Thanks!
  6. ZoneVM

    Clicking too fast for database update...

    It turns out that moving the sleep has no effect. I even increased the sleep to an absurdly long period, and the problem persists. It seems that what is happening is that the form 'remembers' how many times it was clicked, but it doesn't call the ResourcesCheckClickCheck() function for each...
  7. ZoneVM

    Clicking too fast for database update...

    Yes, the reload loads the form with the updated entries. The addResourceToPool() and removeResourceFromPool() do the database handling, but they do so in the same thread. They are pretty fast queries, simply adding a row to a table or removing based on a primary key. I'll try moving the sleep...
  8. ZoneVM

    Clicking too fast for database update...

    I'm having an issue where I am trying to keep a database up to date with a form, i.e. when a user clicks an item on a check list, the database is updated. The problem is that when a user checks and unchecks a box too fast, the form and the database do get out of sync, and an exception is...
  9. ZoneVM

    Interbase inconsistant speed

    Weird. I wouldn't have guessed the disconnect was the culprit. The only easy thing I can think of to remedy it (other than what's in the posts you linked) would be to keep the connection throughout the app, and only disconnect on app shutdown. Put your connection on a data module, and use the...
  10. ZoneVM

    Interbase inconsistant speed

    yes, that's what I meant, the sqlplus (oracle) or the isql (firebird) or whatever connection utility the database offers. I only ask because if the query is consistently fast here, the delay may be in getting the connection and not in running the query. You might try to time different parts of...
  11. ZoneVM

    Interbase inconsistant speed

    Does the same thing happen if you run the query from the commany line?
  12. ZoneVM

    How I can to write wave files

    Well, this is probably not the most elegant or efficient way of doing things, but back in school I had a similar problem and solved it by looking up the .wav spec online and just writing samples to a file using standard io functions. It wasn't that hard to do, once I figured out how to keep...
  13. ZoneVM

    IE Passwords/Windows passwords hash?

    MD5 and MD4 are hash functions that take input of arbitrary length and produce output (in the case of MD5 at least) of 128 bits. They are cryptographic in that it is supposed to be 'hard' to go from the hash output back to the original. By hard I mean that there is no method which is more...
  14. ZoneVM

    Progress Form

    Thanks. It has the same effect, but it seems ProcessMessages might be the more appropriate way to do what I'm after. Do you see any problems with how I'm doing this, or do you think I should use a Frame instead?
  15. ZoneVM

    Progress Form

    Ok, I got it working OK by using the "OnActivate" method and putting Repaint() calls in as required. Still, my intuition tells me there's a better way to start computations when a form is created (or a better way to handle status forms. If anyone can point me in the right direction, I'd be...
  16. ZoneVM

    Progress Form

    In my C++ Builder 6 application, I have a form which performs lengthy computations / work and reports status back to the user. The user has the option to cancel as well. What I'm shooting for is something like the "Compiling..." dialog that pops up when you run a project from the IDE. My form...
  17. ZoneVM

    Customizing Components

    Thanks to all who replied. I solved this problem by using the JEDI library, which is truly a great resource that I hadn't been aware of. It is distributed under MPL, meaning it can be embedded in commercial projects, and is free. Good stuff here. http://homepages.borland.com/jedi/jvcl/
  18. ZoneVM

    Customizing Components

    I'm looking for a bit of a nudge in the right direction... I have a need for a ListBox where each item can be a different color. Ideally, each item could have a glyph of some sort attached to it as well, just a little symbol sort of thing that would reflect the status of the item at a glance...
  19. ZoneVM

    Which database

    I posted a "which Database..." question here a while back. I ended up using Firebird, and couldn't be happier. Not sure what OS you're running, but firebird has an embedded server, which is just a dll dropped into your application directory. Using the embedded server, my app is totally self...
  20. ZoneVM

    list.erase(it) problem

    Try this instead: for(list<Figure *>::iterator it=HildingsKakor.begin(); it!=HildingsKakor.end();/*NOTHING HERE*/){ krockar = pJanos->operlapsWith(**it); if(krockar){ it = HildingsKakor.erase(it); } else { it++; } } HTH

Part and Inventory Search

Back
Top