VBScript

VBScript atau lengkapnya Visual Basic Scripting Edition adalah sebuah bahasa skrip yang diinterpretasikan saat dieksekusi yang dikembangkan oleh Microsoft Corporation pada tahun 1996 yang seringnya digunakan dalam penjelajah web Internet Explorer (dapat digunakan mulai versi Internet Explorer 3.0). VBScript merupakan sebuah bahasa skrip turunan dari bahasa pemrograman Visual Basic for Applications (VBA) yang digunakan di dalam Microsoft Office dan beberapa platform pengembangan buatan Microsoft lainnya. VBScript menghilangkan beberapa fungsi dari VBA, seperti halnya fungsi I/O berkas dan akses langsung terhadap sistem operasi untuk menyediakan sebuah platform yang aman untuk mengembangkan aplikasi berbasis web dengan menggunakan platform Active Server Pages (ASP). Internet Explorer merupakan penjelajah web pertama yang menyediakan dukungan terhadap kode skrip yang ditulis dalam bahasa VBScript. VBScript dapat dijalankan di atas Windows 9x/ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008 serta beberapa platform UNIX.

VBScript tidak dapat digunakan untuk membuat program yang berdiri sendiri. Akan tetapi, VBScript harus dimasukkan ke dalam sebuah berkas HTML. Ketika Internet Explorer membuka dokumen berkas HTML tersebut, VBScript dapat melakukan fungsi yang sama seperti JavaScript–skrip tersebut akan dieksekusi. VBScript juga dapat digunakan untuk membuat sebuah alikasi HTML (yang memiliki ekstensi .HTA) yang membutuhakan paling tidak Internet Explorer 5 atau yang lebih baru agar dapat berjalan. HTA tidak seara langsung menggunakan Internet Explorer, tetapi menggunakan sebuah program, yakni MSHTA.EXE, yang menginterpretasikan dan menjalankan kode.

Skrip VBScript yang dimasukkan di dalam berkas HTML harus dimasukkan di antara tag <SCRIPT>...</SCRIPT>. Berikut ini adalah contohnya (yang akan menampilkan sebuah dialog box berisi Hello World! ketika sebuah tombol diklik oleh pengguna):

<INPUT TYPE="BUTTON" VALUE="Tekan di sini" NAME="BtnHello">
<SCRIPT LANGUAGE="VBScript">
    Sub BtnHello_OnClick
        MsgBox "Hello World!", 0, "Dokumen yang aktif"
    End Sub
</SCRIPT>

Penjelajah Web lainnya seperti Firefox dan Opera tidak memiliki dukungan terhadap VBScript secara langsung. Hal ini berarti untuk kompatibilitas maksimum dengan browser lainnya, para pengembang web site pun menggunakan JavaScript.

Selain oleh penjelajah Web, VBScript juga dapat dieksekusi oleh aplikasi Windows Scripting Host (WSH). Umumnya, berkas VBScript yang dijalankan oleh WSH ini adalah berkas teks biasa dengan ekstensi .vbs dan dapat dieksekusi dengan menggunakan command-line maupun dengan desktop Windows. Windows memiliki dua buah program yang dapat menginterpretasikan berkas vbs yakni, cscript.exe dan wscript.exe.

source

Komentar
  1. grosir baju bayi mengatakan:

    Wow, wonderful blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is excellent, let alone the content!. Thanks For Your article about VBScript Secarik Kertasâ„¢ .

  2. Short funny quotes mengatakan:

    I think this is among the most important info for me. And i’m glad reading your article. But should remark on few general things, The web site style is great, the articles is really nice : D. Good job, cheers

  3. faster hair growth mengatakan:

    I simply want to tell you that I am newbie to blogging and site-building and honestly savored your website. Almost certainly I’m going to bookmark your blog post . You actually come with beneficial well written articles. Regards for revealing your web-site.

  4. I simply want to tell you that I am new to blogging and site-building and certainly enjoyed this blog. Most likely I’m want to bookmark your blog post . You amazingly have perfect stories. Many thanks for revealing your blog.

  5. Mahalia Sebring mengatakan:

    You know, the internet is still expanding at an exponential rate. I don’t get it, how do you think this applies?

  6. close window mengatakan:

    If you dont mind, where do you host your web page? I am looking for a good quality host and your web site appears to be extremely fast and up just about all the time

  7. Have you considered adding some social bookmarking buttons to these sites. At least for facebook.

  8. the infographic mengatakan:

    How come you do not have your website viewable in wap format? Can not view anything in my iPhone.

  9. When are you going to post again? You really entertain me!

  10. Nerissa Plotkin mengatakan:

    I think this internet site contains very excellent pent subject material blog posts.

  11. visit chairmat mengatakan:

    Good Stuff, do you have a twitter profile?

  12. machine carbon fiber mengatakan:

    Just a smiling visitor here to share the love (:, btw outstanding design and style. “Treat the other man’s faith gently it is all he has to believe with.” by Athenus.

  13. Bad the fresh blogposts seem fairly rarely but, effectively, you can not have everything else but. Truly, you need to do superb work, giving access to their content within this internet site.

  14. try chair mats mengatakan:

    Have you considered including a few social bookmarking links to these blogs. At the very least for flickr.

  15. Dear Creator, retain the services of in a nationwide newspaper writer because the a higher level content compiled by you reaches the greatest level. While evidence of their own expertise imply to them the site and the remarks that folks write, due to the fact I see that we’re not the only one who perceives thus!

  16. relevant webpage mengatakan:

    A insightful post right there mate . Thanks for posting .

  17. ppi claims uk mengatakan:

    Odd , your site shows up with a black hue to it, what shade is the primary color on your site?

  18. You should really control the responses on this page

  19. inside chair mat mengatakan:

    As soon as I initially commented I clicked the Notify me any time new comments are added checkbox and now each and every time a comment is added I get 4 messages with the exact same comment.

  20. Is it fine to insert part of this on my personal website if I post a reference point to this web site?

  21. conveyor oven mengatakan:

    you’re truly a excellent webmaster. The web site loading pace is incredible. It sort of feels that you’re doing any distinctive trick. Furthermore, The contents are masterpiece. you’ve done a wonderful activity on this matter!

  22. Brooks Loge mengatakan:

    I’m still learning from you, as I’m improving myself. I absolutely love reading all that is posted on your blog.Keep the stories coming. I liked it!

  23. Faustino Forshay mengatakan:

    It’s really a great and useful piece of info. I am glad that you shared this useful information with us. Please keep us informed like this. Thanks for sharing.

  24. foundations 4 energy mengatakan:

    Dead composed written content, Really enjoyed looking at.

  25. Donnie Santomassimo mengatakan:

    What i do not understood is in reality how you are now not really a lot more neatly-liked than you might be right now. You’re so intelligent. You know thus significantly with regards to this topic, produced me personally consider it from so many numerous angles. Its like women and men are not involved except it is one thing to do with Lady gaga! Your individual stuffs outstanding. All the time deal with it up!

  26. Wonderful work! That is the kind of information that are meant to be shared around the net. Shame on Google for no longer positioning this publish higher! Come on over and talk over with my web site . Thank you =)

  27. Trudy Melson mengatakan:

    Hi there just wanted to give you a brief heads up and let you know a few of the images aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different browsers and both show the same outcome.

Beri Komentar Disini

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s