property Slider.Value as Long
The value that the slider position represents.

TypeDescription
Long A long expression that indicates the control's value.

The trial/demo version of the control always retrieves an arbitrary ( random ) value. The registered version of the control retrieves the correctly value. 

The Value property specifies the control's value. The control fires the Change event after user changes the control's value. The control fires the Changing property before changing the control's value. Use the Minimum and Maximum properties to specify the range's value. Use the Caption property to put a HTML text on any part of the control. The SmallChange property gets or sets the value added to or subtracted from the Value property when the thumb is moved a small distance. The LargeChange property gets or sets a value to be added to or subtracted from the Value property when the slider is moved a large distance. Use the Background property to change the visual appearance for any part of the control, in any state. 

The Value property goes from:

For instance, the following VB sample prints the control's Value on the control's thumb:

Private Sub Slider1_Change()
    With Slider1
        .Caption(exThumbPart) = .Value
    End With
End Sub

The following C++ sample prints the control's Value on the control's thumb:

void OnChangeSlider1() 
{
	CString strFormat;
	strFormat.Format( _T("%i"), m_slider.GetValue() );
	m_slider.SetCaption( 256, strFormat );
}

The following VB.NET sample prints the control's Value on the control's thumb:

With AxSlider1
    .set_Caption(EXSLIDERLib.PartEnum.exThumbPart, .Value.ToString())
End With

The following C# sample prints the control's Value on the control's thumb:

private void axSlider1_Change(object sender, EventArgs e)
{
    axSlider1.set_Caption(EXSLIDERLib.PartEnum.exThumbPart, axSlider1.Value.ToString());
}

The following VFP sample prints the control's Value on the control's thumb:

*** ActiveX Control Event ***

with thisform.Slider1
	.Caption(256) = .Value
endwith