devxlogo

May 19, 1999

Refresh Component Displays

When you create the visual components that make up a user interface, their size and position are usually constant. However, it’s sometimes necessary to change a component’s size or position

Microsoft FrontPage Server Extensions

Question: I built a Web site for my company using FrontPage 98 and can not seem to upload it back to the Internet. I get error messages about server extensions.

Linking Radio Buttons to Objects

Question: I have a page with two drop-downs and two corresponding radio buttons. When I choose an item from one drop-down, I’d like the corresponding radio button to become checked.

Testing COM Interfaces at Run Time

VB5 provides interface inheritance through the use of the Implements keyword. For example, CFullTimeEmployee can implement the IEmployee interface. This interface might include basic information such as name, social security

Using Label Control as Splitter

Here’s a demo for using a Label control as a splitter between two controls, as well as sample code for employing the splitter in an Explorer-like application: Option ExplicitPrivate mbResizing

Always Use Case Else With Select Case

Select Case statements can lead to errors when the test expression in the Select Case line doesn’t yield a true result for any of its individual Case expressions. Therefore, you

Quicker Textbox Additions

Consider these two examples of code that add a string to a textbox. Example 1: Text1.text = Text1.text & MyString Text1.SelStart = Len(Text1.text) Example 2: Text1.SelStart = Len(Text1.text) Text1.SelText =

Use Windowless Controls for Performance and Economy

VB6 comes with an ActiveX control named MSWLESS.ocx (“Microsoft Windowless Controls 6.0”), which contains lightweight equivalents for these standard controls: WLTextWLFrameWLCommandWLCheckWLOptionWLComboWLListWLHScrollWHVScroll The controls have lower resource consumption than their regular