
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.
Question: I have an ASP file residing on a Web server. Is there any way that I can execute this file from within my VB application? This should be similar
Visual InterDev 6 offers a quick way to convert tabs to spaces in your HTML code. Select the area of code in which you want to remove the tabs and
You can achieve case sensitive comparison of strings in queries by converting strings to the binary or varbinary datatype. You cannot achieve this with simple string comparisons if you have
On the printed page, people are accustomed to seeing portions that have been marked by a highlighter–you can achieve the same effect with HTML highlight text on your Web page
If you’re using Microsoft Transaction Server technology, opening up MTS explorer and using refresh is an overhead on the system compared to command line options. Instead, you can use “mtxstop”,
In VB3 you can set up an executable project to start up in the main subroutine, and it shows up in the Windows 95 taskbar: Public Sub Main() Load frmFoo
When you use multiple forms in a project, make sure you explicitly set a form to Nothing after you unload it. If you don’t, simply unloading the form won’t necessarily
It is customary to overload the subscript operator, [], in classes that hold a sequence of elements. Vector and String are examples of such classes. When you overload operator [],
When executing code and tying up the system, developers often use a label or status bar to display messages. If you simply assign your text or message to the control
C code should not access objects that have a virtual base class. The reason is that a virtual base is usually represented in the form of a pointer to a
The fourth restriction on the legality of accessing C++ objects from C code states that all the data members of the class must be declared without an intervening access specifier.
In the case of virtual functions, an additional member is inserted into the class: a pointer to the virtual table, or _vptr. The _vptr holds the address of a static
Be careful about tips to easily duplicate tool-tip help with only tip control and mouse events. If your “tip” control doesn’t have the same parent as the control you’re moving
Jeremy Boschen pointed out an easy way to load a Boolean into a check-box control in the tip, “Use Boolean Variables for Check-Box Values” [101 Tech Tips for VB Developers,
The latest versions of Internet Explorer (4.0 and 5.0) make it easy to add a dramatic drop shadow effect to regular text. Rather than creating bitmaps, try adding a style
Question: Is it possible to insert the single quote as part of a Name like O’Brian into a table using a SQL Insert Statement? Answer: Yes, use double quotes around
Question: Is there an option to set deletion without getting logged? I have to delete two years of historical data but would like to keep this year’s data on my
Question: I’m using MSC/C++ 7.0 to write a program for my Foxpro 2.5. How can I compile it to the Foxpro’s PLB format? Answer: You need the Foxpro LCK (Library
Question: In a SQL Select statement:Is it possible to define ORDER BY (random) Answer: The answer to your question is “no”. The ORDER BY clause must refer to specific fields
Question: How would I drop an index from a table using SQL? Answer: Here is the syntax for the drop index command: DROP INDEX [owner.]table_name.index_name[, [owner.]table_name.index_name…]Ex. DROP INDEX authors.au_id_ind
Question: In FPW 2.6 I often get a ‘variable not found’ message when the read statement executes. This usually happens only the first time the screen is used in the
Question: I wanted to find the copy files wait screen (where it shows a file jumping from one folder to another). How can I do this and what is it
Have you ever heard of redirected input or consoleapplications? Have you ever had the need to launch MS-DOS programs, wait for them toterminate, and then dump their output to screen?
Referencing a static local variable in a procedure is 2-3 times slower than a regular local, dynamic variable; if you want to really speed up your procedures, convert all static
Visual Basic doesn’t provide you with a means for creating a Missing value, a feature that in some cases would prove useful in order to simplify the syntax of calls
If your forms contain Label controls used to display data from a database, set their UseMnemonic property to False. In fact, if you leave this property to its default value
When using the ParamArray keyword within a procedure, always remember that when the procedure is invoked from elsewhere in the program one of the argument might be omitted, and you
When working on an updated version of a COM component, you should always enforce Binary Compatibility in the Component tab of the Project Properties dialog box. When enforcing binary compatibility
Private Declare Function ImageList_ReplaceIcon Lib “COMCTL32” (ByVal hImageList _ As Long, ByVal i As Long, ByVal hIcon As Long) As Long’ Load a set of images from a disk file
‘ Save all the images in an ImageList control to a disk file’ Images can be later loaded in the same ImageList control using the’ LoadImageList routine” Note 1: if
