Creating simple VB.net Win Form app to add Ticket record.

Creating simple VB.net Win Form app to add Ticket record.

Hi all,

Hoping this will help my fellow community members who are working to build VB apps to work with Zoho Desk.

I will attach code as I get each portion to work and hoping others will post theirs as well.

So, the first thing I was able to do was pop a messagebox confirming my instance likes my consumed ZOHO auth key. The messagebox pops with RESULT=TRUE

Form
1 Button

Imports System.Net

Public Class Form1

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim serviceRequest As WebClient = New WebClient()
        Dim response As String = serviceRequest.DownloadString(New Uri(url))
        Dim toindex As Integer = response.IndexOf("RESULT=")
        Dim fromindex As Integer = response.IndexOf("TICKET=")
        Dim length As Integer = toindex - fromindex - 8
        Dim ticketid As String = response.Substring(fromindex + 7, length)

        MessageBox.Show(response)
    End Sub
End Class

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now