Pelle Plutt's Q&A profile
Visual C++ DrawThemeIcon
I'm trying to use DrawThemeIcon to render a disabled bitmap on an owner draw button using XP themes. The API doc implies that I can use the state PBS_DISABLED to apply the disabled effect to the bitmap. This does not appear to work. Is this a valid assumption. If not, what is the recommended way to accomplish this BaradaNikto wrote: I'm trying to use DrawThemeIcon to render a disabled bitmap on an owner draw button using XP th ...Show All
Visual Studio 2008 (Pre-release) Textbox Bug
I don't know if the textbox was changed to work like this now, or if it is a bug. Up until the Feb CTP the .Drop / .PreviewDrop events of the textbox always fired, no matter what you dropped inside of it. (The data didn't show, but the event fired) Now, when dragging data, I have to use the .DragEnter event and set e.Data.SetData("") to something before the .Drop method will work. Is it suppose to work this way now Thank you ...Show All
Visual Studio Team System Failed to install latest June CTP SQL Server 2005 and TFS
I want to install the latest June CTP SQL Server 2005 and TFS on a single computer, but failed miserably. SQL Server requires an slighter older version of .NET Framework 2.0 while TFS uses a version dated 06/01/2005. I tried to install SQL Server first and then uninstall the Framework and install 06/01 version, but got errors during TFS setup (sorry, could not remeber clearly what the errors are). Is there a workaround for this problem or Do I ...Show All
SQL Server Advice on security model for XML Web Services for many users in Active Directory role
I am working on the security model for an application that will be used by 100s of users with a dedicated SQL 2005 database for this application and access via SQL XML Web Services. The client has asked to make it "open" during alpha testing such that anyone can access the web services without having to set them up first. Is there a way to do this The best I can figure is to use mixed mode security and hard code a login and password ...Show All
.NET Development Update issue vb.net2005 express - SQLServerExpress "Failed to convert parameter value from a String to a Int32."
Hi All, I an new to the .Net development (I used to work in VB6). I have a Problem updating a database and I can not figure out where the problem is situated !! On a form I've placed a datagridview linked to a sponsor table. I can see all the records and I can ADD new records to the database bu when I try to modify or dele a record I always get an error telling me I can not convert a String to an Int32 . This is strange as I have no fields in th ...Show All
Windows Forms Setup Project in VisualStudio.NET(2003)
Hi All, I made Setup Project in VisualStudio.NET(2003) and this Setup copy the text file which is reside in msi and install it in selected instllation folder. My Problem is I want to select that text file from that specific folder and want to install in in selected instllation folder because that text file changes every time. Please suggest me the best solutions. Regards Amit I'd really like to help you, but I don't quite understand wha ...Show All
Windows Forms combo box requirement
Hi, My requirement with combo box is like this. When focus comes to the combo box then only it should display drop button, when the focus looses It should just display like text box. Thanks for the advanced help. Regards pavan kumar Hi, I don't think that the default combobox has a way to hide the dropdown button maintaining the normal size (you could use "simple" in DropDownStyle but I guess you don' ...Show All
Visual C# Accessing Object Properties from called objects.
I understand that Reflection is a good way to get information about Attributes, Properties and Methods of a class but how do I access values of a specific instance of a class and ensure that it is the class object currently calling the class If I have a heirarchy of: object1.object2.object3.property how do I access a property value in object 1 from object 3 so that this works: public int AProperty { get { return Object3Variabl ...Show All
Visual Studio Tools for Office Outlook 2003: catch right-click over a mail item in explorer view
Hi, the way to catch a click over a mail item in explorer view is using " Explorer_SelectionChange" event but I don't know how to catch right-click over a mail item in explorer view Thanks for your help, Mauricio. Ok, thanks for the quick answer. Mauricio. PD: when you have time explain me about this "big hack" ;) ...Show All
SQL Server Loading multiple files
I have a security system that creates log files in a dbf format. I need to report from a weekly collection for files. I am trying to do this through Integration Services 2005. My hope is to use the for each loop. My problem is the only way I know how to get the data out of the dbf file is to use a .Net ODBC provider connection. In this connection I use a select statement to pull the data from the dbf file and then an OLE DB connecti ...Show All
Windows Forms ActiveDoc hosting in .net 1.1
Hi, I need ActiveDoc hosting in my .Net app (C#) and I can't wait for the release of VS 2005. Does anyone has a cue about where to start Thanks forward, Luc (PS I 'm fluent in C++, COM, etc.). ...Show All
SQL Server concurrencyviolation with SBS 2003 and SQL server 2003
I am using Windows server 2003 and SQL 2003 but I am getting a concurrencyviolation error when using ODBCCommandBuilder. I am the only database user. Can anyone offer help. Thanks. ...Show All
Visual Studio Team System In Web Tests, How to Validate the values on a grid ?
I want to validate the values that are shown on a grid , based on the values that are selected on a Combo.(Herein internally, the grid gets filled, when the combo box value is changed.) I would also like to know the selected row from the grid, so as to try it... or else Manual testing has always been there at our help You can do this with a validation rule. If the value in the combo is di ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XBox - Managed Code
I’m just wondering if anyone knows if Xbox 360 supports any type of managed code (mc++, c#). We're about to develop an engine and we can’t find any information about this. We wanted to use c# for the scripting of the game so if anyone knows it would really help out. Thanks. I would have - but I didn't have that post up yesterday when I posted to the forum... but thanks for the link And links to pictures of th ...Show All
Windows Forms enable a form from another form.
how can i enable or disable a form from another form eg: i have a project prs. and 2 forms pr_menu and person. person should open on top of pr_menu. at the same time when person is opened, pr_menu must be disabled. i tried by the following&nb ...Show All
