Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

linking to non-alpha files

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

    linking to non-alpha files

    I am trying to create a navigation element which will allow the user to link to an .xls or .doc file.
    1) how do I specify the location of the file so that alpha finds it?
    2) How do I get the link to call the appropriate application to open the file?

    #2
    Re: linking to non-alpha files

    You insert exactly the same information on the URL field of the menu as you would if you were to create a hyperlink to your document. Examples:

    mydoc.doc if the document is under the A5Webroot folder
    /docs/mydoc.doc if under a subfolder named docs inside the A5Webroot folder

    Or you could use
    http://www.someotherdomain.com/mydoc.doc if it was on a different server.

    If its in your application, the document needs to go somewhere under the document root, normally A5Webroot.
    Steve Wood
    See my profile on IADN

    Comment


      #3
      Re: linking to non-alpha files

      i am trying to set a link on my site to a power point show.

      the file is called getconnected.pps

      i have tried setting a link as file://getconnected.pps and also http://getconnected.pps

      the former i get no action at all, the latter i receive an error (which i knd of expected)

      the file is published to the web root folder in the same folder as the pages.

      i know its probably something simple i am missing.

      Comment


        #4
        Re: linking to non-alpha files

        Just a little more code. The A5W would look something like this:

        HTML Code:
        <html>
        <head>
        <meta name="generator" content="Alpha Five HTML Editor Version 8 Build 1980-3163">
        <title></title>
        </head>
        <body>
        <p>
        <%a5 
         ?"<a href = \"powerpoint.ppt\">click here to view powerpoint</a>" 
        %>
        </p>
        </body></html>
        where it says powerpoint.ppt above could also be the full URL starting with http://.....

        Also, the user may not be able to view your presentation unless they have powerpoint on their computer (I'm not sure). But I know there is a function in PowerPoint for packing a presentation especially for a web presentation.
        Steve Wood
        See my profile on IADN

        Comment


          #5
          Re: linking to non-alpha files

          steve,

          thanks for your time again.

          i entered your code and just changed the name to the name of my document, but get this error

          The requested URL /\"getconnected.pps\" was not found on this server.
          i have put a link on my site for a free powerpoint viewer. i did try converting to a web page but it didnt look very good. i will probably re do the presentation in a web page soon, but short on time now.

          thanks

          richard

          Comment


            #6
            Re: linking to non-alpha files

            My syntax is correct so either your file is not in the right location and/or, if you are using security framework, you need to add pps to the list of always allowed file types.
            Steve Wood
            See my profile on IADN

            Comment


              #7
              Re: linking to non-alpha files

              i had put the code on an html page (not sure if this makes a difference) anyway i duplicated and changed to an .a5w page.

              i also deleted the meta generator line, as i dont think i am the same build.

              this allowed a page to be opened but instead of my presentation, i was presented with this

              ��ࡱ�����������������>���� ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������n�|��X���;cZ��۩��9��PNG  ��� IHDR��$��������[�����gAMA����|�Q���� cHRM��z%��������������u0���`��:���o�������IDATx��TKnTA ��=��Xd qU��%KD��浍�r�{R6`:Ѽ�]�*���~�N�u[���Ɉ����4o٨n2���2���)�� ����i�$c��yM|{��1�[��x�x��R�A��D� �_Y�� BW���.̢<�# �Z�v��r�����߃X8a+*.L��$%�k*>�9�e����M̎Δ^^�˖"&^�� �KrT���b����0#�d� T��2`&O %p�v^h�s��h���c��&�*NAEF�$�Hyb�XzY/���J�p����U�ucS�5] )�Y�w��Ke'�S��b�����A޸�h�F ͓T���j6�_7�G[-a1 ^\�|���~�ޥu�_WW��[ۆ�a�[?w�F�G�]���<���E�E�V��x:x[S؋�vU7J�6v�b��$�m�|ȥ��c(v@i i�!�5 �LO�C����iʂ+�B��FM�xv#V�� �6j6�T�7�Z�w�[X:ȅ R +R�MrY�l��S�#��� !O���Պlf�#I��� $��/����t*M�=�i���r�#�4��,�Y3�����3�V�MAg��M-X���ϵeN-�!'t���Qyh_�I���Qϣ4d�E���Ɋ��q������_>�y�q~��|M���2ƉH���u<^?z�®v,K��|+ Q7$_w�{cY_�7�8&��{�0�FYW�3�ݧ�2go� &�q�s��A�bз&�qZ���~Tɰ���Z”��;z/Oߒr�*�Y���'�;f��0aL�jR����<컳���ި��������l}����˽R��atNW����V�YռhaHK�a�S?�S� �Ѫg3����>�� ��/n ����`PC����go�2m�9�-v�� �u�#���L���|� M:X ��;�s�3�F���&βs��5�Sf�2�f�x3����4ѥ }��U 1��,:~�WŃ�9�,��׽�,�ҍ�jJj�B ����ݓ%� r������+X"�a��f�r,�%P��b���2!e��6F-M��R@��ĵ`  ��� � �,%gc�f �h̸�1]��hT�*���?��z�����G�V�.'���P��Z%PP �%�a:���H�Y�S������3��a��O > �  w* 6O=oޢi��~�6�}����z�w �1�57�$8!�GBʰJ4y�2�=n̸[|�#���7�v�'��g�;GK��*�:��[j���c�2�D�-8�T��SF���_��ۖ�*�B���"�m�q��gn� � �9���f�8E� �_�$q�7W3��\���_�Hr�����z���a;d��<�J������ڛ�]ṟ��bp�����R�z3������S��d���J��ې/�&,��-ךl}�rL�k��H� {�d�2gI~��S���^�1x���Tɚ9I=� jy[:�7l$�e��RՁ��&�k�bnd�sdL�%��� f5��8b]��z9 ݰ����� -�E������5�ʗad��:�S�Öe&�~}�cum��=�6��T�0�)τ����؇p�0���F5ԯs���G�Ǹ'��{|�#�����9�|]��_�O����S/���Ƿ83z�:�B-�~j p�_ ޞ�w�l�\�!���ʮ��y%o2{�6 ���RԖj�1��~��0���<�� �V�X|� �f��x �*(����tQ�s��`� �a �g<���oMc@��]a��ć���X���]}����\��L����V�L_ .�>��B���f�(�H� 94�<Β�gsM,��h�ڄm"i�"�fl,����[6�2>�2�] TƸ['J����{Bj�[/1k��eEXf�D�\j��*�9��"&�Kh̏f\�K�(�r>�A-�$xH�/Ɣ�G�6WkE�I��"�u���(�<��#����� �#MSc� jɊŻ�����=��~����u����ҳ���r��R�A� ��OV�8�`s�$Q�4`!w�AzW������݇I�.���8�%��1g�>v��T�i��T�7m�>�qb.N�dnM��d C�.TB��ә�iD�˜(��I ])F�uMv�R���_�����<{�6$9c�O�a%f��ё]�!�ٶ����~���������+����V'�lWY����)]��<1�dV�e��`�b�y.� ���gX\9��*�+|�F�\������*�J��WE�Z������7�s��H��i)9��g��!W�cV�cw�^�+��QW�����R�0 D%�(���M���#��Lm�[���� [��}���LQ5��%���tWI.?���˒� ҞsO<�UG+�( � /�2�d��l� ��V����u�=y Nul��Ĭ*U���L�Al)�B��Ų�6�!+4�Y�5� �K���z�����1����V2ȱew�Xk�M���\ ������%`JJ�e��,��ϰ��\���;%�����@6yF/��d��1��3�h)n�U[��W���8Y��uO�.-wy �s�w��O� ?Е��Bd%(mvWi�zx]�S�XG���J�aE�u���-�iu��B+�6��-J��n�6k}㡾,������1��&�1a�n����8��{���\}�[F���5�*���X]z<��9�W�4ӥV���ƥ�;2����c�
              any ideas what i am doing wrong?????

              Comment


                #8
                Re: linking to non-alpha files

                The browser is displaying the source of the PPS file instead of invoking PowerPoint to display it. This is because the server does not currently recognize the .PPS extension to set the correct MIME type (but it will as of the next patch).

                You can work around the problem with this technique.

                Lenny Forziati
                Vice President, Internet Products and Technical Services
                Alpha Software Corporation

                Comment


                  #9
                  Re: linking to non-alpha files

                  lenny

                  i tried this

                  Code:
                  <%a5 
                  response.mime_type = "application/pps"
                   ?"<a href = \"getconnected.pps\">click here to view powerpoint</a>" 
                  %>
                  </p>
                  i wasnt sure about the Blurb part of the code in your link as this seemed to be looking for a file outside of the webroot.

                  my attempt at the code is opening the entire web page in powerpoint as soon as the page tries to open.

                  Comment


                    #10
                    Re: linking to non-alpha files

                    I expected MIME. Here is something that works. First, move the pps file OUT of the document root, like c:\pps\powerpoint.pps.

                    Then this:

                    <%a5
                    response.mime_type = "application/vnd.ms-powerpoint"
                    ? file.to_blob("c:\powerpoint.pps")
                    %>

                    Now that will open the pps immediately when the page is opened, so you would want to put a page in front with a hyperlink leading to this page to open the file. To make it generic, your hyper link can be:

                    openmypps.a5w?file=powerpoint.pps

                    and then the openmypps.a5w page like this:

                    <%a5
                    response.mime_type = "application/vnd.ms-powerpoint"
                    ? file.to_blob("c:\\"+file)
                    %>

                    Where "file" is a page variable delivered by the file=powerpoint.pps from the hyperlink.

                    The mime syntax has to be specific, here is a reference to all mime types:

                    http://www.w3schools.com/media/media_mimeref.asp
                    Steve Wood
                    See my profile on IADN

                    Comment


                      #11
                      Re: linking to non-alpha files

                      steve,

                      really appreciate this.

                      thanks

                      richard

                      Comment

                      Working...
                      X