Excel office
Posted: 8 May 2014 13:40
the problem i have is : when i click a buttom a excel file should open ...i dont know how to do it , i have only the editional version not the commercial.
thanks
thanks
Visual Prolog Discussion forums
https://discuss.visual-prolog.com/
Code: Select all
class shell_api
open core
predicates
shellOpen : (string File).
% @short Open #File using shell bindings.
% @detail See ShellExecute in MSDN.
% @end
Code: Select all
predicates
onPlanMaintenancePreventiveRedresseur : window::menuItemListener.
clauses
onPlanMaintenancePreventiveRedresseur(Source, _MenuTag):-
_=exe_native::shellExecute(nullHandle, "open","C:\\Users\\youness\\Documents\\Visual Prolog Projects\\database\\Exe\\testt.ods","", "", 1)
Code: Select all
clauses
onPlanMaintenancePreventiveRedresseur(Source, _MenuTag):-
shell_api::shellOpen(@"C:\Users\youness\Documents\Visual Prolog Projects\database\Exe\testt.ods")