Image Example VC++
The following examples show syntax for the Image property. Single slashes can be forward or back.
void CAdmin1Dlg::OnClickImgedit1()
{
// Examples of syntax for the Image property. Single
// slashes can be forward or back.
// Showing syntax for 1.x Server document
// Note: prefix Image:// denotes service name for 1.x server.
ImgAdmin1.SetImage
("Image://srvrname\\volname:\\CAB\\DRAWER\\FOLDER\\YOUR DOC");
// Showing syntax for 1.x Server filename with a volume name mapped.
ImgAdmin1.SetImage ("Image://srvrname/volname:/dirname/temp.tif");
// Showing syntax for 3.x Server document.
// Note: prefix Image:// denotes service name for 3.x server
ImgAdmin1.SetImage ("Imagex://srvrname\\docid1234;)
// URL syntax
ImgAdmin1.SetImage ("http://www.eastmansoftware.com/sbu/sampimg.tif");
// UNC filename
ImgAdmin1.SetImage ("\\\\srvrname\\shared3\\images\\bw\\thisisa.tif");
}