[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

Help, I cannot convert this code from C# to VB.net

var xhr = Titanium.Network.createHTTPClient();
xhr.onload = Function(){
    var JSON = JSON.parse(this.responseText);
    If (!JSON) {
        Titanium.API.info('Error - Null return!');
        return;
    }
    // Do something With Object "json" !!!
};

xhr.open('GET', 'http:///mapbizlocator.com/wwwroot/json.ashx');
xhr.send();
0
westdh
Asked:
westdh
  • 2
1 Solution
 
westdhAuthor Commented:
I tried that and all the other converters too.
they all give me this error.
 line 1 col 1: EOF expected

var xhr = Titanium.Network.createHTTPClient();
xhr.onload = Function(){
    var JSON = JSON.parse(this.responseText);
    If (!JSON) {
        Titanium.API.info('Error - Null return!');
        return;
    }
    // Do something With Object "json" !!!
};

xhr.open('GET', 'http:///mapbizlocator.com/wwwroot/json.ashx');
xhr.send();
0
 
westdhAuthor Commented:
Thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now