devxlogo

Tip Bank

Accessing the VB ActiveX DLL Through VC++6.0

Use the following steps to access the VB ActiveX DLL through VC++6.0: Provide the ProgId -&gt as input. This finds the CLSID using the CLSIDFromProgId function. To create an instance

Getting Around the 4MB Limit in ASP.NET

As many developers have found when uploading files from an FTP server or shared drive, by default, ASP.NET programs cannot upload a dataset from a file that exceeds 4MB. You

Turn on Path Auto-Completion in DOS

It can be annoying to type long path names at the DOS command prompt. To avoid having to do so in Windows, you can enable DOS’s auto-completion feature, which is

Create a New Event Using AWTEventMulticaster

This code shows how to create a new event using AWTEventMulticaster. import java.awt.*;import java .awt.event.*;class Buton extends Component{ private Image button_pressed,button_released; private boolean press=false; ActionListener actionListener; public Buton(){ button_pressed=Toolkit.getDefaultToolkit().getImage(“?”); //pressed

Closing an SSLEngine Connection

This tip shows you how to correctly close a SSLEngine connection. Notice that this is not a simple process, like closing a simple socket! SSLContext context …;SSLEngine engine …;ByteBuffer dummy