This property sets the name of the image file (full path) to be loaded or saved

[Visual Basic]   imagekitcontrolname.File.FileName[ = String ]
[Visual C++]     [ CString = ]imagekitcontrolname.GetFile().GetFileName()
                 imagekitcontrolname.GetFile().SetFileName(LPCTSTR Val)
[VB.NET]   imagekitcontrolname.File.FileName[ = String ]
[C#.NET]   imagekitcontrolname.File.FileName[ = string ]

Property Value

The name of the image file (full path)

Explanation

The FileName property sets the name of the image file to be loaded or saved.

(1) Files loaded from local drive or network drive:
     ImageKit1.File.FileName = "c:\abc.jpg"
     ImageKit1.File.LoadFile ikLoad

(2) Files loaded FTP server:
     ImageKit1.File.FileName = "ftp://www.newtone.co.jp/image/abc.jpg;;;true;user;password" '(*)
     ImageKit1.File.LoadFile ikLoad

(*) Setting order for values:
     FTP://ServerName/FolderName/FileName;ProxyName;PortNumber;PassiveMode;UserName;Password

When setting or changing the proxy server, the port number, and passive (PASV) mode connection, please be sure to pass in this information seperated by semicolons. Set the FTP server name or IP address, the proxy server name or IP address, the port number, passive mode connection, etc. If the port number is omitted, the defaul port number will be used. Passive mode connection can be either "true" or "false" in upper case or lower case letters. If omitted, passive mode connection will be used.

(3) Files loaded HTTP(S) server:
     ImageKit1.File.FileName = "http://www.newtone.co.jp/image/abc.jpg;;;;user;password" '(**)
     ImageKit1.File.LoadFile ikLoad

(**) Setting order for values:
     HTTP://ServerName/FolderName/FileName;ProxyName;PortNumber;HTTPS;UserName;Password

When setting or changing the proxy server, the port number, or using HTTPS, please be sure to pass in this information seperated by semicolons. Set the HTTP(S) server name or IP address, the proxy server name or IP address, the port number, HTTPS, etc. If the port number is omitted, the defaul port number will be used. IF HTTPS is omitted then HTTP server will be used.

Setting this value

  This value can be set at run-time.

Retrieving this value

  This value can be retrieved at run-time.

[Differences from ImageKit7 ActiveX]
The ImageKit7 ActiveX only allowed files from local drives or network drives to be loaded.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation