TAILIEUCHUNG - Microsoft WSH and VBScript Programming for the Absolute Beginner Part 45

Microsoft WSH and VBScript Programming for the Absolute Beginner by Jerry Lee Ford Part 45. If you are new to programming with Microsoft WSH and VBScript and are looking for a solid introduction, this is the book for you. Developed by computer science professors, books in the for the absolute beginner series teach the principles of programming through simple game creation. You will acquire the skills that you need for more practical WSH and VBScript programming applications and will learn how these skills can be put to use in real-world scenarios. Best of all, by the time you finish this book,. | 420 Microsoft WSH and VBScript Programming for the Absolute Beginner Second Edition Writing the Second JScript The final script defined in this Windows Script File shown next is JScript. It displays the game s closing splash screen and is designed in the same basic manner as the first JScript using the WshShell object s Popup method to display its graphical pop-up dialog. Script Name N A Author Jerry Ford Created 12 20 02 Description This JScript displays the .WSF file s closing splash screen Initialization Section var objWshShl var strMessage var strAuthor var dtmDate var strTitleBarMsg strMessage Thank you for using the VBScript Game Console strAuthor Jerry Ford dtmDate 2002 Main Processing Section strTitleBarMsg getResource cTitlebarMsg Display a popup dialog using the WshShell object s Popup method strMessage strAuthor dtmDate 0 strTitleBarMsg The Final Result That s it. Let s assemble the entire Windows Script File as shown next. Before you run it for the first time be sure that you ve first created a folder called C VBScriptGames and that you ve copied both the VBScript game console script as well as a few other of your VBScript games into the folder. Chapter 12 Combining Different Scripting Languages package comment This .WSF file builds a VBScript Game Console comment job resource id cTitlebarMsg VBScript Game Console resource script language JScript Script Name N A Author Jerry Ford Created 12 20 02 Description This JScript displays the .WSF file s initial splash screen Initialization Section var objWshShl var strWelcome var strInstructions var intResults var intReply var strTitleBarMsg strWelcome Welcome to the VBScript Game Console. strlnstructions Click on OK to play a VBScript game Main Processing Section Verify that the user wants to open the VBScript Game Console intReply DisplayInitialSplashScreen intReply will be set equal to 2 if the user clicks on the Cancel if

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.