Pawel Pabich's Q&A profile
Visual Studio Tools for Office Using existing word doc in VSTO project (VS2005) Causes "Attempted to read or write protected memory" error
**EDIT**- Please see my next post in this thread for specific steps to reproduce error*** We have a fairly complex Word document that we use here at my company for creating reports. While it contains a good amount of VBA code, it has never had any VSTO associated with it. My intention with this current project is to bring the doc "up to date" by replacing the VBA code with VSTO equivilants. Unfortunately, I can't eve ...Show All
Visual Studio Express Editions Changing Disassembly text color?
Is it possible to change the color of the text in the disassembly window The Tools/Options/Fonts and Colors/ settings only affect source code text, not the disassembly (mnemonic) text. I don't think it's possible - you may want to suggest it at http://lab.msdn.microsoft.com/productfeedback/ ...Show All
Visual C++ _CrtIsValidHeapPointer throwing an exception
I have a mixed (native/cls) WinForms app that calls into a native DLL and consistantly throws a _CrtIsValidHeapPointer exception. As best I can tell, it occurs when the DLL initalizes. According to the stack, when this guy gets initalized, everything blows up. static std::locale g_loc; // default locale From there we wind through a couple of function calls, and end up at /* * If this ASSERT fails, a bad pointer has been p ...Show All
Visual C# StreamReader and File Position
I'm processing large binary files. These are PCL files, and I'm looking for page boundaries. I want to store the position of each Form Feed, which in PCL is decimal 12, hex 0C. However, that byte can also exist as part of a raster or other binary structure. So I loop through the file, and when I find a "12", I read ahead 14 bytes to compare them to a known string. If I get a match, I know the 12 was a real Form Feed, and I store it's position in ...Show All
SQL Server array with sql server 2000
hello I have created one store procedures that return a table variable 'CREATE PROCEDURE sptcondconsiglieri @immobile_id varchar(6) as DECLARE @tbl table(condomio_id Varchar(6),titlo varchar(5),nominativo varchar(256),stato int) DECLARE @colA nvarchar(50) DECLARE @MyCursor CURSOR /*declare @mycursor1 cursor*/ SET @MyCursor = CURSOR FAST_FORWARD FOR Select nome_consigliere From t_immoconsiglieri where immobile_id=@immobile_id order by posizione ...Show All
SQL Server SQL Server 2005 Express Installation Problem: Incompatible components from beta version of .NET Framework
Hi all, Yesterday, I just downloaded the SQL Server 2005 Express (SQLEXPR.EXE) and tried to install it in my Windows XP Pro PC that is on Microsoft NT 4 LAN System. I got the following error: &n ...Show All
Visual Studio VS2005 + crystal report
In my project, i'm using crystal report inside the vs2005 and preview the report using crystal report viewer. When i create a setup package and install my system in another pc, i cannot open the form that using crystal report viewer to preview the report. I already instal dotnet framework 2.0. Why i cannot run the programme in that pc but everything running in my developing pc Am i missing any file that is needed when i install the programme in ...Show All
Visual Studio crystal report
Hi, I developed a crystal report application in .net framework 1.1 In addition, I Prepared setup project with merge modules. Apps is working fine in other PC's having .NET 1.1. My doubt is, Will it run on .NET framework 2.0 Any additional steps need to be taken Kindly advice me. Thanks! ...Show All
Visual C# How to utilize .NET SDK 2.0
I just downloaded and installed the .NET Framework SDK 2.0 software and I was wondering how to get Visual Studio to take advantage of it. When I go to help within VS, it appears to be using version 1.1 Is there anything I need to do to get it to use 2.0 Thanks! ~zero You need Visual Studio 2005 to write applications with the 2.0 framework. You can get the Express editions for free at http://msdn.microsof ...Show All
Visual Studio Team System Code Coverage Coloring Option
Is there any setting available to customize the coloring thats done on the source Code when displaying the Code Coverage after running tests Right now Code Coverage setting seem to conflict with my Resharper Add-in settings and the entire file is just displayed in black without any coloring at all when trying to view the code coverage for a class. Thanks, Krishna Hi Krishnaswin, In the main menu, g ...Show All
Visual Basic XML documentation
I want the handling of XML documentation to be identical to how VB Commenter worked in VS2003. That is, I want the documentation to be generated when I type ''', but I don't want the background compiler to waste precious CPU cycles analyzing the comments or wait for an XML documentation file to be generated whenever I compile my app. Is this possible Thanks, Lance Jay, Thanks a ...Show All
.NET Development skin, possible use onmouseover?
i'm in the process of creating a base class for my application and i use stylesheet to all my controls and also use some javascript along with that... i try to create skin (see below) is that correct way to do is that possible that in skin i can use something like this: <asp:TextBox CssClass="txt" onmouseover="className='txt txthov'" onmouseout="className='txt'" runat="server"></asp:Text ...Show All
.NET Development Adding a row to a child table
We have a DataSet with parent/child relations set up. We have a BindingSource and a BindingNavigator configured for each table. When we use the BindingNavigator for the child table to add a new record (click the Add button...) the foreign key value in the child table is not getting filled in. When we call EndEdit on the BindingSource we are getting an exception because this field does not allow nulls in the DataSet. The relationship between the ...Show All
SQL Server Uninstall .Net Framework
Hi All, I'm trying to uninstall previous version of .Net Framework before doing a clean install of SQL Server 2005. When I tried to uninstall in Add/Remove, the following file it asked for, and I don't think it is on my harddrive - tmp1DD.tmp - any help that I could manually remove .Net Framework, I would appreciate it!!! or a tool that I can manually run to uninstall all files associated with previous CTP SQL Server 2005 bi ...Show All
Software Development for Windows Vista Using LUA/UAP in custom applicatons
Hi, The December CTP of Vista has a modified version of UAP/LUA. There's a shield icon (windows colors) next to any setting that requires aleveated status (brings up the verification dialog instead of an earlier dialog that asked for admin password). Also, for other tasks such as opening a file, modifying registry, modifying the drive, etc the dialog pops up asking the user to verify the action. The question being, if I have seve ...Show All
