Fyyre's Q&A profile
Visual Studio copy the text from ViewFixupRules.dslddi to ViewFixupRules.dslddt -> Tranformation fails
Hi, since i want to do an adaption of the ViewFixupRules.dslddi template which should be used only within my solution, I copied the text of the ViewFixupRules.dslddi to the ViewFixupRules.dslddt (copy&paste) . Actually, I'd like to change the ElementAttributeChanged Method within this template. When I try to tranform the file i get the following error: Error 1 Custom tool error: Compiling transformation ...Show All
Visual C++ ListView in Visual C++
Hi, I want to use a somekind of a "table" control in my form. The table columns consist of a nb. of units, a description and a unit cost. At the bottom of the table control, I would like to put a total cost of every items listed in my table (sum of (nb.units * unit cost) for all items in table). If I add a new record for which a same "description" exists in table, I will instead update this record and increment the " ...Show All
Software Development for Windows Vista WWF with .NET compact framework 2.0
Hi ppl, My team is working on a PDA application for the Health and Safety sector. We are releasing version 1.0 after a couple of weeks. For the second version, there will be a major change in the application architecture and we are thinking to implement it as a workflow based application. WWF is the first thing that comes into my mind but I was wondering if we can use WWF with .NET compact framework 2.0. So here is a question for u guy ...Show All
Windows Forms .NET API's for Windows settings?
Are there APIs for changing a computer name Or APIs for setting a network adapter to use DHCP or a static IP Thanks, Aaron I think the intent was that you could use System.Management for tasks like this. For example, the following procedur ...Show All
Visual C++ Newline in TextBox.Text property
I am programatically changing the value of a TextBox's Text property, and I need to be able to create newlines in the text for it to be readable. I can use the /n escape character when I'm creating a command line tool, but when I try to use it in the value of TextBox's Text property, it won't work. It just displays a little line. Any help is appreciated! ok actually the other guy was ...Show All
Windows Forms A Guide to Win32 API and Visual Basic 6.0 & .NET
I have two sections of my site dedicated to the Win32 API calls. There is the Windows API Guide, which is what used to be at vbapi.com before it was sold. I was the last webmaster of vbapi.com and I had thought it was appopriate ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render to texture
this is in response to another thread that I have in this forum. I am having problem of rendering to a texture. I have a texture that I populate by using lockRect and the usage is D3DPOOL_MANAGED. The problem is that I cannot populate this texture using lockRect and D3DPOOL_MANAGED but rather D3DPOOL_DEFAULT, which cannot be populated with lockRect. I have to use D3DPOOL_MANAGED inoder to use SetRenderTarget 1.Is there a way to popu ...Show All
SQL Server Reporting off of stored procedures
Hi, I'm new to SQL Reporting Services. I want to create a report from a dataset where the source is a stored procedure. The sp does several things to generate the ultimate reporting rows; temp table(s) are created and updated, joined with other tables and views, etc. The final line of the sp is: select * from #temptable. I'm getting an error that the temp table is an invalid object. Also, this sp used to have input parameters which caused errors ...Show All
Windows Forms DataGridView and Heterogenous cell types
Hi all, On the smart client developer center i read the following http://msdn.microsoft.com/smartclient/understanding/windowsforms/2.0/features/datagridview.aspx The DataGridView comes with TextBox, Image, CheckBox, ComboBox, Link, and Button column and cell types. Addition cell or column types can be easily implemented to extend your application. Columns and rows both support heterogeneous cell types. For example, you can have column o ...Show All
.NET Development Streaming data from https-site
I'm getting the errormessage: "This page contains both secure and nonsecure items". It first appeared when our customers installed the latest service path to IE. The thing is that I don't get the message when viewing pictures on the site, just when I'm streaming data. Response.Clear() Response.AddHeader("Accept-Header", wFileBytes.Length.ToString()) Response.AddHeader("Content-Length", wFileBytes.Length.ToStri ...Show All
Visual Studio Team System Build Error - Log Posted
hello, Can somebody help me with the Build error I have posted the buildlog file below. (Partial as the file is too big) ------------------------------------------------ Done executing task "CreateItem". Task "MakeDir" Done executing task "MakeDir". Done building target "PrepareForBuild" in project "AEG.AEGIS.Common.vbproj". Target "BeforeResolveReferences" in project "AEG.AEGIS.Common.vbproj" Done building target "BeforeResolveReferences" in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Possible Culling Problem
Coding4Fun posted code called "BattleTank 2005", it gives a great example for simple camera movement and importing of Xfiles. The Xfiles are all white because no lighting is provided in the prog. I added these lines to allow for lighting taken from http://www.gotdotnet.com/team/directx/learn/tutorials/helloteapot.aspx device.RenderState.ZBufferEnable = true ; &n ...Show All
Visual C++ ::GetWindowLongPtr() and cast errors
It seems that ::SetWindowLongPtr() and ::GetWindowLongPtr() are defined to just map to set/get window long in 32-bit windows. The problem with this is that, even though I use the correct casts and functions, I still get a warning from VC++ about possible loss of data (because I stuff a pointer into this field). Is there any way of writing code that calls ::SetWindowLongPtr() and ::GetWindowLongPtr() that doesn't issue this warning, without turni ...Show All
Visual Studio Express Editions How to Protect Image file After encoding in wmv format.
hi I have an image file , which i encode it in wmv format , while i protect that wmv file , i am getting an error " Exception from HRESULT: 0xC0042919. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Exception from HRES ...Show All
Visual Studio Team System Comparing fields of a Work Item when filtering event notification
Hi, I'm having some troubles setting the Event Filter when subscribing to the WorkItemChangedEvent. I need to compare two values of the work item. For example, I want to know if the Assigned To field was changed. I tried the following: "CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/OldValue" <> "CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/NewValue" but notifications a ...Show All
