Powerful Printing in Flash
Use Flash’s robust printing support to add print functionality to your Flash movies or Web applications. By using off-screen movie clips and ActionScripts movie clip copying commands, you can create
Use Flash’s robust printing support to add print functionality to your Flash movies or Web applications. By using off-screen movie clips and ActionScripts movie clip copying commands, you can create
Whether it is a word-processing application that saves documents to a disk, a utility that remembers its configuration for subsequent use, or a game that allows players to assume world
Implementing Object Pooling with .NET Remoting Part I As you probably know, Object Pooling is a powerful feature available when hosting .NET or COM components in a COM+ application. I
‘ Create an XmlElement object with inner text and make it a child of another ‘ XmlNode.’ Note: requires Imports System.XmlFunction CreateAppendElement(ByVal parentNode As XmlNode, ByVal name As String, _
‘ Deserialize an object from a file in SOAP format.Function LoadSoapData(ByVal path As String) As Object ‘ Open a file stream for input. Dim fs As FileStream = New FileStream(path,
‘ A reusable function that does object cloning’ by serializing it to a memory streamFunction CloneObject(ByVal obj As Object) As Object ‘ Create a memory stream and a formatter. Dim
‘ Display a XML file in a TreeView’ Note: requires Imports System.Xml’ Example: DisplayXmlFile(“employees.xml”, TreeView1)Sub DisplayXmlFile(ByVal filename As String, ByVal tvw As TreeView) Dim xmldoc As New XmlDocument() xmldoc.Load(filename) ‘
‘ Serialize an object to file in SOAP format.Sub SaveSoapData(ByVal path As String, ByVal o As Object) ‘ Open a file stream for output. Dim fs As FileStream = New
‘ A module for evaluating expressions, with support for’ parenthesis and many math functions’ Example:’ Dim expr As String = “(SQR(9)^3)+COS(0)*3+ABS(-10)”‘ txtResult.Text = Evaluate(expr).ToString ‘ ==> 27+3+10 ==> 40 Imports
The Component Services MMC gives you an easy way to export and import COM+ applications. However, if you want to export the entire COM+ catalog to one or more systems
n my last article, I demonstrated how to build an Explorer-like tree control using JavaScript. This month’s installment focuses on converting the tree control to an object-oriented structure. Such a
November 8, 2002?Microsoft chose the venue of the OOPSLA conference, being held this week in Seattle, to reiterate what company officials called “Microsoft’s commitment to computer science” and to announce
More than ever before, corporations are clamoring to evaluate their security architectures and identify any gaps. The Java platform, and specifically the J2EE platform, provides some of the most robust
hen I had to write my first NT service, I went to MSDN and looked for samples. There, I found “Creating a Simple Win32 Service in C++, an article by
With the release of the SQLXML Managed Classes, which Microsoft shipped with SQLXML in March of this year, developers now can access SQLXML technology (XML views, templates, XPath, XQuery) from
It is more important to understand the problem than the solution.?Albert Einstein Decades ago, engineers who wanted to build more resilient networks coined the term “self-healing system” to describe computer
recently read an advertisement for some Windows security software that boasted “incredible security using 160-bit RC4.” Superlatives aside, take claims like this with a grain of salt. Based on the
s a platform, Java defines the services needed to connect binary components at runtime safely and reliably. To truly take advantage of all that Java has to offer, you must
ong before Windows became the de facto operating system on the desktop?even before IBM released the first Personal Computer with 16KB of memory, software engineers had realized the need for
mong the controls installed with VB6 is the WebBrowser control, which is nothing less than a complete browser disguised as an ActiveX control (technically, it’s a wrapper around Internet Explorer
Private Declare Function ShellExecute Lib “shell32.dll” Alias “ShellExecuteA” _ (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _ ByVal lpParameters As String, ByVal lpDirectory As String,
his book, Visual Basic .NET Class Design Handbook: Coding Effective Classes , teaches you all about; the role of types in .NET; the different kinds of types that can be
HuntERR is an error-handling solution for VB6 that makes adding error handlers a one-click task. It includes VB source modules, demo application with source, VB6 Add-In with source, SQL scripts,
Object-Relational Mapping – Taking the Horror Out of Data Access 1. Horror stories and the object data divide Let’s face it, the world is getting more and more OO, but
‘ Accept only properties and methods whose return value matches’ the Type passed as the second argument.’ Note: it requires Imports System.ReflectionFunction FilterByType(ByVal m As MemberInfo, ByVal filterCriteria As Object)
‘ This filtering function returns True if the member name ‘ begins with the character passed as its second argument.’ Note: it requires Imports System.ReflectionFunction FilterByName(ByVal m As MemberInfo, ByVal
‘ This code is taken from Francesco Balena’s’ “Programming Microsoft Visual Basic .NET” – MS Press 2002, ISBN 0735613753′ You can read a free chapter of the book at ‘
Reflection makes it easy to invoke a method (or assign a field or aproperty) by its name. For example, suppose you have the following classes: Class Person Event PropertyChanged(ByVal propertyName
ccording to Wireless Security and Privacy: Best Practices and Design Techniques, wireless technology?still in its infancy?affords the opportunity for proactive security that keeps pace with development. Written for wireless development
Part 1: This first article explains basic XQuery concepts such as the different types of query expressions, the language elements, such as user-defined functions, and illustrates them with example queries.Part