majorjohn
asked on
Dynamicaly Execute a menu Item.
I want to create a menu item dynamicaly and assign code to execute a report file (.rpt) under this menu item. So that if user click on that menu it will execute that report file. For any further clarification please leave comments.
Thanks in advance
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
-Within the OnProcessDynamicMenu, you know the name of the menu item selected (read above, the lne with SM->GetMenuString(...))
-From this menu item name, find the file name of your RPT file. (just a concatenation, I guess ?)
-Use the ShellExecute function to read it.
Lionel.
-From this menu item name, find the file name of your RPT file. (just a concatenation, I guess ?)
-Use the ShellExecute function to read it.
Lionel.
ASKER
Your answer is to the point. I will check and award you positively.
Thanks for reply.
Thanks for reply.
ok ok
Lionel.
Lionel.
ASKER
Can u leave ur email no. So to contact u later for any further query.
you can join me here :
lfumery@nordnet.fr
lfumery@nordnet.fr
ASKER