
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
‘ Returns the system type, for example “X86-based PC” or “Power PC”‘ Requires a reference to System.Management and the respective ImportsFunction GetSystemType() As String Dim mos As New ManagementObjectSearcher _
‘ Returns the computer manufacturer name’ Requires a reference to System.Management and the respective ImportsFunction GetComputerManufacturer() As String Dim mos As New ManagementObjectSearcher _ (“SELECT * FROM Win32_ComputerSystem”) Dim mo
‘ Returns the physical memory amount, in bytes’ Requires a reference to System.Management and the respective ImportsFunction GetPhysicalMemory() As Long Dim mos As New ManagementObjectSearcher _ (“SELECT * FROM Win32_ComputerSystem”)
Enum DomainRole As Integer StandaloneWorkstation = 0 MemberWorkstation = 1 StandaloneServer = 2 MemberServer = 3 BackupDomainController = 4 PrimaryDomainController = 5End Enum’ Returns the domain role’ Requires a reference
‘ Returns the domain name’ Requires a reference to System.Management and the respective ImportsFunction GetDomainName() As String Dim mos As New ManagementObjectSearcher _ (“SELECT * FROM Win32_ComputerSystem”) Dim mo As
‘ Returns the computer model’ Requires a reference to System.Management and the respective ImportsFunction GetComputerModel() As String Dim mos As New ManagementObjectSearcher _ (“SELECT * FROM Win32_ComputerSystem”) Dim mo As
‘ Returns the free physical memory amount, in bytes’ Requires a reference to System.Management and the respective ImportsFunction GetFreePhysicalMemory() As Long Dim mos As New ManagementObjectSearcher _ (“SELECT * FROM
ere’s a genuine “real-world” problem: a particular company has a Web-based intranet for their document and content management. This system stores many hundreds of documents. Some of these are on
Most BREW applications require some kind of user interface, consisting of various screens. A developer essentially has two choices when confronted with the task of implementing any screen design: 1.)
s the number of libraries and APIs proliferate, the number of jar files on a developer’s system and on application servers increases exponentially. If you don’t manage your system classpath
While working with template-based controls such as the Repeater, DataList or DataGrid, it often happens that you don’t want to show just plain text as it is retrieved from the
DataGrid’s sorting functionality is not automatic, the control takes care of “just” rendering the column headers as hyperlinks, and gives you the ability to handle the click on those links,
The DataList and DataGrid controls easily allow to add a “Delete” button/hyperlink in your template. When clicked, this button/link raises a DeleteCommand event that you can handle to delete the
It happens frequently that you want to hide some input controls or links if the current user is not logged in (it runs with the anonymous account), or if the
The DataGrid’s HyperLinkColumn column is great to have a column with an hyperlink that points to an Url with a parameter whose value is taken from the data source, but
With the present possibility of downloading new J2ME applications over the air, the transformation of the mobile phone into something extraordinary is well underway. Today’s applications are primarily local applications:
he core asset of any company is its business data. In a typical company, business data is stored in many formats and across many systems and databases throughout the organization.
evelopers eager to see the words “Java” and “ease of use” used together more frequently should probably keep a close eye on what IBM does with its WebSphere family of
usiness applications today are stuck in a time warp. Web-based applications offer ubiquitous access, but the business application architecture many companies use is still locked into the decades old centralized
y employer has just spun off our product testing facility into an independent organization, able to seek other clients. They will have their own, independent data systems but background data
Say that that you have an existing Visual Studio .NET project, and that you copy a lot of new source code files, images and other stuff from another project (maybe
Dynamically moving a server control instance on the page is very easy, thanks to the possibility to add any style attribute to the control. In this case, you can dynamically
‘ Returns a Boolean value indicating whether the specified language is supported’ by the client browser. The language string can specify also a sub-language or’ a country, e.g. fr-CA to
If in VS.NET you add to the current project an existing file that’s located outside the current project’s directory, the file is first copied in the project’s directory, and then
When you’re dynamically drawing text (either on a Windows Form or Web Form application), you may need to calculate the width and height of a string printed with a particular
February 12, 2003?This month, SmallScript Corp.will debut a new .NET language: S#. S# gives the .NET platform its first Smalltalk implementation, and adds formidable new capabilities to the .NET language
his article describes how to use .NET’s ability to embed XML files, icons and other files in an assembly so your code can access them at run-time. Embedding the files
his book is the professional programmer’s guide to avoiding and correcting ninety-nine of the most common, destructive, and interesting C++ design and programming errors. It also serves as an inside
f you spend any time at all writing DOM or SAX code, then you need to know about the Java Architecture for XML Binding (JAXB). It rapidly generates XML mapping
hapter 9: PropertiesYou have heard about data encapsulation. Roughly speaking, what it means is that all data members should be hidden behind public interfaces. Quite often you might find yourself











