Testsubject's Q&A profile
Visual Studio Team System Unable to see the source control at client machine team explorer.
Hi, I am facing problem accessing the source files at client machine team explorer. Following are my configuration details : 1. My TFS Server is Single server configuration. It is not a domain installation it is a workgroup installation. 2. I have added my solutions and projects to Source control at server side. And it is showing is properly. 3. I have client on which I have installed team explorer. When I try to connect to my TFS Server using TFSSERVICE credential, it connects successfully to my TFS Server. But I am unable to see anything under source control. My TFSSERVICE account is admin on my client machine. Can anybody help me out. Thanks and in advanced. Chances are the old solutions still have Source ...Show All
.NET Development delete line in xml file?
Hello I might be doing something odd... I have been working on a c#.net program that gets data from an oracle database and then puts that into an xml file. Insert, delete, update are done to the xml file, and when the user is finished, the information should be sent back to oracle db to update and commit. When a new record is inserted, it is inserted into a separate xml file from the one that has the data from oracle db. Before insert is done both xml files are searched to make sure the record does not already exist. When the record is inserted, it is just appended to the file so the new record is added after the end of the root tag. Next time I try to add a record and a search is done, an error comes up because the end of the roo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Confusion
I have no experience w/ c# etc...but I love this idea of creating your own games for 360 etc with Game Studio Express. Can a person like me use Game Studio Express...like will there be walkthroughs for inexperience people Also does anyone know of any good books etc on beginning C#...and is this Visual Studio Express free or I have been thinking of getting the managed DirectX kickstart book for a long time. I am wondering how well this would help us when we get to XNA Should we just try and wait for the documentation, or would these books show us the overall steps, and we would then just need to chage some bits of format ...Show All
SQL Server without checkbox leftside of the dropdown value list of the parameter
Hi, I believe somebody know the reason. Please help me on it! I plan to pass a multivalued parameter from my web application to the server report, and let user select the value(s) from the value set. But when I run the report, there's no checkbox leftside of the values, that means user has no choice on this parameter. Is there any way to do it Thanks, Jone Hi Jarret, Thank you for your reply! I double checked it. Yes, I checked the 'Multi-value' for this parameter. when I run the report, there's a dropdown value list, but no checkboxes at the leftside of them. Any idea Thanks, Jone ...Show All
Visual Studio Project Item Templates
Hi all, I'm developing a new project wizard which has to create both new projects and project items according to project and project item templates that we've created and tested. The problem I'm having is this: The new projects are being created correctly with the new template via (Solution2) GetProjectTemplate() but whenever I try to create the project item from its template via (Soluntion2) GetProjectItemTemplate() it throws the following exception: System.IO.FileNotFoundException Message: "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)":null Source "EnvDTE80" string As I mentioned both templates have been tested and appear in the proper VS dialogs. It just seems tha ...Show All
.NET Development Can any one explain me more about Regular expressions in C#
Hi all, Could any one explain me about Regular expressions in C#. I went through the Orielly book of C# programming, but I was totally confused. Can you qoute some examples and explain where the RegExp are used..... Thanks, suresh. I recommend downloading a utility to let you play with various regular expressions and search strings. There's a good one called Regex Builder 2.01 which you can download here . ...Show All
Visual Studio 2008 (Pre-release) LineBreaks or Environment.NewLine -- which is more efficient?
Quick question: in flow documents, are <LineBreak>s or inlines appended with \r\n more efficient memory/perf wise Thinking simply, I'd guess that the 4 extra bytes within the space allocated for the inline text is a lot cheaper than the extra 8 bytes on the GC heap + 4 bytes for pointer that it costs for a <LineBreak>. But if in rendering it has to do something fancy like convert \r\n to a LineBreak object, <LineBreak> would be cheaper. Thanks in advance, Rei Hmm yeah, except I was thinking there might be some sort of performance differences in terms of measuring text and such. I'm trying to make a log viewer -- I'm thinking I'll have to resort to making a viewer my ...Show All
Visual Studio Express Editions Binding Problem
Hopefully someone can show me where I am going wrong! I am trying to pass a value on the same page and save it in SQL. All fields save except the one I need! I have the following code: <% @ Page Language ="VB" MasterPageFile ="~/Admin/MasterPage.master" Trace ="false" Title ="Untitled Page" %> <% @ Import Namespace ="System.IO" %> < script runat ="server"> Protected Sub Button1_Click( ByVal sender As Object , _ ByVal e As System.EventArgs) If FileUpload1.HasFile Then Try FileUpload1.SaveAs( "PATHTOSAVE" & _ FileUpload1.FileName) Label1.Text = "Upload Com ...Show All
Windows Forms How to change appearance of toolstrip overflow button?
Hi there I derived my own class from the toolstrip, to implement a few changes. My toolstrip uses a blue background color. This works fine, but i got a little problem: The overflow button is nearly invisible, until you hover over it with the mouse. It uses the same background color as the toolstrip and only has this little black arrow which is nearly impossible to see with the blue background. I only want to get this button better visible! I tried to change the BackColor and ForeColor properties of the overflow button (which is accessible via toolstrip.OverflowButton), but ForeColor changes nothing at all and BackColor only draws a little line on the button in the desired color. I also tried to write my own ToolstripRenderer. I override th ...Show All
.NET Development MSMQ public queue
Hi, recently i was trying to create public queues on a workgroup machine but i realised that i cannot create public queues on a workgroup. Only on domain but i am still not sure about this. And can i create a public queue remotely on another computer Say Machine A creates a public queue on machine B Can i add triggers programmatically Thanks Hi MedicineMan, This is how i create my private queue in C#. Code Snippet String sQueueName = ".\\Private$\\xxxyyyzzz"; MessageQueue MyQueue = new MessageQueue( sQueueName ); MyQueue.Formatter = new XmlMessageFormatter( new Type[] { typeof( String ) } ); // Add an event handler for the ReceiveCompleted event. MyQueue.Rece ...Show All
.NET Development IIS server needs to be restarted.
Hello All, We have a web application running. But due to some reasons one of the worker process crashes and hence the iis server needs to be restarted. The dmp files were collected to get the reason for this error. Please help me understanding whats the exact error. What i understand from this is: 1)There was problem with threading, as the server was waiting for some object but did'nt got it, and hence an error. 2) SharedUserData!SystemCallStub - this error seems to occur when there is deadlock situation. Thanks, Ketaki The contents of the log file are as follows:- Opened log file '\\ \C:\IISTools\IISDebugTools\logs\20060814-064950\3896_w3wp.log' 0:000> !iisdbg.dump -mfhu Logfile: \\ \C:\IISTools\IISDeb ...Show All
SQL Server Casting...
I've got an ftp task that will be downloading a couple of files each night. today they're called blah20060830blah the date value in the middle changes each day. I'm trying to adjust this value with an expression. The expression doesn't want to cast my getdate function into a string that this property will accept. I know i'm missing something stupid. Thank you killerless wrote: How can I set this value to a variable, so that I can use it in other expressions Good idea! There is a property of the variable called EvaluateAsExpression. Set this proeprty to false and then paste your expression into the Expression property. I talk about this a bit here: Using variables to store e ...Show All
Visual FoxPro How to remove redundant phrase in field?
Hi all........ I have a table field that contains things such as..... V DISCONTINUED W/O REPLACEMENT; V DISCONTINUED W/O REPLACEMENT -I&S MASTER; 7 SUB 2610-139-3704; I&S MASTER; 7 SUB FOR 2610-139-3704 What I need to do is remove the duplicate phrases, leaving only one instance of each phrase in the field. The amount of phrases in the field varies...could be 2 as shown above or there could be 6. I suspect that the 'common denominator' is the semi-colon, but everything I've tried has failed. Any help is greatly appreciated! You may run this for each phrase (I did not tested it!!!): SET EXACT ON STORE 0 TO b STORE 0 TO cnt0 STORE "" TO newf1 STORE "PHRAS ...Show All
Visual Studio Package 'Visual Web Developer Trident Designer Package' has failed to load properly.
I've been using VS 2005 Beta 2 for a few weeks now on a win2K machine, with nothing else installed at all. It's been working fine every day for three weeks, but today I get the following error message whenever I try to open an .aspx file. "Package 'Visual Web Developer Trident Designer Package' has failed to load properly. ( GUID = {30AE7E2B-6CO2-496D-8E43-85F7A90AEFF1} )..." I have not had any previous versions installed, and installed directly from DVD part no. X11-16280 EN SKU 121-00019. In fact I assembled this machine especially to test out VS 2005. However, I have VS 2003 installed on another machine on the same domain which I also log into and use, and I may have logged off/on the VS 2005 Beta 2 machine for the firs ...Show All
Smart Device Development Changing Platform CF 1.0 > 2.0 in VS05
Hi, Is there a (relatively) straightforward way to change projects' target platform version from CF 1.0 to 2.0 in VS 05 Hoping it can be done without starting over creating new projects... Cheers, Sam. You could use Project/Upgrade Project menu. ...Show All
