function OpenWin(url, w, h) { if(!w) w = 400; if(!h) h = 300; window.open(url, "_new", "width=" + w + ",height=" + h + ",menubar=no,toobar=no,scrollbars=yes", true); } function Print() { window.focus(); if(window.print) { window.print(); window.setTimeout('window.close();',5000); } }
| Team-Fly | |
| Special Edition Using Microsoft® Visual Basic® .NET By Brian Siler, Jeff Spotts
| Table of Contents | | Chapter 25. Interacting with Other Applications |
From Here… In this chapter, you have learned how to control other programs from your Visual Basic .NET applications. You can use these techniques to harness the functionality provided by the Microsoft Office suite of products. You also learned how to have your programs use the SmtpMail class to send mail messages. You may want to enhance the skills you have been exposed to in this chapter by consulting some of these resources: Que and other publishers provide a number of good books on Visual Basic for Applications. A solid reference book would allow you to use the techniques you learned in this chapter to greater benefit. Microsoft's Visual Basic for Applications Home Page, located at http://msdn.microsoft.com/vba/, has a wealth of information about using VBA, including reference materials, news, and code samples. Check the authors' Web site, www.vbinsider.com, for more sample applications that utilize the techniques described in this chapter. |
| Team-Fly | |
|
| |
|