Announcement

Collapse
No announcement yet.

EULA

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • EULA

    Thought I'd share an idea I had [tho it may not be original].

    I was looking to do an EULA in a project. The project canvas is 800x600 and set to fullscreen, and I didnt want the EULA to be the same size. This prompted me to think about doing it in another project where I can make the canvas about 300x300-ish with the usual Accept/Decline. Decline was obviously gonna Application.Exit and Accept would take the user to the second project executable. What was puzzling me was how to stop the user running the second exe without accepting the EULA.
    I thought about having 'Accept' write something to somewhere and the second exe would verify this upon Project.OnInitialize. I need to stay away, however, from writing to the HDD coz chances are good the user may be running a diskless system. Additionally, writing to the registry may not be allowed.
    [Time for Coffee and Twinkies and a new thinking cap.]
    My 'problem' was solved with the custom dll that Brett compiled to allow writing to the clipboard. Accept would write "something" to the clipboard and the second exe would verify this by way of:

    (Project.OnInitialize)
    File.CallDLLfunction ..."blah"
    <font color=blue>IF %Clipboardtext% != "something"</font color=blue>
    %Result% = Dialog.MessageBox "You do not have access ..." OK
    Application.Exit
    <font color=blue>END IF
    </font color=blue>

    Job Done! I hope someone else can use this too.
    Thanx again Brett [img]/ubbthreads/images/icons/smile.gif[/img]
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  • #2
    Re: EULA

    good idea. I will have to find that dll you mention.

    Something new to try. So are you putting something funny into the clipboard? or EULA Agree
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

    Comment


    • #3
      Re: EULA

      something funny i think ... dunno what tho, yet! [img]/ubbthreads/images/icons/smile.gif[/img]
      -
      = Derek
      ["All glory comes from daring to begin" - fortune cookie]

      Comment


      • #4
        Re: EULA


        Nice one .., exotic, but nice.

        I'll file this one. Def worth a mention in the new web site.

        Comment


        • #5
          Re: EULA

          Use this to add some fun translations to what you put on your clipboard.

          http://www.cs.utexas.edu/users/jbc/home/chef.html
          TJ-Tigger
          "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
          "Draco dormiens nunquam titillandus."
          Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

          Comment

          Working...
          X