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

Send a calendar appointment

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

    Send a calendar appointment

    I want to send a calendar appointment from Alpha, presumably using an email, but I'm not sure how to go about it. I've seen some links on the message board, but most of them are very old.

    Is anyone doing this?

    #2
    Re: Send a calendar appointment

    Type email in the video finder - it's easy to do.
    Insanity: doing the same thing over and over again and expecting different results.
    Albert Einstein, (attributed)
    US (German-born) physicist (1879 - 1955)

    Comment


      #3
      Re: Send a calendar appointment

      I looked in the video finder at the email videos. I see 3 categories of videos and none of them mentions sending a calendar appointment. Do you have a specific video in mind?

      Comment


        #4
        Re: Send a calendar appointment

        Hi Larry,
        Calendar appointments are just text files with an extension .ico in general. If you are creating appointments with a calendar control then you need to export the ico files or create the files yourself then add then to your email to send it.
        Edhy Rijo
        Progytech
        (Computer Consultants)
        The makers of CardTracking.Net
        www.progytech.com

        Comment


          #5
          Re: Send a calendar appointment

          File extensions are more typically ics or vcs. Do a google search for "ics file format". Note that ics replaced vcs but there is some helpful info out there for vcs.

          Comment


            #6
            Re: Send a calendar appointment

            Thanks Garry, you are right ics, I don't know what was I thinking about when I typed ico twice
            Edhy Rijo
            Progytech
            (Computer Consultants)
            The makers of CardTracking.Net
            www.progytech.com

            Comment


              #7
              Re: Send a calendar appointment

              I'm just glad that it is not only me that has these brain fades. When you get an idea in your head, it is hard to dislodge. I have at times misread a post or skipped over an important piece and gone off in the complete wrong direction. Embarrassing but nonetheless human.

              Comment


                #8
                Re: Send a calendar appointment

                I see the ICS file stuff and yes, I can look that up and I did just now ... but ... I was really hoping someone had a template built already with the xbasic to do things like convert the date to the proper format and with all the proper tags setup.

                Or even a SQL statement that does the same thing.

                Comment


                  #9
                  Re: Send a calendar appointment

                  Larry, you should be more specific on what you are asking
                  If you are using the JQ Calendar Connector from Jim Coltz, then the calendar will export any appointments into ics file with a great flexibility for you, if you are not using any calendar, then you will have to manually create the ics files with the sections you want to support based on their specifications. I did that for one of my .Net applications, but haven't have the need to do it in AA, so I cannot share any code, but it is very simple, just play with it and create couple of them manually then test them with Outlook or any other application that can read ics files.
                  Edhy Rijo
                  Progytech
                  (Computer Consultants)
                  The makers of CardTracking.Net
                  www.progytech.com

                  Comment


                    #10
                    Re: Send a calendar appointment

                    I was replying to this part of your question,
                    presumably using an email, but I'm not sure how to go about it.
                    Insanity: doing the same thing over and over again and expecting different results.
                    Albert Einstein, (attributed)
                    US (German-born) physicist (1879 - 1955)

                    Comment


                      #11
                      Re: Send a calendar appointment

                      Hi Larry,

                      Sorry this might be a little late, but see below:

                      Code:
                      FUNCTION createIcal AS P (startDate as T, endDate as T, eventID as C, title as C, description as C, fileName as C)
                      	dim output as C = ""
                      	dim ret as P
                      	
                      	'.ics file defination
                      	dim file_path as C = "C:\temp\mycalendar"
                      	dim file_name as C = "interview_schedule"
                      	dim file_ext as C = ".ics"
                      	
                      	'For create event in .ics file
                      	dim ical_UID as C = ""
                      	dim ical_summary as C = ""
                      	dim ical_description as C = ""
                      	dim ical_dtStart as C = ""
                      	dim ical_dtEnd as C = ""
                      	dim ical_eventString as C = ""
                      	
                      	'Get system setting for calendar file path
                      	dim setting_file_path as C = ""
                      	if setting_file_path <> "" then
                      		file_path = setting_file_path
                      	end if
                      	
                      	if fileName <> "" then
                      		file_name = fileName
                      	end if
                      
                      	ret.icalFile = filename_decode(file_path + "\\" + file_name + file_ext)
                      
                      	'create the calendar file's contents
                      	dim calendarHeader as C = "BEGIN:VCALENDAR" + crlf() +\
                      								"VERSION:2.0" + crlf() +\
                      								"PRODID:-//Calendar Labs//Calendar 1.0//EN" + crlf() +\
                      								"CALSCALE:GREGORIAN" + crlf() +\
                      								"METHOD:PUBLISH" + crlf()
                      								"BEGIN:VTIMEZONE" + crlf() +\
                      								"TZID:Eastern_Time" + crlf() +\
                      								"X-LIC-LOCATION:Eastern_Time" + crlf() +\
                      								"BEGIN:DAYLIGHT" + crlf() +\
                      								"TZOFFSETFROM:-0500" + crlf() +\
                      								"TZOFFSETTO:-0400" + crlf() +\
                      								"TZNAME:EDT" + crlf() +\
                      								"DTSTART:19700308T020000" + crlf() +\
                      								"RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3" + crlf() +\
                      								"END:DAYLIGHT" + crlf() +\
                      								"BEGIN:STANDARD" + crlf() +\
                      								"TZOFFSETFROM:-0400" + crlf() +\
                      								"TZOFFSETTO:-0500" + crlf() +\
                      								"TZNAME:EST" + crlf() +\
                      								"DTSTART:19701101T020000" + crlf() +\
                      								"RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11" + crlf() +\
                      								"END:STANDARD" + crlf() +\
                      								"END:VTIMEZONE"
                      
                      	output = calendarHeader + crlf()
                      	
                      	ical_UID = eventID
                      	ical_summary = stritran(stritran(title,"\\","\\\"),",","\,")
                      	ical_summary = stritran(title,";","\;") 'this didn't work when added to line above for some reason
                      	ical_description = stritran(stritran(description,"\\","\\\"),",","\,")
                      	ical_description = stritran(description,";","\;")
                      	ical_dtStart = "DTSTART;VALUE=DATE-TIME:" + time("yyyyMMdd", startDate) + "T" + time("0h0m0s", startDate)
                      	ical_dtEnd = "DTEND;VALUE=DATE-TIME:" + time("yyyyMMdd", endDate) + "T" + time("0h0m0s", endDate)
                      	eventString = "BEGIN:VEVENT" + crlf() + "UID:" + ical_UID + crlf() + "SUMMARY:" + ical_summary + crlf() + "DESCRIPTION:" + ical_description + crlf() +\
                      					ical_dtStart + crlf() + ical_dtEnd + crlf() + "TRANSP:OPAQUE" + crlf() + "STATUS:CONFIRMED" + crlf() + "END:VEVENT"
                      
                      	output = output + eventString + crlf()
                      	output = output + "END:VCALENDAR"
                      
                      	if file.exists(file_path) == .f. then
                      		if dir_create_recurse(file_path) == .f. then
                      			ret.error = .t.
                      			ret.error_msg = "[Could not create calendar file [Fail to create folder \"" + file_path + "\"]"
                      			return
                      		end if
                      	end if
                      
                      	if file.exists(file_path) then
                      		if save_to_file(output, ret.icalFile, .f.) then
                      			'file created
                      		else
                      			ret.error = .t.
                      			ret.error_msg = "Could not create calendar file [Fail to save to file]"
                      		end if
                      	end if
                      		
                      	createIcal = ret
                      	
                      END FUNCTION
                      Earl Allin
                      REAInc.net

                      We can help you with mentoring and custom programming services in Alpha, .NET, React, PHP, ColdFusion, and more..

                      Comment


                        #12
                        Re: Send a calendar appointment

                        Hi Robert,
                        This is very nice, thanks for sharing!!!
                        Edhy Rijo
                        Progytech
                        (Computer Consultants)
                        The makers of CardTracking.Net
                        www.progytech.com

                        Comment


                          #13
                          Re: Send a calendar appointment

                          Not late at all! Thank you.

                          Comment


                            #14
                            Re: Send a calendar appointment

                            Nice work Robert.
                            Insanity: doing the same thing over and over again and expecting different results.
                            Albert Einstein, (attributed)
                            US (German-born) physicist (1879 - 1955)

                            Comment

                            Working...
                            X