Teleporting still not working for me, and the 64 bit version is now crashing upon starting.
Can I recommend adding this snippet to your ListView's SelectedIndexChanged so that you don't need to worry about changing regional settings?Quote:
Start > Control Panel > Region and Language > Additional Settings.
change:
Decimal symbol: .
to
Decimal symbol: ,
Then try using gzoom cord lists and the teleport.
string XS = listView1.SelectedItems[0].SubItems[1].Text;
string YS = listView1.SelectedItems[0].SubItems[2].Text;
string ZS = listView1.SelectedItems[0].SubItems[3].Text;
if ((XS.Contains(",") || YS.Contains(",") || ZS.Contains(",")) && CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator != ",")
{
XD.Text = decimal.Parse(XS, new CultureInfo("de-DE")).ToString();
YD.Text = decimal.Parse(YS, new CultureInfo("de-DE")).ToString();
ZD.Text = decimal.Parse(ZS, new CultureInfo("de-DE")).ToString();
}
else
{
XD.Text = XS;
YD.Text = YS;
ZD.Text = ZS;
}
It's a matter of changing in the regional settings and what it is next to, you would be setting your decimal as a comma is what the explination is referring to.Quote:
, is comma
not "decimal" symbol