Jump to content

Visual Basic Code


plazmahost

Recommended Posts

Hi Guys ,

 

Apologies if this is the wrong section - ive been trying to get the trunk code of qwhmcs working as the developer doesn't seem to be replying and it wasn't working for me as of the latest release. All functions are working for windows 7 in the code so far , it is correctly getting tickets, u can view all of the ticket details and you can close tickets - but im unable to get the software to reply to tickets as it just throws up errors and i was wondering if any of you guys might be able to spot the issue :)

 

The line that has the issue is this :

 

If Curl(APIAddress & "/api.php", String.Format("&action=addticketreply&username={0}&password={1}&ticketid={2}&adminusername={0}&message={3}", APIUsername, ConvertStringToMD5(APIPassword), TicketID, txtMessage.EditValue() & vbCrLf & vbCrLf & YourSign.Replace("|", vbCrLf))) = True Then

 

The Error that im receiving is this:

 

System.NullReferenceException was unhandled

Message="Object reference not set to an instance of an object."

 

Ive never really done any coding in visual basics 2008 and so im not that used to it, if any of you vb coders might be able to help id be very grateful :)

 

Regards

 

Dan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated