November 13, 1999

Play a CD Audio track

If you want to play a track of an audio CD from VB you can use MCI functions. The main MCI function is mciSendString, that sends command strings to the system and execute them: Declare Function mciSendString Lib “winmm” Alias “mciSendStringA” (ByVal _ lpstrCommand As String, ByVal lpstrReturnString As String,

Play an AVI movie in a PictureBox control

With MCI functions you can play an AVI movie into a PictureBox. All you need to do is open the file with a special procedure: Declare Function mciSendString Lib “winmm” Alias “mciSendStringA” (ByVal _ lpstrCommand As String, ByVal lpstrReturnString As String, _ ByVal uReturnLength As Long, ByVal hwndCallback As Long)

Record a WAV file

You can use MCI functions if you want to record a WAV file. The main MCI function is mciSendString, that sends command strings to the system and execute them. Declare Function mciSendString Lib “winmm” Alias “mciSendStringA” (ByVal _ lpstrCommand As String, ByVal lpstrReturnString As String, _ ByVal uReturnLength As Long,

Play a MIDI file

If you want to play a MIDI file from VB you have to use MCI functions. The main MCI function is mciSendString, that sends command strings to the system and execute them: Declare Function mciSendString Lib “winmm” Alias “mciSendStringA” (ByVal _ lpstrCommand As String, ByVal lpstrReturnString As String, _ ByVal

Retrieve the size of an AVI movie

To retrieve the original size of an AVI file that you’ve already opened with the mciSendString API function you can use this command Dim RetString As StringRetString = Space$(256)CommandString = “where AVIFile destination”RetVal = mciSendString(CommandString, RetString, Len(RetString), 0) Notice that in this case you’ve to pas a non-null RetString and

Play an AVI movie

If you want to play an AVI movie from VB you can use MCI functions. The main MCI function is mciSendString, that sends command strings to the system and execute them: Declare Function mciSendString Lib “winmm” Alias “mciSendStringA” (ByVal _ lpstrCommand As String, ByVal lpstrReturnString As String, _ ByVal uReturnLength

What are Obfuscators?

Java bytecode contains information in your Java source files. This byte code is generated by the java compiler as per an explicitly documented specification. It is not impossible to reverse engineer a Java byte code to get at the actual Java code behind it. In fact, there are decompilers that

What Is Javadoc?

Javadoc is a program shipped with JDK that you can use to run over your source code to produce documentation of your classes in the same type of HTML files that Sun Microsystems has used for its Java API documentation. To use javadoc on your source code, you have to

Another Way to Include .css File in a Web Page

Above IE 4.0, you can use a different syntax for importing the contents of a .css file. The general way is to link to the external .css file. However, when working with IE 4.0 and higher, you also have the option of using @import Keyword instead. This example assumes that

No more posts to show