My application uses Visual Studio 2010 to develop an application in SharePoint 2010. I created a visual webpart and added a <SharePoint:SPCalendarView ID="EventsCalendar1" width="100%" runat="server"></SharePoint:SPCalendarView> I also found that there are many other controls which appears in intellisense. How can I add these controls to the toolbox? Is there any documentation available on how to use these controls?
Related
Dear VBA/VSTO programmers.
I started some months ago programming VBA in excel and now I want to jump into add-ins programmed in visual-studio.
I have three questions.
a) I installed visual studio in my mac, and following this instructions:
Creating the Project
To create a new Excel VSTO Add-in project in Visual Studio
Start Visual Studio. On the File menu, point to New, and then click
Project. In the templates pane, expand Visual C# or Visual Basic,
and then expand Office/SharePoint. Under the expanded
Office/SharePoint node, select the Office Add-ins node. In the list
of project templates, select Excel 2010 Add-in or Excel 2013 Add-in.
In the Name box, type FirstExcelAddIn. Click OK.
but visual studio for mac does not give me the option of "project". how is that possible.
Do I have to go away from mac to program in viSUAL STUDIO ADD-INS FOR EXCEL?
Assuming I have a Mac Pro and I have a normal windows machine at work, but no excel in Mac Pro, can I do something of my programming in my mac pro at home for my excel at work? (I don't work as a programmer, just programming since a few months VBA).
thanks.
VSTO add-ins can't be run on MAC. You need to develop COM based Office add-ins on Windows and have the desktop edition of MS Office installed if you want to be able to debug them.
You may consider creating web add-ins instead. They can be loaded by Office for MAC too.
I have a VBA project which runs perfectly upto windows 7 (both 32,64 bit) and upto office 2010. But when i try to run it on office 2013 or 2016. It does not load treeview control and gives error at:
Private SelectedNode As MSComctlLib.node
The things i have already tried are:
Followed this post thoroughly
http://thesmileycoder.com/treeview-working-in-access2013/
Re-registered MSCOMCTL.OCX/MSCOMCT2.OCX several times on both SYSTEM32 and SYSWOW64 folders.
Any help is appriciated!
Thanks for clarifying that you're using Office 64-bit.
You should see this article
Specifically the section:
Most things included in the 32-bit version of Office are included in the 64-bit version of Office.
The following are some things not in the 64-bit version of Office.
ActiveX controls library, ComCtl - This library contains ActiveX controls used to build solutions. It is most commonly used in Microsoft Access, Microsoft Excel, and Microsoft Word.
SharePoint List control The list view in SharePoint Technology isn’t available in 64-bit version of Office.
Followed by:
ActiveX controls library, ComCtl - Any solutions using these controls don’t work. No good alternatives are available for some of these controls.
EDIT
And this page for 2010 spells it out in more detail:
Native 64-bit processes in Office 2010 cannot load 32-bit binaries. This includes the common controls of MSComCtl (TabStrip, Toolbar, StatusBar, ProgressBar, TreeView, ListViews, ImageList, Slider, ImageComboBox) and the controls of MSComCt2 (Animation, UpDown, MonthView, DateTimePicker, FlatScrollBar).These controls were installed by previous versions of Microsoft Office and are installed by 32-bit Office 2010. An alternative must be found for existing Microsoft Office VBA solutions that utilize these controls when the code is migrated to 64-bit Office 2010. 64-bit Office 2010 does not provide 64-bit versions of the Common Controls.
Following problem: a network application uses an Office Web Components control.
This control, however, is not implemented in Office 2013.
Has anybody an idea how to bind the Microsoft Office Web Component (OWC11) to the VB project in visual studio 2013?
So that, when the project is published, the users don’t have to install the OWC11 controls on their PC’s.
Thank you in advance for your help.
How to install visual studio tools for office runtime in order that I can use Word 2010 Document template in Visual Basic 2010?
in Solution Explorer , Right Click on References >> Add References >>Microsoft.Office.Interop
use in your form :
Imports Microsoft.Office.Interop
or find on google Interop.MSDACS.dll an copy to assembly folder,
and Excel example : http://www.dotnetperls.com/excel-vbnet
and for Word ex: clic link here for Word
How to install visual studio tools for office runtime in order that I can use Word 2010 Document template in Visual Basic 2010?
See Visual Studio 2010 Tools for Office Runtime.
VSTO is a part of Visual Studio. It is included in paid editions only. The Express editions are not supported (except the Community edition of Visual Studio 2013).
Typically you need to include the VSTO runtime as a prerequsite to the add-in installer. See Publishing an Office Solution by Using Windows Installer for more information.
If you're using Visual Studio 2015 Community, go to Office Developer Tools
and click "Get Office Developer Tools", which takes you to:
http://aka.ms/getlatestofficedevtools
https://www.visualstudio.com/en-us/features/office-tools-vs.aspx
I'm a frequent Visual C++ user working on some VBA scripts in MS Office 2010 and I would really like to be able to use Visual Studio 2013 (Professional) to edit them - is this possible? When I try to open my Access Database file from Visual Studio it just loads up in Microsoft Visual Basic for Applications 7.0 (ie. that horrible default IDE)...
What I'd really like is for it to open the module in VS when I click on the module in access. Can this be done?