Cov txheej txheem:

Yuav Ua Li Cas: Ua Ntawv Xov Xwm Siv VBScript: 5 Kauj Ruam
Yuav Ua Li Cas: Ua Ntawv Xov Xwm Siv VBScript: 5 Kauj Ruam

Video: Yuav Ua Li Cas: Ua Ntawv Xov Xwm Siv VBScript: 5 Kauj Ruam

Video: Yuav Ua Li Cas: Ua Ntawv Xov Xwm Siv VBScript: 5 Kauj Ruam
Video: Nco Txog Hmoob - Xf. Txawj Pes Vaj & Fishermen's Project (Live Session) [Lyric Video] 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas: Ua Ntej Lub Npe Siv VBScript
Yuav Ua Li Cas: Ua Ntej Lub Npe Siv VBScript

Hauv qhov "Qhia" no Kuv yuav qhia koj yuav ua li cas thiaj ua tau lub thawv ntawv hauv Notepad siv VBScript Coding. Thov Nco Ntsoov: Qhov no yog txoj haujlwm tsis muaj kev puas tsuaj kiag li thiab yog tias qee yam ua tsis raug, kuv yuav tsis pab lub luag haujlwm.

Kauj Ruam 1: Kauj Ruam Ib

Kauj Ruam Ib
Kauj Ruam Ib

Thawj qhov ua yog nrhiav koj li Notepad.exe. Daim ntawv thov no nyob ntawm txhua lub khoos phis tawj Windows OS thiab tuaj yeem siv rau kev thauj khoom ntau yam. Notepad.exe ib txwm nyob hauv Start Menu> Txhua qhov program> Accessories

Kauj Ruam 2: Kauj Ruam Ob: Txoj Cai

Kauj Ruam Ob: Txoj Cai
Kauj Ruam Ob: Txoj Cai

Rau qhov tom ntej no me ntsis, nws yooj yim yooj yim, vim tias kuv ua txhua txoj haujlwm.x = msgbox ("Koj Cov Ntawv Ntawm No", 0, "Koj Lub Npe Ntawm No") Nco ntsoov tias "suav nrog hauv cov ntawv thiab hloov koj Cov Ntawv Ntawm No" Thiab Koj Lub Npe Ntawm No. Tab sis tsis txhob hloov dab tsi elese! Cov neeg siv qib siab tuaj yeem hloov lwm yam.

  • 0 = OK khawm nkaus xwb
  • 1 = OK thiab Tshem tawm cov nyees khawm
  • 2 = Abort, Retry, thiab Tsis quav ntsej cov nyees khawm
  • 3 = Yog, Tsis yog, thiab Tshem tawm cov nyees khawm
  • 4 = Yog thiab Tsis muaj khawm
  • 5 = Rov ua dua thiab Tshem tawm cov nyees khawm
  • 16 = Lub ntsiab lus tseem ceeb icon
  • 32 = Ceeb toom lus nug icon
  • 48 = Ceeb toom ceeb toom icon
  • 64 = Cov Ntaub Ntawv Xov Xwm icon
  • 0 = Thawj khawm yog lub neej ntawd
  • 256 = khawm thib ob yog lub neej ntawd
  • 512 = khawm thib peb yog lub neej ntawd
  • 768 = Plaub khawm yog lub hauv paus
  • 0 = Daim ntawv thov modal (daim ntawv thov tam sim no yuav tsis ua haujlwm kom txog thaum tus neeg siv teb rau lub npov lus)
  • 4096 = Txheej txheem txheej txheem (txhua daim ntawv thov yuav tsis ua haujlwm kom txog thaum tus neeg siv teb rau lub npov lus)

Hloov qhov "0" nrog ib qho ntawm cov lej saum toj no.

Kauj Ruam 3: Kauj Ruam Peb: Txuag

Kauj Ruam Peb: Txuag
Kauj Ruam Peb: Txuag

Tam sim no rau qhov me me, koj yuav xav tias qhov no yooj yim, tab sis nws tsis yooj yim li Txuag As. Thaum koj ua tiav txoj cai, mus rau Txuag Raws thiab txuag nws li: Yam Koj Xav Hu Rau Nws.vbs Thaum kawg ntawm npe, xyuas kom tseeb tias.vbs mus rau qhov kawg thiab nyab xeeb nws nyob txhua qhov chaw.

Kauj Ruam 4: Kauj Ruam Plaub: Cia Xeem Nws

Kauj Ruam Plaub: Cia Xeem Nws!
Kauj Ruam Plaub: Cia Xeem Nws!

Tam sim no peb tau ua tiav cov theem hauv qab no, cia sim nws. Nrhiav koj cov ntaub ntawv muaj kev nyab xeeb thiab dubble-nyem nws. Cia saib seb qhov txiaj ntsig yog dab tsi.

Kauj ruam 5: Cov txiaj ntsig

Cov txiaj ntsig
Cov txiaj ntsig

Cov txiaj ntsig ntawm kev kawm niaj hnub no yog: Koj tau kawm paub yuav ua li cas Notepad.exe tuaj yeem dhau los ua qhov haujlwm muaj zog sau ntawv Yuav ua li cas thiaj li xa xov Box Cov txiaj ntsig ntawm Message Box's kom ua rau lawv ntseeg tau. Ua tsaug rau koj nyeem zaj lus qhia no

Pom zoo: