
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 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
When using VBScript in ASP, you have only one data type: VARIANT. Although you can store objects within this data type, every time you refer to a property/method of the
The small window is usually used as a pop-up page for advertisements or to show information concerning particular keywords.For example, you can put in a page: Requestor: James Dean When
//validation of From Date//Here FromDay,FromMonth,FromYear & ToDay,ToMonth,_ToYear are the names ofthe form fields corresponding to from date and to _dates. Assuming thatthese are drop down fields on the form.function validateFromDate(){
Suppose you need to tack on an additional value to all your custom errors in SQL Server 2000. For VB programmers, that might mean tacking on the value of vbobject
Creating Custom Errors in SQL Server is not a hard thing to do, but managing those errors across multiple developers can be difficult. The question becomes: who has already used
This stored procedure accepts tablename, fieldname, fieldvalue andfieldtype as parameters. If no fieldname, fieldvalue is passed, it deletes all records from the table passed. Fieldvalue could be a single value
When you call a COM method, it accepts BSTR in the following way: Iface->f(L””) L”” does not create a BSTR. This just creates a wide character string and if the
If you still use a lot of DOS commands or execute batch files that you have acquired or written over time, this tip can save you a lot of typing.











