Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in 電腦與網際網路程式設計 · 2 decades ago

這很短很短的三行VB請高手解說一下好嗎

Dim clsObj as Object

set clsObj = New ClassSystem

clsObj.InternetConnection = Open

1 Answer

Rating
  • 2 decades ago
    Favorite Answer

    Dim clsObj as Object

    '定義clsObj為一個Object的物件變數

    set clsObj = New ClassSystem

    '設定clsObj變數等於新的ClassSystem

    clsObj.InternetConnection = Open

    'clsObj的.InternetConnection 屬性等於開啟

    這支程式的效果等同於---

    Dim clsObj as New ClassSystem

    clsObj.InternetConnection = Open

Still have questions? Get your answers by asking now.