Yogesh Kumar's Q&A profile
SQL Server selectively receiving
I have a scenario whereby I will have 200+ clients putting messages onto a service broker queue. This message will go through a pipes and filters based messaging system, and ultimately the message will pop out the other end. Here's the question: what is a good way of making sure the same client gets the response to the message he received. Is there anyway I can selectively receive messages from a queue, i.e., pass a correlation id in with the message, and then filter messages based on that id. Or if someone knows a better way to do it altogether i'd really appreciate it. Many thanks, Paul Yes i understand they each post to the same service which is you, but what are their service names How do y ...Show All
Visual Studio Single stepping seems to not work correctly
I'm writing a small program in C using Visual C++ 2005 express edition. I try to singlestep in the below listed function with weird results. I have breakpoint at the start of thefor loop. First thing i is reported to have a 11 digit valu instead of 0. Then when I single step the first turn in the foor loop is as expected but then when I press F10 I go directly from the strp++ after else ti the j=i statement in the if code and that makes no sense float Evaluate( char *strp) //Evaluate an arithmetic "partstr=%s\n" ,&partstr[j]); Processstr(&partstr[j]); strp++; j = i; } else strp++; } result = Getoperand(); return result; } Final thoughts: Physically delete all objects and libra ...Show All
Smart Device Development Some Boot problems with WM5.0
Hi everyone, I am new to WM5.0 ,and now i have some problems with the startup of the kernel,someone plz help me ,thx a lot! Here is the problem: I have removed the driver for intel statra flash from the .bib and the .reg ,and add some hive boot reg setting to platform.reg .But when i download the NK.bin to my RAM var Ethernet ,the kernel always handup, and from the SecureCRT those message is displayed: Windows CE KernelInit .......................... 0x83fcea40: Unable to unset simulation mode 0x83fcea40: Unable to clear update mode flag in IMGFS. Someone plz help me out, and many many thx ! ...Show All
Visual Studio Team System How to get workitem ID from eventXml?
I am trying to link work items programmatically through a web service which subscribes to the WorkItemChangedEvent. Now I need to know the ID of the changed work item, but that is not a field in the xsd. I found that it is a field of the field CoreFields, but how do I get there Ie how can I read that value and use it in my code. ...Show All
Visual Studio Team System On the Destination Folder and Database Server page, type the following information
I am following the Installation guide for TFS. I'm performing a dual install. I am up to step #5 of "To install the Team Foundation Server (services)". Step #5 says to type the installation path of the TFS services or accept the default. It also says in the Database Server box, type the name of the computer on which you installed the TFS Databases. The problem that I have is that this box is disabled/greyed out. I have tried to solve this problem by uninstalling and reinstalling about 3 times and I get the same problem everytime. I thought the problem was at the point where I am installing Sharepoint and asked to select Server Farm but I am selecting server farm and I still get a greyed out box. I don't know how to get around thi ...Show All
Software Development for Windows Vista 2PC using MSDTC behaves differently on one/two computers
Hi, I have the following problem... I start a transaction within one process proc1 (by creating a new TransactionScope) and enlist a custom IEnlistmentNotification implementation. Then, using .NET remoting, I call a method on a remote object (another process proc2 ) and pass the current Transaction to it. This method creates a new (nested) TransactionScope using the passed Transaction and enlists another custom IEnlistmentNotification implementation. After completing bot scopes I can observe different behavior depending on whether the 2 processes run on a single computer or on two different computers. (1) on one comp: The Prepare() method of the proc1 is called and in parallel Prepare() of proc2 is called as well. (this is also my desired ...Show All
Visual Basic setfocus
IN vb 2005 how do I set the focus on a textbox so it shows the cursor(blinking) when the user switches to that page Hi, What is "switching to that page" A tab control If yes use the SelectedIndexChanged event. In that event call the Focus method of the control which should get the focus -- SvenC ...Show All
SQL Server Error Locating Server/Instance Specified from ASP.NET site
I'm currently learning my way around with SQL Server 2005 and asp.net 2.0, and for this I wrote a little site that uses SQL Server for it's backend. I developed it on my laptop, and it works great, until I deployed the website to my test server, so it's visible to the outside world. The instance I try to access any page that invokes the database, I get the following error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified). The server doesn't differ much from my laptop setup, except t ...Show All
Visual Studio 2008 (Pre-release) MTOM and Javascript client
Hi there, can i have a MTOM message created entirely in javascript so that i can transfer a file through XMLHTTP Thnks in advance I never did this, but there's a sample in the SDK that shows how to enable MTOM encoding. http://msdn2.microsoft.com/en-gb/library/aa395209.aspx This doesn't provide you with the javascript plumbing yet, but at least the service side should be fairly straightforward by changing the encoder as described in the sample! ...Show All
Visual Basic making " in codes
hey im getting lazy with my webdesignen and i want to write my own program to make some codes from user defined options.. my only problem is this: webdesign basiccaly contains a lote of " (qoutation marks) and that will end the string typing.. sa how do i make it write: head.Text = "<script language="javascript">" without stopping the string at javascript please help me. //Martin okey i will try. i want a program to write <script language="javascript"> my proplem is that the only way i know is to do this: head.text = "<script language="javascript">" if i do that it will only write <script language=> in the head textbox :( ...Show All
Visual Studio Express Editions Help with E-Mail
I’m trying to set up my programme to send out e-mails. My service provider is AOL. The code below will send mail out fine to my AOL username. But if I change the PostTo Address to any other, it fails to send. Any suggestions please. Imports Microsoft.VisualBasic Imports System.net.Mail Public Class sendmailclass Public Shared Sub postmail() Dim PostTo As String = "myusername@aol.com" Dim PostSend As String = "myusername@aol.com" Dim Subject As String = "Subject" Dim MessageText As String = "Bla Bla...." Dim Server As String = "smtp.aol.com" Dim UserName As String = "myusername@aol.com" ...Show All
Software Development for Windows Vista WIndows SDK Programming Basics
Hi everyone, I am a beginner in programming field.. I will be grateful if anyone lets me know about the Windows SDK Programming Basics. Daisy ...Show All
Visual C++ Socket API for Visual C++ 2005 Express?
Simply put, as someone fairly new to Visual C++, I need to know how to get a socket API working in Visual C++ 2005 Express Edition. Note that I am not asking how to use a socket API. I may need to ask specific questions about that later, even though I've found plenty of examples. Instead, I'm saying I do not have a socket API at all and I want one. (And yes, I have checked and looked for a way to get one.) What I need is support for TCP and UDP communication, hopefully as close as possible to classic Berkeley sockets. I understand Winsock is similar in most respects. That would probably work. I'd prefer to be doing things as close as possible to the way I would in most any other OS with whatever I use. Could anyone suggest an opt ...Show All
Visual Studio Team System Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
Good day, I've been seeing this error since day one, using the B3R... it's really more of an annoyance than a real issue (I believe). However, it has started appearing in the build view so the annoyance has escalated :( any help towards resolving this would be appreciated... Event Type: Error Event Source: TFS Services Event Category: None Event ID: 3050 Date: 7/5/2006 Time: 3:48:05 PM User: N/A Computer: 90DSDEV001 Description: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 7/5/2006 10:48:05 PM Machine: 90DSDEV001 Application Domain: /LM/W3SV ...Show All
Visual Studio Team System question about the trial version of TFS
I installed the trial version to test it for a couple of weeks and TFS is not allowing me to add domain accounts to it. Is this a limitation in the trial Not as far as I know - I didn't do anything special (other than follow the install/setup instructions to the letter). Is the TFS server running in a different domain from the users that you're trying to add If so, there need to be the appropriate trust relationships between the domains to make it work. ...Show All
