westdh
asked on
Help, I cannot convert this code from C# to VB.net
var xhr = Titanium.Network.createHTT PClient();
xhr.onload = Function(){
var JSON = JSON.parse(this.responseTe xt);
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();
xhr.onload = Function(){
var JSON = JSON.parse(this.responseTe
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();
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
ASKER
they all give me this error.
line 1 col 1: EOF expected
var xhr = Titanium.Network.createHTT
xhr.onload = Function(){
var JSON = JSON.parse(this.responseTe
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();