i want to create an excel AddIn .it is simple :
File>New Project > Visual Basic > Office > Version 2010>OK
but an error says "Object reference not set to an inctance of an object"!
my VS version is 2010 ultimate
with Office 2010
in addition , i downloaded these two files and inistalled them hope they help me but it makes no change for me
http://www.microsoft.com/download/en/confirmation.aspx?id=3508
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=20479
what is wrong and what is the solution?
thanks in advance
If you have done default VS 2010 installation after Office installation it should work. I would recommend you to repair or reinstall with Office developer tools checked.
Check Microsoft Office section here
Related
Everything was working fine. I have windows8.1, VS 2010, VS 2013 installed on the same machine.Ms office 2013 was installed without infopath and InfoPath 2010 was installed already with MS Sharepoint 2010 and it was working fine with code behind. Suddenly mistakingly someone updated to MS Office 2016 and now I have tried installing Ms Infopath 2010 again it installs properly but when i click on code on MS Infopath 2010. it gives error "InfoPath cannot start Microsoft Visual Studio Tools for Applications. InfoPath has encountered the Error. The operation failed.". I have installed msxml6.msi. I have checked everything installed VSTA too. tried every solution but my code behind is not opening VSTA. I installed msxml6.msi too. but one thing I noticed if I run VSTA from my command it opens up but its not opening with infopath. I have lost hope. What could be the reason. Please help. I ll be grateful.
After several failed attempts, I installed visual studio tools for office system 3.0 and luckily it worked. :)
I'm looking for some user guide about Visual Studio Tools for Office (VSTO) specially oriented to Excel Add-ins programming.
I have installed Visual Studio 2013 and Microsoft Office 2013 on my computer.
Do you know about some user guide, tutorial or manual preferably in PDF about VSTO?.
Best regards!
The Excel Solutions section in MSDN provides all the required information. I'd suggest starting from the Walkthrough: Creating Your First Application-Level Add-in for Excel article.
When going to 'Add or Remove Features ' > Microsoft Office > Microsoft Office Infopath > .NET Programmability Support > .NET Programmability support for .NET Framework version 2.0 > Visual Studio Tools for Applications (set this to "Run from my computer"), I get message, Microsoft Office Enterprise 2007 configuration did not complete successfully. I have the prerequisites installed so I'm not sure the reason VSTA won't install. Does anyone have any idea? I have not found any information regarding this particular issue. Thank you.
Okay i got mine to work now. i simply uninstalled InfoPath by changing
Microsoft Office Professional Plus 2007 installation in appwiz.cpl (Programs & Features).
When running the Office Setup again i selected every package below InfoPath
(sorry for the screenshot beeing in german but i rly didn't get the installation wizard to change it's language, i tried everything.)
Hope it works for you.
cheers!
We developed an application in visual studio 2010 and reports are working fine, when we choose to open the same application through visual studio 2012 Ultimate, reports are not working and when i open .rpt file showing binary format ad also I could not find Crystalreport.rpt in Reporting template in visual studio 2012. After googling it, I have installed
CRforVS_redist_install_32bit_13_0_5 , but doesn't work.
How can i change or edit .rpt file design using visual studio 2012 and want to change the .rpt database name too. Any suggestion or idea to achieve this?
I had the same problem after installing visual studio 2012 and found no answer on the forums. I uninstalled CR yesterday and downloaded again the CRForVS 13.0.5 from here just in case there was a bug in the previous version I downloaded in may and installed it. Then I installed update 3 for Visual studio and everything works fine now.
Cheers
Michael
I figure this one out for me.
From SAP Crystal Reports's download site:
Please note: To integrate "SAP Crystal Reports, developer version for Microsoft > Visual Studio" you must run the Install Executable. Running the MSI will not ? >fully integrate Crystal Reports into VS. MSI files by definition are for runtime >distribution only.
By default Windows 10 does not install the 3.5 framework, CR for VS still needs >it. Select it by "Turn Windows feature on or off" and choose both options.
I downloaded the exe, instead of the MSI packages, and it worked for me finally. Helps to read I guess.
I have developed an Excel Add-in in Visual Studio 2008 for MS Office 2007. My client now wants this Add-in to work on office 2010 also. So, I used Visual Studio 2010 to achieve this requirement. Visual Studio 2010 automatically converted Visual Studio 2008 code to Visual Studio 2010. But the framework 3.5 remained same for this converted project, so I cannot compile this converted code in .Net framework 4.0 (It gives error). Hence, I left the code as is in the 3.5 framework and I created installer for office 2010 in visual studio 2010 & installed. Installation was successful but Add-in was unable to load because load behavior always gets changed from 3 to 2(error: a runtime error occurred while loading of COM-Add-in). So after searching on web I added an entry in the registry through the installer. It is working fine on office 2010, but it is not working on office 2007. I have to keep two different codebases & two different installers for office 2007 & office 2010 although code is exactly the same. I want single code base & single installer for my Excel Add-in that should work on office 2007 as well as office 2010. Can anyone help me in this? I would be really grateful if anyone could give me a solution at the earliest.