I am trying to upgrade my plug-in from Petrel 2012 to Petrel 2013 but it seems that they have removed the PillarGrid class from the DomainObject namespace in 2013.
Where can I find the PillarGrid class in 2013?
The namespaces have been split into different assemblies. Here is how you find the name of the assembly:
Open the Ocean documentation (chm);
Find the class/domain object you work with, e.g. Grid in Slb.Ocean.Petrel.DomainObject.PillarGrid namespace;
Scroll down to the very end of the Grid class. here you find the reference:
Example:
Ocean Petrel 2013.1 Copyright (c) Schlumberger 2006-2013. All rights
reserved.
Assembly: Slb.Ocean.Petrel.Modeling (Module:
Slb.Ocean.Petrel.Modeling) Version: 13.1.0.0 (13.1.0.0)
Related
Someone knows how to fix this. I did all of these things
I cleaned up Temporal files. Win + R
I cleaned up Temporal file from C:\Windows...\v4.0.30319\Temporary ASP.NET Files\
I removed the dll and added again
I changed the app pool option: Enable 32 bits is true.
I changed the option: Load User Profile is now true.
Please check this link
http://www.dataxstream.com/2012/10/nco-3-0-error-could-not-load-file-or-assembly-sapnco_utils-dll-or-one-of-its-dependencies/
Only you need to install
Microsoft Visual C++ 2010 Redistributable Pack (x86) (mscvp100.dll)
Microsoft Visual C++ 2010 Redistributable Pack (x64) (mscvp100.dll)
I have a Visual c++ application that uses imports on the office COM components to manipulate office documents.The app relies on the installed office version on the users' machine.The example below is a section of a type library header that I have generated for excel from my installed office version(2010):
// Created by Microsoft (R) C/C++ Compiler Version 10.00.40219.01 (e8ba858a).
//
// d:\play_ground\pimawordtopdf\release\excel.tlh
//
// C++ source equivalent of Win32 type library C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE
// compiler-generated file created 11/26/14 at 09:02:55 - DO NOT EDIT!
//
// Cross-referenced type libraries:
//
//
#pragma once
This is working great on my other test machine with office 2007 installed but some things fail to work properly on a machine with office 2013 . My question is: are type libraries for microsoft office backward compatible so that those generated with 2010 work for 2007 .If this is true I would have to generate 2013 type libraries and compile my app with them so it works on 2013 ,2010 and 2007 .
Thank you for your time.
Yes, type libraries are backward compatible until you use only types available in all Office versions, not new members from the latest versions. You will get an exception if you try to call a member which is missed in the old Office version. That's why I'd suggest using the oldest type library, for example, for Office 2007 if it is the min supported version. If required, at runtime you can check the Office version, and if the code is run against the newest version, you may call new members.
but some things fail to work properly on a machine with office 2013
Could you please be more specific? Did you try to debug the code? Do you get any exceptions?
Finally, you may find the Office Automation Using Visual C++ article helpful.
They should, but they don't. It's Microsoft we're talk about, so they can do whatever the heck they want.
They did break that COM interface and it's no longer backward compatible.
For example, if you're using Shapes.AddMediaObject, then you're in trouble because it's deprecated Shapes.AddMediaObject2.
reference: https://msdn.microsoft.com/en-us/library/office/ff744080.aspx
Goal
I want to be able to use ReportViewer to generate reports on employee computers.
Current Situation
I am developping an AutoCAD plugin with Visual Studio 2010. The plugin works correctly and we have been using it (on employee computers as well) for a couple months now. Since I have Visual Studio 2010 installed, I'm guessing that the package for ReportViewer assembly has been installed at the same time.
Problem
When the employees try to generate a report they get the error:
Cannot load file or assembly Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
I have tried installing Microsoft Report Viewer 2010 Redistributable Package but to no avail.
Any ideas?
I am adding this custom build task to my TFS 2010 build workflow, however when attempting to add it (ColinsALMCorner.CustomBuildTasks.dll) to the toolbox, I get error:
'Could not load file or assembly file 'ColinsALMCorner.CustomBuildTasks.dll' or one of its dependencies. Operation is not supported'.
I have added all of its dependencies to (I admit, this is probably redundant):
1) the same location where the ColinsALMCorner.CustomBuildTasks.dll resides, which is ..\BuildProcessTemplates\CustomActivities
2) in the Public Assemblies folder: Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies
And I have the build definition xaml file correctly importing the ColinsALMCorner.CustomBuildTasks namespace
Although the activity is set to target .Net 4.5, the documentation says that TFS 2010 / .Net 4.0 is supported, so I assume this should all be possible.
My Questions:
Is this possible with TFS 2010 / .Net 4.0 development environment? My concern is that the error message isn't telling the real story, for example maybe it is able to find it, however just not the right version of the assembly.
Is it likely that since the DLL targets .Net 4.5 I need to have all of its referenced dll's also be the 4.5 version? For example, it references Microsoft.TeamFoundation.VersionControl.Client however I only have the version 10.0.0.0 (which I assume the .Net 4.5 version of this might be 11.0.0.0)
Here was the solution, in short story format: I installed Visual Studio 2012. Result: I was able to add ColinsALMCorner.CustomBuildTasks to my workflow in Visual Studio 2010 without error. I assume this means there was a 2012 (v11.0.0.0) DLL or two required to use the activity in 2010, despite the fact that the requirements state:
Team Foundation Build 2010, 2012 or 2013
I am getting a few errors trying to download the new VS2012. Its a fresh install of windows 8 (did the windows update). I have tried not selecting all (no C++, lightswitch, blend, office tools)
I tried different mounting tools for the .ISO but no luck. VS2010 is still working. Running x86. Log file
Errors:
Critical: Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.507 Cannot find the requested object.
Microsoft Visual Studio 2012 Pre-Clean Tool Cannot find the requested object
Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.507 Cannot find the requested object.
Microsoft Visual C++ 2012 Core Libraries, Team Foundation Server 2012, Microsoft Framework 4.5 Multi-Targeting pack.... and a few other ones cannot be found. Thanks!
Downloaded the web installer, and that seemed to work. It seems that the iso was corrupted as the MD5 did not match.