A
a.sindhu8
Hi,
We have developed an application in vb.net which is an addin on MS
Project which creates a tool bar and menu bar .
when the microsoft project is in edit mode (i.e when we are editing
any cell) all the MS project buttons will get disabled. we wanted the
same functionality in the tool bar created by us also (i.e we want to
disable the buttons in the addin when Ms project is in edit mode).we
tried the following code which works fine in english but fails in our
languages.
applicationObject.CommandBars.Item("Standard").Controls.Item
("&New").Enabled = False
This code fails in other languages as "&New" is language dependent and
changes for different languages.
we want our application to be language independent.
Can anyone please let us know how to get the state of the MS project
(i.e how to know if it is in edit mode")
Thank you,
Sindhu
We have developed an application in vb.net which is an addin on MS
Project which creates a tool bar and menu bar .
when the microsoft project is in edit mode (i.e when we are editing
any cell) all the MS project buttons will get disabled. we wanted the
same functionality in the tool bar created by us also (i.e we want to
disable the buttons in the addin when Ms project is in edit mode).we
tried the following code which works fine in english but fails in our
languages.
applicationObject.CommandBars.Item("Standard").Controls.Item
("&New").Enabled = False
This code fails in other languages as "&New" is language dependent and
changes for different languages.
we want our application to be language independent.
Can anyone please let us know how to get the state of the MS project
(i.e how to know if it is in edit mode")
Thank you,
Sindhu