Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== RegisterImagePath ====== Method of [[:scripting:api:application:start|IApplication]] ===== Description ===== Register Icon by path ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **sPath** ==== Return Value ==== * [[scripting:api:data-type:long|long]] **pnIcon** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pnIcon = Application.RegisterImagePath(sPath); </code>==== Visual Basic Script ==== <code vb> pnIcon = Application.RegisterImagePath sPath </code>==== C++ ==== <code cpp> long nIcon; HRESULT hr = Application.RegisterImagePath(sPath, &nIcon); </code>===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~