Answer Questions
vbpixelgog Save As on a Project Throws "The parameter is incorrect"
Hi, I don't know if this is a known issue, but if I try to call "Save MyProject1 As..." from the File menu of VS2005 on a project created with the MyProject sample of the VSIP SDK, I get an "The operation could not be completed. The parameter is incorrect." error message. My own project type (not based on MPF) behaves the same. Does somebody know what causes this problem Br, Gaspar Thanks Don, ...Show All
sjnaughton Error installing under Checked XPSP2 - Win Installer 3.1
Trying to install the final build of VS 2005 under the Checked/Debug build of Windows XP. My last try was a fresh install of XP followed by the Checked/Debug SP2 update. Cannot get past an error in the first step of VS 2005 trying to install Windows Installer 3.1. I downloaded the 3.1 Installer redistributable to see if it would install by itself. It displays a message saying that the Checked version of XP cannot b ...Show All
djMaurice Icons in managed resources with VS SDK
I have an icon which contains two devices (16x16 and 32x32) and this icon is for use in the New Project dialog. If I had this icon as a managed resource, it only adds the 32x32 device. How can I add both devices from the icon as a single resource That was unfortunatly not caught until after we shipped. The flaw as in the managed component that provides resources to VisualStudio. Our code made a native copy o ...Show All
Ger F. Versteeg Serious Error while debugging
Hi, While debugging the VSTO application, I am getting following error: "ContextSwitchDeadLoack" The CLR has been unable to transition from COM context 0x159ba8 to COM context 0x1598c8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performan ...Show All
Cuno Evertzen Excel - Clear contents for a sheet
What is the best way to clear a sheet of all values off of an Excel sheet Either using the WorkSheet or WorkBook class My system is throwing an exception and am wondering if I am doing it wrong. advTHANKSance Hi John, I appreciate your answer and the knowledge of the ClearContents is definately a method of doing a clear. My posting to this group was in hopes of finding out if the VSTO interface had a differing or alternate way of clearing ...Show All
Saeiddev Installed OutLook 2003 Add-in not available to "All Users"
I need the Add-In to be available to all users on a machine. I'm working from MSDN documents "Deploying Visual Studio 2005 Tools for Office Solution Using Windows Installer (Part 1 of 2) & (Part 2 of 2). I'm using the example in (Part 2 of 2), page 11 verbatim. /assemblyName="OutlookAddin.dll" /targetDir="[TARGETDIR]\" /solutionCodeGroupName=" MyCompanyName .OutlookAddin" /solutionCodeGroupDesc ...Show All
Mike Melzer 1.1 Add-in fails to load on 2.0 system
Good Day, I have a .NET 1.1 IDTExtensibility2 add-in written for Word, Excel, and PowerPoint 2003. It's shimmed using a COMShim Wizard generated shim. We're in the final phases of development and I am currently testing deployment. We tested deploying to systems that have the 1.1 Framework installed, the 2.0 Framework installed, and both installed. In most cases the add-in works fine. However, on one system that just has ...Show All
Lowell2002 changing defaults in inherited propeties
Hi, Is there a way in which one can change the default value of an inherited property Say, I have a class Person with an enum property Sex set to "unknown"; then I have a subclass Woman and the default for the Sex property should read "female". I know there is a workaround by changing the domain model but sometimes the (imported/adopted) models are and not to be changed. Best regards, Richard Hi Richard, Un ...Show All
Allenr How to animate a custom control?
As far as I know, the DependencyProperty could be animated, it's simple to use this feature in XAML, we could indicate the animation target name like: "Rectangle.Width", etc. but when I use a custom control, say "MyButton", it has a DependencyProperty "Value", I could use "MyButton" in XAML like: <Window x:Class="MyUserControl.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml ...Show All
GManNC c# counterpart of VBA for Excel
hi, can anybody tell me the c# counterpart of the following Excel VBA code line: ActiveSheet.UsedRange.Columns(1).Cells i tried (and also its variations) ((Range)((Range)((Worksheet)((Excel.Application)app).ActiveSheet).UsedRange).Columns[Type.Missing,1]).Cells but doesn't seem to work. no matter what i tried i got an exception. neither could i find anything on google. i would appreciate any help. thanks. ...Show All
kamal101 Exception "Report Definitoin is not valid" when deployed to Local IIS
The report ran fine on the Web Dev Server. Deployed to local IIS using "publish website' from vs 2005 which compiles the code to dlls. Can no longer render report - got the following exception: Any idea Is precompiling the application a problem Thanks in advance for any help! ReportProcessingException: The report definition is not valid. ReportProcessingException: The report definition is not valid. Details: Data at the root l ...Show All
vnapoli Multiple Columns
This may be a simple fix, but I am getting impatient and cannot figure it out. How do you do two columns and make it so the table in the first column overflows to the second column before it overflows to the next page I used to be able to do this in access reports and it is going to frustrate me if I can't do it with this. Right click on the report designer Select "Properties" from the context menu Click the "L ...Show All
zhou at satachi Help with Scatter chart
I need to plot a point on a graph and I am using XY Scatter chart. I have the following questions regarding this. 1. I can set the data range for the y-axis, but how do I set this for the x-axis My range is static (30 - 110) and there is no need for me to change this dynamically during run time. 2. Is there a way for me to set the background of my chart to an image Hello, 1. If you right click on the chart to ...Show All
Anr MSDN (or MS Document Explorer) crashing like crazy
does anybody know how to fix the following issue: Installed retail 2005 standard studio version on a machine which did have the beta version, yet it was removed with the tool provided my MS. The installed finished without issues, however as soon as I try to use the dynamic help's search button, the MS Document Explorer crashes. Hence MSDN library is halfway useless, because I can't search. If anybody has any ideas.... other than wiping my HD, pl ...Show All
Ogre Dynamic columns for Microsoft Report Viewer?
I am researching the viability of converting our product from ActiveReports to the MS Viewer. In order to do so, we need to dynamically create columns for the reports. We do this by passing in a DataTable into the report class and then dynamically reading the columns (and some of their properties that exist in our derieved (from DataTable) class. The report ends up looking like a grid. The question: is this possible using the ...Show All
