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.
When a connection is created using JDBC, by default it is in auto-commit mode. This means that each SQL statement is treated as a transaction and will be automatically committed
Often, while developing a system, you need to put a lot of debug statements in the code, all which have to be commented/removed before delivering the application. There’s a class
You can use the Dir( ) function to return a long filename, but the return does not include path information. By parsing a given short path/filename into its constituent directories,
The Resource Editor add-in is useful for adding resource file text entries, but it doesn
ADOLink is an ActiveX control that you can connect to an ADO MSData control that lets you store a link for external files on the database and open it, including
Public variables at module level are thread specific. Each new thread starts get a new fresh & uninitialized copy of such variables. All the activities that are born from the
When you decide to release a new version of an MTS/COM+ component you should take care of its compatibility with the previous version. There are three types of changes you
When you deploy COM objects in DLLs no security issues arise since DLLs run in the process of the caller. On the contrary, when you deploy your COM objects into
Consider this line of code: Dim x as Project1.Class1 Many developers think that we were declaring x as a “Project1.Class1” object. This is wrong. All object variables in VB are
A common question among VB developers is: Why is it dangerous the use of the New keyword in VB to create COM objects registered under MTS/COM+? The New keyword is
Some MTS/COM+ newbies wonder whether it is legal to store object variables in the SPM. No, you can’t!! the SPM is unaware of Apartment marshaling issues. If you ask the
Use this function to read a number decimal symbol from regional settings: Sub Form_Load()Dim DecS As StringDecS = ReadDecimalSymbol()End SubFunction ReadDecimalSymbol() As StringReadDecimalSymbol = Mid$(CStr(1.1), 2, 1)End Function
Bundling functionality and program logic into an ActiveX DLL is an excellent form of encapsulation. But even when you expose functionality to your client application, you don
eb applications today must often offer a convenience feature called automatic authentication?the ability to “remember” users between visits, so that they don’t have to log in for every visit to
++ class template header and implementation (skeleton) definitions are often hard to read, let alone to write. Especially when defining template classes that are derived from base template classes, I
Private Declare Function LoadLibrary Lib “kernel32.dll” Alias “LoadLibraryA” _ (ByVal Path As String) As LongPrivate Declare Function GetProcAddress Lib “kernel32.dll” (ByVal hModule As _ Long, ByVal ProcName As String) As
This is just another subclassing dll, similar to hundreds of components out there in the internet, but it comes with source code that you study and customize as you wish.
ebster’s Dictionary defines a fop as being synonymous with a “dandy,” a person (usually male) who spends an inordinate amount of time and effort on dress and appearance, sometimes to
n Part I of this article, you saw how to read and write the WBXML format. To use WBXML in any EDI scenario (such as database synchronization) you must be
ireless Binary XML (WBXML) is a compact representation of XML and is part of the presentation logic in Wireless Application Protocol (WAP). WBXML significantly improves the efficiency of transmitting XML
evelopers using binary reusablecomponents essentially becomes users, and immediately they treat these”black boxes” the same way users treat other programs. Amazingcapabilities are overshadowed by ease of use and other trivial
The System.IO.Directory class exposes a CreateDirectory method that, as its name suggests, can create a subdirectory. However, this method is even more powerful than it appears at a first glance,
If a form owns another form, the owned form will be always displayed in front of its owner form, no matter which is the active form. This makes owned forms
The System.Windows.Forms.Help class encapsulates the HTML Help 1.0 engine and lets you display the index, the search page, or a specific topic in an HTML file in HTML Help format
The Clip property of the System.Windows.Forms.Cursor class represents the rectangle within which the mouse cursor is confined, or Nothing if the mouse can move over the entire screen. This rectangle
The new AddHandler statement makes it possible to attach event dynamically, that is without having to bind them via static code based on the Handles keyword. This keyword is also
That way, when a parameter in your connection string changes, you only need to change it in one place versus every web page that utilizes it. Below is an example











