Debug InfoPath Form - sharepoint

I want to debug a browser enabled InfoPath form with code.
MSDN says here how to do
But I see that I don't have the option "Open Visual Studio and click Attach to Process on the Tools menu."
Can any one please help.

Visual Studio is required to debug an InfoPath form with code. If you are missing the menu option, try the keyboard shortcut Ctrl+Alt+P.
Right-click on the menu bar and click Customize the add the option back. It's Debug, Attach To Process on the Commands tab.
If Attach To Process is missing then you may be using the copy of Visual Studio that comes with SQL Server. You need to install a "full" version of Visual Studio such as Professional or Team System to get complete debug capabilities.

Related

Can I add a TFS Power Tools command to VS 2012 Menu or context Menu?

Specifically, I would like to add the option to run the (TFPT command: searchcs) - which opens the Commit History search GUI.
It would be beneficial to be able to add it in the Source Control Explorer or in the History window or even in a right-click contextMenu.
You will need to implement a Visual Studio Extension to wrap this command line, see this thread:
VS 2012 TFS Source Control Explorer - Add Item to Right Click Menu

How do I configure Visual Studio 2012 to launch an external editor

I'd like to configure Visual Studio 2012 / TFS to launch an external editor when I double click the source file in the Source Control Explorer.
I've seen where I can add an external editor as an External Tool, but don't see how to link that external tool to a particular file extension and to launch when double clicked.
Thanks!
Right click on the file in Solution Explorer / Open with / Choose Program / Set as Default
From comments:
I'm in the Source Control Explorer. I assume I can't do it from there? (I don't see menu options for Open with...).
Or from Source Control Explorer, I have an option "View With" in Visual Studio 2010 that works in the same way. I don't have it in VS2012, and a comment on this StackOverflow question suggests it may be provided by an add-in (perhaps TFS power tools, since I don't have any other add-ins installed in VS2010).
It may be that if you click on "Set as Default" from Solution Explorer to set an external tool as editor for a file extension, then this becomes the default for viewing from Source Control Explorer too. But I haven't tried this.

Has the Batch Build option been removed in Visual Studio 2012 Express?

I just recently switched from Visual C++ 2010 Express to Visual Studio 2012 Express for Desktop. Since I use it often, I soon found myself looking for the Batch Build... option under the Build menu (or Solution Explorer → <solution>'s right-click menu).
At work, I have Visual Studio 2012 Professional and the Batch Build... option is where it was in Visual Studio 2010.
Has this feature been cut from the Express editions?
It turns out the Batch Build... feature still exists in the Express edition of Visual Studio 2012; it's just been hidden for some reason.
To access it, you can either assign a keyboard shortcut via menu Tools → Options... → Environment → Keyboard and finding Build.BatchBuild, or you can add it to the Build menu and the Solution context menu, where it used to be, via Tools → Customize... → Commands. The Build menu is under the menu bars named Build and the Solution context menu is under the context menus named Project and Solution Context Menus | Solution.
You can also (Visual Studio 2013 Express) customize the menu to get the command (back):
How to: Customize Menus and Toolbars in Visual Studio
No, it hasn't been cut. I've been using it recently.
However, I have at least one solution where Batch Build is not present on the menu (and wasn't present in Visual Studio 2010, either). My guess is that there's something about the solution that Visual Studio doesn't like, and it disables the batch build feature - but I've never got to the bottom of it.
I would say that if you really need that feature, create a new solution and re-add the existing projects one by one.

Visual Studio: where to find "browse with"?

I have installed Visual Studio 2012 and I opened my project from 2010 in the new version. But when I run my web application, it runs in Chrome. In 2010, you can right click on the project and choose "browse with" to change the web borwser.
In 2012, it is not in the right click menu, but in a toolbar:
But I don't have this toolbar and I don't find it. Can someone help me to find it?
What do you mean "I don't have this toolbar?"
Go here View->Toolbars->Standard
You have to have a file of the correct type (aspx, html, cshthml, etc.) selected in the Solution Explorer, in order to see the toolbar.

Component Factory Krypton Toolkit not working on Visual Studio 2012 Ultimate

Hi there I have installed the krypton toolkit which makes your program look a lot more disgner friendly.
Heres my problem.
I can't use the toolkit i try looking through all of the options but no answer and i look on the internet no answer how can i use the toolkit on vs 2012 because i know it used to work on vs 2010
The Krypton Toolkit works fine in Visual Studio 2012.
You might have to manually add the controls to your toolbox in order to use them in the way you are accustomed to.
Show the toolbox by clicking on the 'VIEW' menu, and then the 'Toolbox' menu item.
Right-click on the toolbox, and click 'Choose items'.
Click the 'Browse' button, and navigate to the Krypton directory. This is usually C:\Program Files\Component Factory\Krypton Toolkit x.y.z\Bin\ where x.y.z is your installed Krypton version. It will be in Program Files (x86) if you are running 64-bit windows.
Select the ComponentFactory.Krypton.Toolkit.dll file (and, optionally, the other Krypton files: ComponentFactory.Krypton.Navigator.dll, ComponentFactory.Krypton.Workspace.dll, ComponentFactory.Krypton.Docking.dll, and ComponentFactory.Krypton.Ribbon.dll).
Click the 'Open' button.
Your toolbox will now be populated with the Krypton controls, and you can use them just as you did with the previous Visual Studio versions.
That's got it. Thanks.
Once OPEN you'll notice them under the name Krypton .... in the "All Windows Forms" toolbox listing.
You also need to browse for it in the menu>Project >> Add Reference and then navigate to the same dll at C:\Program Files\Component Factory\Krypton Toolkit 4.4.0\Bin\ (current version at Mar 2013).
Now you'll be able to declare "using ComponentFactory.Krypton.Toolkit;"
Around 37 controls should appear now in the design screen.

Resources