Welcome Guest Search | Active Topics | Members | Log In | Register

Warning! Cannont create bindings Ctrl+Enter. Options · View
tiburon
Posted: Saturday, October 04, 2008 12:11:08 AM
Rank: Newbie
Groups: Member

Joined: 10/4/2008
Posts: 1
Points: 3
Location: shanghai,china
I got a error.

AutoCode v2.0
http://www.devprojects.net


Warning! Cannont create bindings Ctrl+Enter.
Log info:
Parameters is invalid。
at EnvDTE.Command.set_Bindings(Object pVar)
at DevProjects.AutoCode2.Connect.AddCommand(String name, String buttonText, String toolTip, String keys, Boolean addControl, Int32 icon)

CSMethods
Command 'm' loaded. Method: <declaration> m
Command 'mp' loaded. Method Private: <declaration> mp
Command 'ms' loaded. Method Static: <declaration> ms
Command 'msp' loaded. Method Static Private: <declaration> msp
CSMisc
Command 'a' loaded. Assing: <variable> a
Command 'w' loaded. consoleWrite: <variable> w
Command 'ws' loaded. consoleWriteString: <variable> ws
CSProperties
Command 'p' loaded. Property: <type> <prop_name> p
Command 'pr' loaded. Property Readonly: <type> <prop_name> pr
Command 'pw' loaded. Property Writeonly: <type> <prop_name> pw
CSRegions
Command 'r' loaded. Region: <title> r
Command 'rc' loaded. Region Constructors: rc
Command 'rp' loaded. Region Properties: rp
Command 'rm' loaded. Region Methods: rm
VBMisc
Command 'a' loaded. Assing: <variable> a
Command 'w' loaded. consoleWrite: <variable> w
Command 'ws' loaded. consoleWriteString: <variable> ws
VBProperties
Command 'p' loaded. Property: <type> <prop_name> p
Command 'pr' loaded. Property Readonly: <type> <prop_name> pr
Command 'pw' loaded. Property Writeonly: <type> <prop_name> pw
VBRegions
Command 'r' loaded. Region: <title> r
Command 'rc' loaded. Region Constructors: rc
Command 'rm' loaded. Region Methods: rm
Command 'rp' loaded. Region Properties: rp
XML
Command 'n' loaded. Node: <name> n
Command 'e' loaded. Element: <name>=<value> e
ZTutorial
Command 'z3' loaded. Tutorial (Using 'args' parameter)
Command 'z1' loaded. Tutorial (Using 'line' parameter)
Command 'z2' loaded. Tutorial (Using 'blanks' parameter)



what should I do?
Alvaro
Posted: Monday, October 06, 2008 1:02:49 PM
Rank: Administration
Groups: Administration

Joined: 3/16/2008
Posts: 22
Points: 72
Location: Spain
Try assigning it manually:

Assign Ctrl+Enter shortcut to AutoCode.Execute command
1. On the Tools menu, click Options.
2. Expand the Environment folder, and select Keyboard.
Note: If you do not see the Keyboard page, check Show all settings located in the lower left corner of the Options dialog box.
3. In the Show commands containing box, enter “AutoCode”.
It will show AutoCode.Catalog and AutoCode.Execute commands
4. Select AutoCode.Execute
5. On the Use new shortcut in drop-down list, select Global.
6. Place the cursor in the Press shortcut key(s) box, and then press Ctrl+Enter
7. Check the Shortcut currently used by box to see if the key combination is already assigned to another command. If so, follow the directions bellow to remove the conflicting shortcut.
8. Click Assign.

Remove conflicting shortcuts
By default, Ctrl+Enter shortcut is used for the Edit.LineOpenAbove command (not very useful command). To remove this shortcut and let Ctrl+Enter be correctly assigned to AutoCode follow these steps:

1. On the Tools menu, click Options.
2. Expand the Environment folder, and select Keyboard.
3. Place the cursor in the Press shortcut key(s) box, and then press Ctrl+Enter
4. Check the Shortcut currently used by box to see which command or commands use Ctrl+Enter shortcut
5. If there are other commands other that AutoCode remember the name of the command or commands (probably Edit.LineOpenAbove command)
6. In the Show commands containing box, enter the name of the command
7. Select the command
8. Click Remove.
9. Repeat step 6 for any conflicting command (but not for AutoCode.Execute command)

There is a Microsoft article How to: Work with Shortcut Key Combinations for more information about shortcuts.

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008