Getting Better Sound Capabilities in .NET 3.0
The .NET Framework includes a SoundPlayer class (in System.Media) that can play sound files. However, this class suffers from two crippling limitations: it can play only PCM-encoded WAV files, and
The .NET Framework includes a SoundPlayer class (in System.Media) that can play sound files. However, this class suffers from two crippling limitations: it can play only PCM-encoded WAV files, and
Even though this is a reserved word in JavaScript, the following code fails… with(parent){…this.window.event…} …because it can’t back out of parent. The workaround is to assign the window object to
hange is the one constant you can depend on: Requirements change, environments change, and processes change. Together, these factors ensure that your WCF services will change as well. Fortunately, you
hen creating a connection to foreign data, the .NET configuration wizard is a great place to start. Not only will it create a point-and-click connection for you, but it also
he Document Object Model (DOM) is a W3C standard based on a set of interfaces that can be used to represent an XML (or HTML) document as a tree of
The new Sun boss put the OpenOffice and JavaFX groups on notice during the JavaOne opening keynote today: Produce some JavaFX libraries for the OpenOffice suite and do it quickly.
Related Posts IGEL adds Cisco VXME to its unified communications portfolioOpenAI demonstrates new “Strawberry” AI modelUnderstanding Null Values Returned in MySQLHow to Check if a List is Empty in PythonAccessing
You can create a list of a specific type at run time by passing the type to the MakeGenericType method, for example: Type t = Type.GetType(“System.Int32”);IList tList= (IList)Activator.CreateInstance( (typeof(List<>).MakeGenericType(t))); tList.GetType().FullName
The following code gets all the properties of an Employee class using Reflection. Here’s the Employee class code: class Employee{ private int m_age; private string m_name; public int Age {
The following code snippet is J2SE 6.0 code that uses the setRequestProperty method to send cookies to the server. You can find more information about cookies and the complete application
It is normal practice for developers to include “TODO” comments for fellow developers and themselves. Developers also spend a lot of time searching for them later. In Visual Studio (VS),
n an application built with object-oriented techniques, objects are the bricks. You construct little pieces of code encapsulated in these bricks. To build bigger structures, you need to hold these
essage-oriented middleware (MOM) decouples applications by allowing them to communicate using one of two messaging models: point-to-point messaging and publish/subscribe messaging. The models differ in fundamental ways, but neither requires
ack in the days of our fathers, programming meant focusing on learning one language, one platform, and one environment, and mastering it over a span of years. Those years are
s the richness of Internet applications continues to grow through technologies such as Silverlight, AJAX, and Flash, the adoption of common desktop user interface (UI) paradigms within these applications continues
It’s free to join Forum Nokia, and when you become a member, you can make the most of Nokia’s extensive development, testing, signing, go to market, and community resources. Check
n the surface, this article is about the techniques of dependency injection and inversion of control. Underneath, however, the article is intended to get you to think about the questions
y recent C++ 10-Minute Solution titled “Using a Good Parasite Class to Design a Self-Clearing Memory Buffer” was greeted with skepticism, raised eyebrows, and a torrent of questions from readers
icrosoft has significantly enhanced the capabilities of Microsoft Dynamics CRM to not only simplify customization, but also to allow developers to use it as a development platform and build custom
imiting the number of records in a group is a common request. For example, suppose your sales director requests a custom report showing the top salesperson for each region. At
The term “Base64” refers to a specific MIME content-transfer encoding. It’s also used as a generic term for any similar encoding scheme that encodes binary data by treating it numerically
When you’re incrementing an object of a fundamental type, there’s no difference between prefix (++obj) and postfix (obj++) operators. However, when you’re incrementing a composite object, using the postfix operator
The open source JTidy project does an excellent job of converting HTML files to the newer XHTML standard. The following code shows how to invoke JTidy programmatically from Java: /*In:
When an ASP.NET resource file includes newline characters ( ) as part of a string value, the embedded newlines don’t show up correctly on the client side. The solution is
When you call a web service method that doesn’t return a value (a void method), you don’t want to waste time waiting until the call returns. But by default, the
To map a date column value to a Java date in EJB 3.0, use this code: @Temporal(TemporalType.TIMESTAMP)private java.util.Date publishDate; Related Posts Quick Way to Print Only Certain Rows of an
ecently I started working with a client who was interested in using Windows Workflow Foundation (WF) in a custom application. Having never used WF before, I thought it might be
++ constructs such as functions, types, variables, and blocks are associated with implicit properties that you sometimes need to override. Certain constructs require you to specify their unusual properties, for
f you looked solely at the marketing for NetBeans and Eclipse, you might think you’d have no problems using either IDE with PHP, for example: NetBeans: “A free, open-source Integrated
When using cookieless Forms Authentication, which relies on session values embedded and maintained in the URL, you must ensure that the session value appears in the URL for every page