Simple web button getting errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • MWMTex
    Forum Member
    • Oct 2002
    • 52

    Simple web button getting errors

    Can anyone tell what this error means? I know this isn't rocket science but I am having a problem getting this simple browser button to work.

    Syntax Error: [Location="Home:ButtonWeb", Event "On Click", Line=1]
    Error Detail: [<name> expected near `/'] in [File.OpenURL(http://www.adobe.com/products/photoshop/main.html, SW_SHOWNORMAL);]

    All I want is to click on the button and go to this web site. Real simple straight up.
  • Corey
    Indigo Rose Staff Alumni
    • Aug 2002
    • 9745

    #2
    Hi, you're just missing the quotes, since your URL isn't a variable, it's a string... try

    File.OpenURL("http://www.adobe.com/products/photoshop/main.html", SW_SHOWNORMAL);]

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment

    • TJ_Tigger
      Indigo Rose Customer
      • Sep 2002
      • 3159

      #3
      Did you encase the URL in Quotes?

      File.OpenURL("www.indigorose.com", SW_SHOWNORMAL);
      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

      • MWMTex
        Forum Member
        • Oct 2002
        • 52

        #4
        Yup that worked. Thanks guys for your help.

        Comment

        Working...
        X