How to check the mode of MS Project (i.e Edit mode)

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
 
R

Rob Schneider

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

Try posting on the microsoft.public.project.developer newsgroup (forum).
Please see FAQ Item: 24. Project Newsgroups.

FYI: never heard of "edit mode" in Project and I wonder why you need an
add-in to create a toolbar and menu when Project gives you this
capablity to creae toolbars and menus already.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top