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 TouchToneTommy 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. Ronin441

    One app with two back ends?

    It's not that they've upscaled the existing system; more that they've reinvented it. But there are still plenty of legacy systems out there; hence my desire to simultaneously support both back-ends. New systems do not have the BDE installed, which is why I want to use pure Interbase components...
  2. Ronin441

    One app with two back ends?

    I have an app that has a BDE back end. The people who write the suite that my software slots into have changed from using a Paradox BDE database to using an Interbase database. So I've added Interbase support to my app, which is all well and good on a PC with both the BDE and Interbase client...
  3. Ronin441

    How do I detect if BDE is installed?

    I have a database app, which must talk to both BDE and Interbase as a backend. My problem is that I don't know how to tell whether or not BDE is installed on a PC. So, when my app starts on a PC without BDE, it throws an access violation or some equally unuseful error message. It then...
  4. Ronin441

    Access violation 00456A96 Read of address 0000338

    To get a look at what's going on, go to your Project | Options (ctrl-shift-F11), and on the Compiler page, make sure the Debugging options are all checked, and that the Optimize option is unchecked. Then, breakpoint the line that's causing the problem. When you hit the breakpoint, hover the...
  5. Ronin441

    IB 6 and Delphi 5 EReadError 'Property does not exist'

    I noticed that if I set all the components Active to True, I got database records appearing in my DBGrid, right there at design time. But still no run. This, then, continued to reinforce the it's-a-streaming-problem concept. So I messed around for a bit, getting nowhere, and eventually...
  6. Ronin441

    IB 6 and Delphi 5 EReadError 'Property does not exist'

    Hello Captain Typo: two typos in three characters. "gpr" should read "bpl". -- Doug Burbidge mailto:dougburbidge@yahoo.com http://home.iprimus.com.au/dougburbidge/
  7. Ronin441

    IB 6 and Delphi 5 EReadError 'Property does not exist'

    Hm, I see what you're saying. Only one DCLIB*.bpl: DCLIB50.bpr in $(DELPHI)\bin; the one I built just a couple of days ago. No ibex*.gpr; closest is ibevnt50.bpl, dated January 2000. -- Doug Burbidge mailto:dougburbidge@yahoo.com http://home.iprimus.com.au/dougburbidge/
  8. Ronin441

    IB 6 and Delphi 5 EReadError 'Property does not exist'

    Nope; I installed Interbase 6; then I installed VCLIB50.dpk and DCLIB50.dpk thta I got from Borland's web site, then I built the test app in Delphi 5 Pro Update Pack 1 from scratch, by reading along with http://www.ibphoenix.com/a496.htm So I started the test app with nothing but the default...
  9. Ronin441

    Mimic the '&' (macro) function of VFP

    Visual FoxPro is, I'm guessing, an interpreted language. Thus, using the mechanism you describe, you can pass a string to the interpreter, and ask it to find the function of that name and execute it. Delphi is, of course, compiled. At compile time, the string names of functions have already...
  10. Ronin441

    IB 6 and Delphi 5 EReadError 'Property does not exist'

    I've installed Interbase 6 on my PC (it describes itself as WI-V6.0.1.0). I started getting error messages when I start up Delphi, about not being able to find entry points in, um, DCLIB50, I think. So I got some Interbase packages from Borland's web site, and compiled 'em, and installed the...
  11. Ronin441

    DROP INDEX foo not working

    Thanks; that does the trick nicely. Is that actually documented anywhere? -- Doug Burbidge mailto:dougburbidge@yahoo.com http://home.iprimus.com.au/dougburbidge/
  12. Ronin441

    DROP INDEX foo not working

    I have a line of code that says: DM.LeagueDatabase.Execute('CREATE INDEX Game_ID ON ' + TableName + ' (Game, ID);', nil, False, nil); It works fine, and the Game_ID secondary index is duly created. I have another line that says: DM.LeagueDatabase.Execute('DROP INDEX Game_ID;', nil...
  13. Ronin441

    TTable.FindKey blow up

    No, $I shouldn't make any difference; that's for direct file I/O stuff, rather than database stuff. I'm really surprised that putting logic just before the Post, to check if ID is empty, isn't working for you. Another possibility is that it's not the explicit Post that's causing the problem...
  14. Ronin441

    TTable.FindKey blow up

    That error message sounds like you are posting a record to a table that has a field that requires a value, and you're not supplying said value. You might want to put a little bit of logic just before you Post, saying something like, if ID is empty, then do something about it. If it's only...
  15. Ronin441

    Make my app "alwais on top" !

    Sure. Mine is the Delphi VCL way; yours is the Windows API way. Using Delphi's Visual component library is often shorter and more readable; but it may not give you as much control as a Windows API call, and there are some things you just can't do through the VCL, which means that you've got no...
  16. Ronin441

    SpinEdit Exception

    The problem occurs when you have an event hooked to the SpinEdit's OnChange event, and that event reads the SpinEdit's value. As you say, the SpinEdit tries to convert '' to an integer, and then gets upset because '' is not a valid integer value. It's not being caught by your exception handler...
  17. Ronin441

    Make my app "alwais on top" !

    For each of your forms, set the FormStyle in the form designer to fsStayOnTop. Note that messing with this property while your app is running may have unpredictable effects -- sometimes your app may fail to stay on top -- so set it at design time. -- Doug Burbidge...
  18. Ronin441

    D5 Entr. Pallettes and components gone ???

    It's all about the registry entries. If you do something that blows away Delphi's registry values, such as reinstalling Windows, or such as Windows corrupting your user profile and thus forcing you to build a new login, that's where you'll wind up -- only the one component available. You can...
  19. Ronin441

    why DEBUGGING does not work? (GREEN X sign shows)?

    Go Project | Project options | Compiler. In the Debug section, ensure that Debug information, Local symbols, and Reference info are all checked. If they're not, check 'em, check the Default box down the bottom of the dialog, and click OK. Also ensure that your app does not contain a {$D-} or...
  20. Ronin441

    Simple Array of String alpha sort

    Create a TStringList, put all your strings in it, and use its Sort or CustomSort method: var myStringArray: array [0..99] of string; var myStringList: TStringList; begin myStringList := TStringList.Create; for I := 0 to 99 do myStringList.Add(myStringArray[I]); myStringList.Sort...

Part and Inventory Search

Back
Top