Attribute VB_Name = "Module1" Global Const COM_VER_STRING = ".140" Global Const RASTER_STR = "LEADRaster.LEADRaster" + COM_VER_STRING Global Const RASTERIO_STR = "LEADRasterIO.LEADRasterIO" + COM_VER_STRING Global Const RASTERPROC_STR = "LEADRasterProcess.LEADRasterProcess" + COM_VER_STRING Global Xloc1, Xloc2, Yloc1, Yloc2 As Single Global UpImage, nBPP As Integer Global fMouseDown, fMouseUp, MouseEnable As Boolean Global MoveImageOne, MoveImageTwo As Boolean Global XMousePos, YMousePos As Single Global BKColor As OLE_COLOR Global gszLic As String Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long