Cov txheej txheem:

Ua Web Browser hauv Visual Basic: 12 Kauj Ruam
Ua Web Browser hauv Visual Basic: 12 Kauj Ruam

Video: Ua Web Browser hauv Visual Basic: 12 Kauj Ruam

Video: Ua Web Browser hauv Visual Basic: 12 Kauj Ruam
Video: ЗАПРЕЩЁННЫЕ ТОВАРЫ с ALIEXPRESS 2023 ШТРАФ и ТЮРЬМА ЛЕГКО! 2024, Kaum ib hlis
Anonim
Ua Web Browser hauv Visual Basic
Ua Web Browser hauv Visual Basic

Kuv yuav qhia koj yuav ua li cas thiaj ua lub web browser hauv Visual Basic 2005.

Kauj ruam 1: Pib

Pib
Pib

Qhib Visual Basic thiab pib Windows Application tshiab.

Kauj ruam 2: Ntxiv Cov Cuab Yeej

Ntxiv Cov Cuab Yeej
Ntxiv Cov Cuab Yeej

Ntxiv ib:

Text Box Web Browser 5 Khawm nyob hauv qhov kev txiav txim ntawd.

Kauj Ruam 3: Teem Cov Daim Kom Haum

Teem Cov Phiaj Xwm Txoj Cai
Teem Cov Phiaj Xwm Txoj Cai

Teem lawv zoo li no thiab hloov npe lawv ib yam li kuv tau ua.

Kauj ruam 4: Tam sim no rau Txoj Cai

Tam sim no rau Txoj Cai
Tam sim no rau Txoj Cai

Nyem ob npaug rau ntawm daim ntawv thiab ntaus hauv: Me. Text = "Web Browser" zoo li no:

Kauj Ruam 5: GO Button Code

GO khawm khawm
GO khawm khawm

ob npaug nias rau ntawm Go Button thiab ntaus hauv:

WebBrowser1. Navigate (TextBox1. Text)

Kauj Ruam 6: Back Button Code

Back Button Code
Back Button Code

Nyem (ua ob zaug nyem) ntawm lub pob rov qab thiab ntaus hauv:

WebBrowser1. GoBack () zoo li no

Kauj Ruam 7: Forward Button Code

Forward Button Code
Forward Button Code
Forward Button Code
Forward Button Code
Forward Button Code
Forward Button Code

Ob npaug nias rau ntawm lub pob tom ntej thiab ntaus hauv:

WebBrowser1. GoForward () zoo li no

Kauj Ruam 8: NYEEM CODE

REFRESH Txoj Cai
REFRESH Txoj Cai

ob npaug nias rau khawm rov ua dua tshiab thiab ntaus hauv:

WebBrowser1. Refresh () zoo li no

Kauj Ruam 9: Lub Tsev Khawm

Tsev khawm
Tsev khawm

Nyem ob npaug rau ntawm lub tsev khawm thiab ntaus:

WebBrowser1. GoHome () zoo li no

Kauj ruam 10: Sim Nws Tawm

Sim Nws Tawm
Sim Nws Tawm

Nyem rau ntawm Debug khawm

Kauj Ruam 11: Tshaj Tawm Nws

Luam tawm Nws
Luam tawm Nws
Luam tawm Nws
Luam tawm Nws
Luam tawm Nws
Luam tawm Nws

Nyem rau tsim

tom qab ntawd nyem rau luam tawm thiab khaws txuas ntxiv ib yam li peb daim duab no Kuv tso

Kauj Ruam 12: Koj Ua Tiav lawm

Koj Tiav lawm!
Koj Tiav lawm!

thaum kawg koj tau tsim lub vev xaib! tam sim no muab koj tus kheej tes thiab mus muag nws online lossis qee yam.

Pom zoo: