ImportBlob method (WinStudio scripts)

Applies To

IWSIDOProperty interface

Definition

Retrieves a binary large object (BLOB), such as a graphic image, from a file and loads it in a specified item of a collection.

Syntax

object.ImportBlob( string )

  Part   Description
object Required. An expression that evaluates to the name of an IDO collection object (item).
string Required. The name of an operating system file containing the BLOB. This string must include the path. The path can be relative to the directory containing WinStudio.exe.

Remarks

Deprecated. Now available only with item objects. Instead of this method, you should generally try to use the ImportCurrentObjectPropertyAsBlob or ImportObjectPropertyAsBlob method.

Example

Sub Main()
   Dim FileName As String
   FileName = "C:\Temp\Splash_VBA_TEST.BMP"
         ThisForm.PrimaryIDOCollection.CurrentItem.Properties("myItem").ImportBlob(FileName)
End Sub
Related topics