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!

Recent content by Ragnafar

  1. Ragnafar

    case sensitivity question

    If you're putting that much effort into doing something the language wasn't designed for, you have to ask yourself two things: 1) Are you using the right language? 2) Why not just accept what the normal is (ie why bother making it case-insensitive)?
  2. Ragnafar

    Simple question, is the syntax correct?

    You already did it in your other post: $new_url = $row["rpt_path"]; header("Refresh: 1; url=$new_url");
  3. Ragnafar

    Simple question, is the syntax correct?

    How about trying it and seeing if it works?
  4. Ragnafar

    Passing Array to Delphi DLL from Excel?

    You don't need ShareMem, that's only for if you're passing dynamic strings, you have no strings in your function.
  5. Ragnafar

    HOWTO store a para in the string?

    Try using variables to make it easier to read eg, NL:Char; q:String; s:string; NL := chr(13); s := 'some text'; q := Concat('This is line 1',NL,'This is line 2 with text ',s; You could define NL as a constant.
  6. Ragnafar

    Passing Array to Delphi DLL from Excel?

    There's no strings there.
  7. Ragnafar

    EPOS! I Reading from a BarCode Scanner

    How about using the OnChange event and checking if it's the right length before looking it up?
  8. Ragnafar

    include function

    a) Try it and find out, that's the easy way. b) Try looking at some example code somewhere. c) The function's not called include for nothing.
  9. Ragnafar

    Recognize whether modal form is open

    Have a form-less unit with a variable Modal_Open:Integer; Make each form use that unit and in the OnShow events of each modal window put inc(Modal_Open); In the OnClose event put dec(Modal_Open); Then if you want to know if any are open, check for Open_Modal = 0
  10. Ragnafar

    WriteFile outputs junk

    I come across this problem pretty much every other program I write because I always forget, if you define the length of a string (so you can write it to a file) it keeps anything that isn't overwritten. eg. Blob:String[15]; Blob := 'I'm saying hi'; Blob := 'Hi'; then write it to a file, would...
  11. Ragnafar

    applicatin.terminate problem

    My documentation doesn't have any disads, but then again it's not exactly the latest version (Delphi 3). It just says that Application.Terminate does exactly the same as closing the main form.
  12. Ragnafar

    applicatin.terminate problem

    I always use Terminate, and it's never failed me, maybe it's one of the components you're using still running (one of the database ones?)
  13. Ragnafar

    Open Form / Close program questions?

    To close all forms when one is closed just use application.terminate in the OnClose event. Works for me, but it doesn't give you too much control over what happens (or it does and I just don't know).
  14. Ragnafar

    Playing a .WAV file to a modem using Delphi

    One quick question, how will playing a .wav file help you to open a modem connection?
  15. Ragnafar

    Copy a bmp into a Timage

    Get a better quality Bitmap maybe?

Part and Inventory Search

Back
Top