Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Simple web button getting errors

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

  • 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.

  • #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


    • #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


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

        Comment

        Working...
        X