欧美大屁股bbbbxxxx,狼人大香伊蕉国产www亚洲,男ji大巴进入女人的视频小说,男人把ji大巴放进女人免费视频,免费情侣作爱视频

歡迎來(lái)到入門(mén)教程網(wǎng)!

vb

當(dāng)前位置:主頁(yè) > 軟件編程 > vb >

VBS教程:函數(shù)-GetLocale 函數(shù)

來(lái)源:本站原創(chuàng)|時(shí)間:2020-01-10|欄目:vb|點(diǎn)擊: 次

GetLocale 函數(shù)

返回當(dāng)前區(qū)域設(shè)置 ID 值。

GetLocale()

說(shuō)明

locale 是用戶參考信息集合,與用戶的語(yǔ)言、國(guó)家和文化傳統(tǒng)有關(guān)。locale 決定鍵盤(pán)布局、字母排序順序和日期、時(shí)間、數(shù)字與貨幣格式。

返回值可以是任意一個(gè) 32-位 的值,如 區(qū)域設(shè)置 ID所示:

下面舉例說(shuō)明 GetLocale 函數(shù)的用法。要使用該代碼,請(qǐng)復(fù)制標(biāo)準(zhǔn)HTML 文件中 <BODY>l 標(biāo)志之間的所有內(nèi)容。

Enter Date in UK format: <input type="text" id="UKDate" size="20"><p>Here's the US equivalent: <input type="text" id="USdate" size="20"><p><input type="button" value="Convert" id="button1"><p>Enter a price in German:   <input type="text" id="GermanNumber" size="20"><p>Here's the UK equivalent: <input type="text" id="USNumber" size="20"><p><input type="button" value="Convert" id="button2"><p><script language="vbscript">Dim currentLocale' Get the current localecurrentLocale = GetLocaleSub Button1_onclick  Dim original  original = SetLocale("en-gb")  mydate = CDate(UKDate.value)  ' IE always sets the locale to US English so use the  ' currentLocale variable to set the locale to US English  original = SetLocale(currentLocale)  USDate.value = FormatDateTime(mydate,vbShortDate)End SubSub button2_onclick  Dim original  original = SetLocale("de")  myvalue = CCur(GermanNumber.value)  original = SetLocale("en-gb")  USNumber.value = FormatCurrency(myvalue)End Sub</script> 

上一篇:VBS教程:函數(shù)-DateAdd 函數(shù)

欄    目:vb

下一篇:VBS教程:函數(shù)-CCur 函數(shù)

本文標(biāo)題:VBS教程:函數(shù)-GetLocale 函數(shù)

本文地址:http://mengdiqiu.com.cn/a1/vb/8053.html

網(wǎng)頁(yè)制作CMS教程網(wǎng)絡(luò)編程軟件編程腳本語(yǔ)言數(shù)據(jù)庫(kù)服務(wù)器

如果侵犯了您的權(quán)利,請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)進(jìn)行處理、任何非本站因素導(dǎo)致的法律后果,本站均不負(fù)任何責(zé)任。

聯(lián)系QQ:835971066 | 郵箱:835971066#qq.com(#換成@)

Copyright © 2002-2020 腳本教程網(wǎng) 版權(quán)所有