1 / 15

Remote Instruction: Teaching with Visual Basic

Remote Instruction: Teaching with Visual Basic. EDU 556 Programming for Instruction Dr. Steve Broskoske. This is an audio PowerCast . Make sure your volume is turned up, and press F5 to begin. Click to advance as usual. Teaching Techniques with VB. Displaying Web pages in 2 ways.

venice
Download Presentation

Remote Instruction: Teaching with Visual Basic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Remote Instruction:Teaching with Visual Basic EDU 556 Programming for Instruction Dr. Steve Broskoske This is an audio PowerCast. Make sure your volume is turned up, and press F5 to begin. Click to advance as usual.

  2. Teaching Techniques with VB • Displaying Web pages in 2 ways. • Extra: Open a Word or PowerPoint document. • Display hidden text / pictures. • Create embedded questions with feedback. • Create a test.

  3. 2 Ways to Display a Web Page • Use a button with a Web Browser control: • WebBrowser1.Navigate(“URL” OR variable) • Use a link label control: • System.Diagnostics.Process.Start(“URL” OR variable)

  4. 1) Web Browser Control On a form, draw a Web Browser control, and create a button. This functions like a “lock-down” browser. View Website WebBrowser1.Navigate("http://www.url.com") Dim WebAddress As string WebAddress = “http://www.url.com” WebBrowser1.Navigate(WebAddress)

  5. 2) Link Label Control On a form, create a link label. Double-click the link label to add code to it. The link will open in Internet Explorer (or whatever the default browser is on that particular PC). Navigate to a Web page in Internet Explorer. System.Diagnostics.Process.Start("http://www.url.com") Dim WebAddress As string WebAddress = “http://www.url.com” System.Diagnostics.Process.Start(string_variable)

  6. Opening Other Files • System.Diagnostics.Process.Start(“C:\MyDocument.docx") You could use this same pattern of coding to open up a Word, PowerPoint, or any other file on the PC.

  7. Displaying Hidden Text lblDisplay Display Text lblDisplay.Visible = True Display Picture PictureBox1.Visible = True These techniques provide interactivity!

  8. Creating Embedded Questions • Good idea to embed questions: promotes interactivity (active interaction vs. passive reading). • Questions not graded. • Provide feedback to user. • Questions are an instructional technique.

  9. Creating Embedded Questions Instead of tallying the number of correct answers, provide feedback to the user. These questions can be used as drill and practice of the material. Use the If statement to see if the checked property for the correct answer is true. Embedded question. RadioButton1 RadioButton2 Radiobutton3 Feedback. See Answer If RadioButton1.Checked = True Then lblFeedback.text = “Good…” Else lblFeedback.text = “Not correct because…” End If

  10. Creating Test Questions At the end of the lesson, ask several test questions. Do not give feedback. Instead, just tally the correct answers to determine a score. Use the If statement to see if the checked property for the correct answer is true. Test question. RadioButton1 RadioButton2 Radiobutton3 Next If RadioButton1.Checked = True Then totalCorrect = totalCorrect + 1 form10.show Me.close End If

  11. Review Document Review ofVisual Basic 2010 Express Elements

  12. Finishing Touches • Set the text property so that your program name appears rather than “form 1.” • Set the startPosition property to “center screen” on each form to make each form display uniform. • To prevent the user from maximizing your form, set the maximizebox property to false. • To prevent the user from resizing your form to a larger size, check the current height and width of the form in the size property. Plug these numbers into the maximumSize property. • If you want your program to open in full screen mode, set the windowState property to maximize.

  13. Project Planning • Plan to create a program that will teach something to your students. • Plan to use the following teaching techniques: • Embedded questions with feedback. • Test questions that tally student score. • Teach using text, pictures, Web browsing. • Incorporate interactivity.

  14. Project Planning • Plan to use the following VB elements: • Variables. • A global variable (to tally student score). • If…then statements. • Gather student input using text boxes, radio buttons, and/or check boxes. • Output information using labels.

  15. Project Planning • Apply finishing touches: • Ensure that the program runs effectively and consistently throughout. This week’s in-person class will be a brainstorming, planning, and lab session. Choose the material you would like to teach, plan some embedded and test questions, and gather some resources for teaching. A project rubric and examples will be shared.

More Related