Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2002
    Location
    Sugar Land. TX
    Posts
    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.

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    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

  3. #3
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Did you encase the URL in Quotes?

    File.OpenURL("www.indigorose.com", SW_SHOWNORMAL);

  4. #4
    Join Date
    Oct 2002
    Location
    Sugar Land. TX
    Posts
    52

    Thumbs up

    Yup that worked. Thanks guys for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts