torick's Q&A profile
SQL Server Is it possible to disable Poison Message Detection?
Hi, I'm using the Service Broker to parallize my processes (I know that the Service Broker was not designed for that purpose), however it's working quite well. I use the broker procedure to start procedures which all process all a part of the workload. When the procedure fails because of a lock timeout (or for that concern, for whatever reason), I rollback the transaction (which also roll back my message received on the queue so that it can be retried at a later time.). And this is where my problem lies, if there are 5 sequential rollbacks of messages then the poison message detection kicks in and disables the queue, stopping all the processing. :( Is there a way to disable poison message detection I have implemented my own stop-mechanism ...Show All
Windows Live Developer Forums Robot Invaders - The Bonus Round!
Robot Invaders “The Bonus Round!” Build a Robot by next Wednesday and you could be one of 5 people to win $200.00 Who Will Win The 1st 5 people that submit their valid robot entries, which means: Submitted between today 8/29 and 9/6 11:00am PST This is for new Robots, those that have already been submitted will not be considered Your Robot must be integrated with the Messenger Activity window and 1 other great Windows Live service! Download the Activity SDK here Pick another great Windows Live service, please see http://dev.live.com or http://ideas.live.com for a list but some ideas would be ( Search , Alerts , Spaces , Virtual Earth , or Expo ) Your robot must be submitted correctly, whic ...Show All
.NET Development Reading xml from a website
Hello, I'am using vb.net 2005 and want to read from a website a value in a xml element. I stopped at following code: Dim myUrl As String = "http://www.demo.com/file.xml" Dim reader As XmlReader = XmlReader.Create(myUrl) While reader.Read End While Can you help me to go on Thank you Ok thank you, but this example only read all xml data. I want to get the value of a single node, for example: <Customer ID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tint programatically a Texture2D with another Texture2D
Hello, Is it possible to tint programatically a Texture2D with another Texture2D For example: I have 3 furniture textures: a chair, a table and a cupboard I have 3 material textures: pine wood, teak wood and birch wood I want to show the chair, table and cupboard in pine wood, teak wood and birch wood. How can I do in XNA Thanks in advance Lluis Now it tells something... You can try this one also.. Help>content>.netFramework SDK>How to and walkthrough >GDI+ How to: Use a Color Matrix to Set Alpha Values in Images. Recoloring Images and all related. Much to read. But It's all you need. ...Show All
Visual Studio 2008 (Pre-release) Workflow Designer Re-Hosting in unmanaged environment
Anyone tried to do Workflow Designer Re-Hosting in unmanaged environment ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Displaying Fonts in XNA?!
Hi everyone, Just got started on this but already running into a heap of trouble... How do I display fonts I already got the bitmapfont.cs from Gary Kacmarcik on http://blogs.msdn.com/garykac/archive/2006/08/30/728521.aspx but the class won't build due to all sorts of weird errors. Am I doing something wrong or is it simply because the class was written voor Beta 1 or 2 How do you display fonts using XNA And why is it not easily accessible in the first place Seems like an enormous oversight to me. Thanks in advance. As an exercise, I converted Gary's BitmapFont stuff over to using the ContentPipeline. http://seattle.servegame.org/XNAExtras.zip ...Show All
SQL Server Percentage Format
I am trying to display a figure as a Percentage. The figure is 2.00000. I want it to show as 2.00%. When i go into the formatting i select P but it displays the figure as 200.00%. What formatting code should i use to get 2.00% What formula are you using to get the 2.00000 I am wondering how you got a value greater than 1. If you use =Format(Fields!Field1.Value, "0.00" ) & "%" as the expression for your textbox , you will need to remove the format code 'P' from the textbox. Jarret ...Show All
Visual Studio 2008 (Pre-release) Recovering from Faulted State?
Hi, We have hosted our WCF Service as a Windows Service. What is happening that once it goes into faulted state, we have to restart the service. This will not be possible in production. Can someone help me in finding out a permanent solution to handle this. Thanks, Akhil Jindal You cannot recover from the Faulted state. The only thing you can do with a service that has faulted is close it. The service is an ICommunicationObject and this blog entry has a brief explanation of the states an ICommunicationObject goes through. ...Show All
.NET Development ID process of my application ?
How can i receive unique identifier of the process of my application Hi Andy, try the following code: Process currentProcess = Process .GetCurrentProcess(); int processId = currentProcess.Id; Andrej ...Show All
Visual Basic Help! Update picture not working right
Hi all. I will attempt to explain as best I can. I have created a sql database which holds a few fields. One of the fields is the path to a photo stored on my hard drive which is related to the record. When I move through the records I want the photo to load and display on my form, in the picture box. I have created my form with the fields all on it, and the picture box. When I dragged the fields on from the Data Sources box a toolbar was automatically created that allowed me to navigate the records. I.e a previous button, a record count X of Y, a next button, an add button, a save button. The fields all store the information ok, and the navigation buttons work fine. The problem I have is that I cannot get the photo to updat ...Show All
Windows Forms how to use picturebox
Hi! I have a question that how to use picturebox. If I want to load pictures from a file. My reference says something like; pictureBox1.Image = Image.FromFile( ); What would it be after FromFile Should I put file address of the pictures Thank you for help. Interesting Thread ...Show All
Visual C# SQL VB.NET 2003 code and C# code
I need to query a very large database on each user's keystroke. In order to speed up records fetching I want to replace my old VB.NET code to C#. I want to know whether code written in C# has high performance and low memory consumption as compared to VB.NET i think you search in the wrong direction convert your code from vb.net to c# will not give you the performance that you expect both language compiled to IL you need to look to Your Database and your code for database optimize queries .table relation look for execution plans etc and for your code do not return alot of recored that you do not need ,caching,pooling etc microsoft published a performance guied called you can download it from Improving .NET Applic ...Show All
Visual Studio Sandcastle - MRefBuilder and .NET 3.0
How should I go about documenting stuff using .NET 3.0 framework I tried changing the mrefbuilder.exe.config appropriately (both using Sandcastle Help File Builder and manually) but I keep getting "Unknown target platform '3.0'" If I set it to 2.0.50727 then it "works" but links to 3.0 specific things are obviously missing Is this a known issue Either way, can this be fixed as 3.0 now is officially released regards, Simon Anand, Thanks for the reply and offer of help... It turns out that it was not a problem with my build script but an unresolved reference to the Microsoft.Web.Administration assembly (ref. from System.ServiceModel.Install) - which I do not have as I am running IIS6 on an XP environment (the a ...Show All
SQL Server Run child package independently
Hi there I have a parent package which execute a child package. But when the child package is run from the parent not all of the tools inside is executed. I have a variable "ExecuteStep" from the parent that gives information about which tools, that needs to be executed. BUT The child package should be able to run independently also. In this case all tools inside the package should execute. This is however not possible because my variable "ExecuteStep" does not exist inside the package, it is inheritage from my parent. If I create a variable with exactly the same name inside my child package, I can run the child independently, but when executed from the parent the value from the parent package is now overwritten by t ...Show All
SQL Server Configuration of Reporting Services
obviously until I get this sorted I cannot deploy my reports in my Reporting Services Configuration All ticked except initialisation (3) in Database services ticked but on the right hand side there are warnings/errors Verifying Database Edition - ticked Verifying Database Version - warning The current connection string is not valid and can't be used to connect to SQL Server Where do I check this (1) Creating A Grant Rights script for LocalSystem = ticked Assigning Reporting Services Rights to User = error (2) System.Data.SqlClient.SqlException: The role 'RSExecRole' does not exist in the current database. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at Syste ...Show All
