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 Mike Lewis 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. Han777

    How to construct web address from concatenated text and variables

    Thanks djjd47130. Since you used the word "instead" of DoubleToStr am I correct to assume that FormatFloat produces a string output from a double formatted variable like mystop?
  2. Han777

    How to construct web address from concatenated text and variables

    Thanks Gentlemen, I'm using Delphi win32 (not .net)I'm hoping that Djangman's solution works as it is the simplest. So I'll try that first. If I understand correctly the URL would look like this, assuming the variables were double variables: http://www.collective2 .com/cgi-perl/signal...
  3. Han777

    How to construct web address from concatenated text and variables

    My need is simple. I need to send a URL to collective2 to place an order at a specific price defined by a variable in delphi. I know how to send the URL but how do I concatenate into the URL a variable containing the price? Here's what the urL looks like: http://www.collective2...
  4. Han777

    how to access a URL

    Following the link http://delphi.about.com/od/windowsshellapi/a/executeprogram.htm I have modified the dll from which I want to open a known URL the address of which is hard-coded into my dll. With ShellApi included under USES I received errors in response to this test code line...
  5. Han777

    how to access a URL

    Thanks for the timely responses. Sorry I wasn't more clear. I already know the URL I want to open under certain circumstances and can hard code that into my DLL . What I need is the way to ping that hard coded URL when those circumstances occur. By ping I mean open that URL in a browser when so...
  6. Han777

    how to access a URL

    I have written a working Delphi dll and want to add code in it to access a URL under certain conditions. Once the condition has occurred can I access the URL with a line or two of code? Do I need to add Uses? Could someone give me a sample of what that line or two would look like?
  7. Han777

    How to create & call an indeterminate number of instances?

    That's a generous bit of code Daddy. Thanks! I don't have ANY experience with forms as I create dlls only. The Forms referencing confuses me a bit. I'll have to work a bit to sort through this but its a start which I much appreciate. If the rich bounds of your generosity and time have not yet...
  8. Han777

    How to create & call an indeterminate number of instances?

    I need to create multiple instances of an object, then keep calling any or all of those instances until no longer needed, at which time any can selectively be destroyed. I would like to know a programmatic way of creating and calling each instance, naming each incrementally, without knowing...
  9. Han777

    Best way to convert a double to an integer?

    More specifically to produce the floor or ceiling of a double and save the result to an integer.
  10. Han777

    Best way to convert a double to an integer?

    What's the most direct way to convert a double to an integer?
  11. Han777

    How to detect an object's name

    Thanks guys. declaring a name worked fine. Thanks for pointing out the findcomponent function.
  12. Han777

    How to detect an object's name

    I create two different instances of a class, objectA and objectB. in the procedure method of the class how do I ask 1) whether the currently processing object is objectA 2)what the name of the currently processing object is? I don't want to test to see what the class "is" because both objects...
  13. Han777

    static variable at class level (example?)

    Thanks Les Paul for the good suggestion. I often consult delphiabout.com. I've been told by a programming associate that a variable that is static at the class level is coded like this (Quotes are his): type TMyClass = class A: longint; static; end; In this case, a becomes essentially a...
  14. Han777

    static variable at class level (example?)

    In Delphi, could someone give me an example of what is meant by variables that are "static at the class level.
  15. Han777

    concatenated commands

    Thanks Daddy. What are the benefits of a script parser? Do you use it when writing code? Han777
  16. Han777

    concatenated commands

    is it possible with Delphi to take a passed string parameter and combine it with string variables (or directly with other strings) then turn that string concatenation into a command, that is a working line of code instead of a long string that doesn't do anything?
  17. Han777

    unit to unit referencing of public variables

    Thanks to Griffyn and Harebrain for a timely response to my first post in this newfound forum. Its a privilege to immediately hear from a couple of the top 10 MVPs. That quality of knowledgeable support can saves days of perplexity and is immensely valuable to me in my transition to OOP. Not...
  18. Han777

    unit to unit referencing of public variables

    The actual code among these units is 100s of lines of proprietary trading system code. I would have to recreate a skeletal dll. Is this adequate clarification: Unit1; USES ... TYPE Dad = class Protected ...[other variables] Public LooseChange : integer...
  19. Han777

    unit to unit referencing of public variables

    As a professional trading system developer writing Delphi dll for NeoTicker, I've recently advanced from procedural to Object Oriented Programming and am having trouble referencing across units. If in Delphi unit1 a procedure of a class named Dad assigns a value to its public variable DadsVar...

Part and Inventory Search

Back
Top