oIconBuddy = NewObject("IconBuddy", "IconBuddy.vcx") ? oIconBuddy.CreateTMPIcons( getFile(), .T., .T. ) *-- and if You did choose a file without ext. ? oIconBuddy.GetTMPIconFileName("", .T., .T.) *-- or for an FXP (that You must have selected before) ? oIconBuddy.GetTMPIconFileName("fxp", .T., .T.)