
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.
The System.Diagnostics.Process class exposes two methods that let you kill a process: CloseMainWindow should be used with processes that have a graphical interface, whereas the Kill method should be used
You can use the VB.NET Shell command (in the Microsoft.VisualBasic namespace) to run an external process and wait for its termination, but you can get better control if you work
Enum FormatMemorySizeUnits BestGuess Bytes Kilobytes Megabytes GigabytesEnd Enum’ convert a number of bytes into Kbytes, Megabytes, or GigabytesFunction FormatMemorySize(ByVal value As Long, _ ByVal unit As FormatMemorySizeUnits, Optional ByVal decimalDigits
Enum FormatColumnAlignment Left Center RightEnd Enum’ format a value in a column of given width and with specified alignment’ using the specified pad character Function FormatValue(ByVal value As String, ByVal
t first glance, bringing peer-to-peer capabilities to mobile wireless devices may appear to impose a needless layer of complexity on the already complex task of providing remote access. This concept
SQL Server experts know that the DB engine never accesses directly the data pages on disk; rather it uses a special module called “Cache Manager”. It is possible, by using
ASP.NET doesn’t provide a built-in method for giving a control the input focus when the page loads. In fact, you can assign the TabIndex properties to controls on a page,
‘ A variant of the Split function, that offers the following improvements’ You can pass text qualifier as the third argument and optionally specify’ to treat consecutive occurrences of delimiters
Thanks to COM Interop, you can still use the Microsoft Script Control from VB.NET and any other .NET language. To do so, you must add a reference to the Microsoft
Unlike previous Visual Basic versions, under VB.NET you can’t use the Len function to calculate the length of a Structure or a class. However, it is easy to get this
The System.Collections.Specialized.BitVector32 structure can be used to store up to 32 boolean values, or a set of small integers that can take up to 32 consecutive bits. The BitVector32 is
.NET Boolean values require 4 bytes each, as opposed to the 2 byte taken under previous VB versions. When creating very large Boolean arrays this extra memory impacts negatively on
If you’re using a COM object through COM Interop you should be aware that the object isn’t released as soon as you set it to Nothing, as it happens with
This function computes the number of elements of any one-dimensional array?it sure beats ripping open the SAFEARRAY array descriptor. Use it when you
In .NET, strings are immutable: When you pass them out to an API, you can
When you use components in your VB projects, sometimes it
Have you ever wanted to send more than one value for an associated name by passing values to a Servlet or JSP using a name-value pair? A simple way to
The newsgroups offer a lot of discussion about bitwise comparison in SQL statements. VB supports true bitwise arithmetic with And, but SQL supports only a logical AND and returns only
Contrary to popular thought, you can add new records to an ADO 2.1 Recordset object that is the result of a Join operation executed on multiple-base tables. You must specify
Stewart Alsop gave an offbeat keynote at the BREW 2002 Developers Conference in early June. A onetime editor-in-chief of PC industry newspaper InfoWorld, an entrepreneur, and a longtime PC industry
‘ Center caption in Adodc control” Input: frmForm – Form Adodc contol in on’ datAdodc – Adodc control’ sCaption – Caption text” Output: Padded Caption textSub CenterCaptionInAdodc(ctrl As Adodc, ByVal
‘—————————————————————–‘ Module: mBases’ (C) 2000 Trinet Ltd, http://www.trinet.co.uk’ Author: R. Deeming ([email protected])” Purpose: To provide simple conversion between different’ number bases, including fractional parts.” An example of advanced conversion is
n part one of Comparing Computer Information, I covered some of WMI’s low-hanging fruit (meaning, information that is relatively easy to retrieve). However, there are other, rather interesting pieces of
esolving deadlocks is one of the more elusive solutions in database application development. Deadlocks are the dark side of concurrency, that is, they occur when some combination of locking, coding,
cSuperClass.cls is yet another compiled in subclasser but with some major differences… this one doesn’t use a module, instead it dynamically generates a machine code window procedure that can operate











