BacchusMann's Q&A profile
Windows Forms EditedFormatValue threw an exception
Hi All, I have the following code that throws an exception sometimes (not all time) at the EditedFormattedValue public bool isCellHasValue( DataGridViewCell oCell) { bool bRetVal = false ; object oValue; string szValue; if (oCell != null && oCell.EditedFormattedValue != null ) ...Show All
Windows Forms Method to set datagridview row background color
Hi all, I had a datagridview. May I know how to set the particular row color of a datagridview to yellow Please help. Thanks Yes you can do this by using the following code snippet int RowIndex = 0; this .dataGridView1.Rows[ RowIndex ].DefaultCellStyle.BackColor = Color .Yellow; ...Show All
SQL Server Drillthrough and Cell data permissions
I created drillthrough actions on a cube, and I defined some roles. If I just define cube access and drillthrough for the cube, without Cell data permissions, I can execute the drillthrough action when I browse the cube. But If I define Cell data permissions (enable read permissions or enable read-contingent permissions), I have an error message when I execute the drillthrough action : The message say that It's not possible to execute t ...Show All
SQL Server Installing SQL 2005 SP1 on an imaged server
Hi, we have a server that was imaged (and then renamed with NewSID) that fails to install Database and Analysis Services in SP1. We followed the steps to rename the SQL server. http://support.microsoft.com/kb/303774/ Here's hotfix.log: 05/02/2006 18:06:53.894 ================================================================================ 05/02/2006 18:06:53.894 Hotfix package launched 05/02/2006 18:06:53.894 Successfully opened registry key: S ...Show All
Visual Studio Express Editions debugging not working
i'm using VC++ express edition. I was trying to debug one of the examples that come with the help system. but even after setting breakpoints the program doesn't break at the particular break points. it was working fine a couple of hours ago. i tried debugging the same program that i debugged a couple of hours ago. even tht wouldn't work. i don't know if this is a bug in the vc++ .. but its really bugging me. i've been trying for the la ...Show All
Visual Studio 2008 (Pre-release) Request End Event??
Hi, Is there anyway to be notified when a request (i.e. invocation of web service) ends In my example, I need to make sure that database sessions are closed when the request ends. Thanks, Scott. Hi, If you you are using the "using" block, you know when the underlying channel is closed. using (MyServiceAgent mySA = new MyServiceAgent(...)) { Method Call; } if the proxy my ...Show All
Visual Studio Visual Studio 2005 Beta Support: A Joke...Updated
I have spent most of the last week trying to use the Microsoft support and documentation to learn how to use SQL Server 2005 and Visual Studio 2005. I have come up with a new phrase..."It just doesn't work." I downloaded the Microsoft online book for SQL Server 2005. First it would not install because it thought that I didn't have NET Framework 2 installed. Then, I found out after a few hours of searching that I had to use a different download ( ...Show All
Windows Forms Code for adding new entry to Access DB not working (Vb6 to Vb.Net 2005)
Ok, I know I'm posting lots of questions, but I really figured this code would work, or be easy to hack around and get to work, as loading the information successfully was relatively simple to convert from Legacy to .NET. Dim rs As ADODB.Recordset Dim com As Object Dim dbPath As String   ...Show All
System Center How to copy sites?
I configured a site to be used as a template for other branches, but I see no option for copying it. Any sugestion Regards, Alisson. Hi Alisson - We don't have the ability to directly copy sites in our first version. Can I ask how many branches you're trying to configure ...Show All
Visual C# SplitContainer panels flicker during resizing
I am having trouble with flickering of anything drawn on the splitContainer panels during resizing. I have overriden the splitContainer control and used all the SetStyle settings for double buffering and this did not help. I think the problem is in the panels. They are being erased to the background color before the panel is painted. I was able to overide a panel by itself with the following code. public class PanelSQ : Syste ...Show All
Visual Studio Where to start
Hi, I am new to MSBUild and all it can do and how it can be used for website deployment. Any pointers For web deployment you should look at the web deployment project beta. More information is at http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx . Neil ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tutorials build but will not run
I figured I would give DirectX programming a try since I've been finding myself frustrated with the old school ways of OpenGL. I downloaded the October SDK and installed it, I am using Visual Studio 2003 Professional on a Windows XP Professional operating system. This is running inside a VMWare machine. I can run the example executables just fine, albeit in software mode, but it does work. Now for some reason when I load ...Show All
Visual C# Win32 API List
Hi. I want to know all of win32 API in a list. please give me a link for download list of them.(if exist) thanks. Are you are looking for a class that has all of the Win32 API's defined so that you can Interop them easily into your application ...Show All
Visual C++ VS2005: SetUnhandledExceptionFilter(NULL) in abort.c, gs_report.c, and invarg.c
Hello! I have a question about VC++ 2005 CRT behavior in some "emergency" cases. When any of CRT invariants are violated (invalid arguments passed, buffer overrun detected, etc.) CRT needs to report somehow about that violation. VC++ 2005 follows the following strategy: 1. Display (optionally) a message box with error description. 2. Invoke Dr.Watson to create crash dump. (All this code lives in three files: abort.c, gs_r ...Show All
Visual Studio Express Editions People trying to install my program get an xml file
Hi I'm building some basic programs at the moment and some people want to install it but they can't because they just get an xml in there browser. Anyone know what is causing the problem *XML code generated on the browser* < xml version="1.0" encoding="utf-8" > <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:dsig=&quo ...Show All
