coldflame's Q&A profile
Visual Studio Team System TFs Proxy fails to connect to the team foundation server.
When ever a client request a file from the TFS proxy server, the request failes and and error are recorded on on proxy server event log. Detailed Message: Unable to obtain registration data for application VersionControl. Exception Message: TF30055: Visual Studio could not find or read the Team Foundation Server server name in the configuration file. Contact your Team Foundation Server administrator. (type VstfNotConfiguredException) I can confirm the url to the team server on the proxy server via the browser. has any body a solution for that Regards Christian Hi Dan I Found the error I ...Show All
Windows Forms cannot delete controls ! :-O
my visual studio 2005 prof. is acting strange. i cannot delete anymore the controls on the main form (the controls are buttons and panels nothing strange) of one of my projects. can someone help me troubleshooting that beahaviour thanks a lot Its difficult to diagnose a problem without more information. What happens when you try to delete them Is it just on that form Is that form special in any way Did you make any particular changes to it before you started having the problem ...Show All
Visual Studio 2008 (Pre-release) Enum?
Hi, Can I have Enum as a DataContract with DataMembers For example: <DataContract([Namespace]:= "http://MyServices" )> _ Public Enum EventType As Integer <DataMember()> _ LOGIN_FAILED <DataMember()> _ LOGIN_SUCCEEDED End Enum When I generate the above (svcutil) I get an empty Enum. Thanks! Scott Instead of DataMember Attribute, use EnumMember Attribute to specify members of enum. From Feb CTP, only if you use EnumMemberAttribute, your enums are created properly in proxy. ...Show All
SQL Server Overload resolution failed because no accessible 'Round' can be called without a narrowing conversion:
Can someone translate my error to English please: Overload resolution failed because no accessible 'Round' can be called without a narrowing conversion: You may need to explicitly convert the expression result into a numeric data type. For instance, CDbl() would convert into a double. E.g.: =Round( CDbl ( .....) ) -- Robert ...Show All
Visual Studio foreach on CodeElement for CodeClass returns physical file, need help
I'm using VS 2003 I'm doing a loop through the projectitems then a loop through each items codeelements and that is returning only namespaces. I do get the classes from the projectitems thereselves but they are never Class, only physical files. The class is marked as a phsical file and is a physical file (i.e. Namespace AccountEntity has a class named Account. I get the Account.cs as the projectitem with the kind as a vsProjectItemPhysicalFile). the CodeElements are always namespaces. I'm still fairly new at add ins in .net. My code generate is generating my base files and functions, I'm trying to open a p ...Show All
.NET Development Uploading a file -- "The requested URI is invalid for this FTP command"
I looked at another post that had the same problem, but it didn't really help me out. I have the following code to upload a file with (C#): public void Upload( string fileName, string uploadUrl, string user, string pswd) { Stream requestStream = null ; FileStream fileStream = null ; FtpWebResponse uploadResponse = null ; try { FtpWebRequest uploadRequest = ( FtpWebRequest ) WebRequest .Create(uploadUrl); uploadRequest.Method = WebRequestMethods . Ftp .UploadFile; //Since the FTP you are downloading to is secure, send //in user name and password to be able upload the file ICredentials credenti ...Show All
SQL Server How to restrict subreport height?
I have report with subreport. Subreport contains table. I need to restrict table's height. If table contains many rows I wish see only rows which are visible in defined rectangle. I don't want to see all rows. How to do this ...Show All
Visual Studio IVsProject3->OpenItem is called for each document having a breakpoint before the debugging starts
Hi, I have implemented my own debug engine, we are creating a virtual project to enable debugging. All my docs are non file based docs. My problem is that when I start a debugging session I see that OpenItem in IVsProject3 is called for each document that has a breakpoint in it. Iam not sure why it is happening but I observed the same behavior with the MY C sample provided with the sdk. The call comes from the Vsdebug.dll, Is there any way by which I can stop these calls coming as these calls are unnecessarily trying to open documents that may or may not be required, I would still like my breakpoints to be available as otherwise I wou ...Show All
.NET Development Delete a file from an FTP server
I have the code to download and upload a file to and from a FTP server fine. What I am not sure of is how to delete a file from an FTP server. I figured I could try to download a file, and if it downloads successfully, then to delete it because the download method would have all of the information needed of what the filename is and where it is located etc... below is the code for my download method in case it matters: public void Download( string downloadUrl, string user, string pswd, string downloadLocation, Boolean multfiles) { if (multfiles == false ) { //write to email transfer number transfer++; errors = err ...Show All
SQL Server How do I insert text into empty xml element in sql server 2005?
Hello I have the following xml data stored in an xml datatype colmun in sql server 2005: <webpage id="935623B3-F72D-45EE-AF88-47022F101184"> <createdate>Sep 6 2005 11:04AM</createdate> <title>Themes</title> <icon>app/16/p/text_align_left</icon> <pagetext /> </webpage> I'd like to be able to update the the xml so that there is text w ...Show All
.NET Development Need an Answer!
I've looked everywhere on msdn and can't get an answer to the most basic question about jscript. Here is the question: Which development environment in the .net framework allows you to code and debug in jscript! It's NOT Web Developer 2005 -- that one only let's you use VB and C#. Is it ASP.Net There are some very vague references to this, but I can't tell exactly what the environment is. There is much talk about jscript in the MS .NET framework, but let's get very specific--which development environment (code and debug) let's you use jscript. And if, once in that environment, there is some obscure trick to not having it chock every ti ...Show All
Visual Studio Experimental UI
How would I add a function to collapse a group of shapes e.g. the concept linked to an owning concept How did you make it work - moving shapes moving up and down as the group is collapsed I am thinking, something like running through all in ( NodeShape.FromRoleLinkShapes and NodeShape.ToRoleLinkShapes ) Thanks - Christian ...Show All
Visual C# Spacing formatting and return statement
The new spacing options in VS2005 are really cool (Tools/Options/Text Editor/C#/Formatting/Spacing). You can control almost all formatting aspects. "Almost" because I did not find a way to control the spacing after "return". I like to write code like: return(result); instead of: return result; The auto-formatting gives me: return (result); Yes, I can live with that, but you know... old habits, ... Does somebody know if it is possible somewhere to control this kind of spacing Regards Sebastien Some add ins may allow it. OR you could write a macro that does a f ...Show All
Visual Studio Express Editions I have 2 questions
Hello all, I have two questions at this time, and dont laugh... keep getting messed up between tomany languages so syntex stuffs me up... 1st: how to make a new line with a string, remmber it being something like crlf or something like that... do i need to include something .... ect 2nd: Access database connection, this is the code i have at the momment and I dont know why it wont let me fill. Down the bottom of this code is where the error is look for ' ERROR OCCURS HERE..... Hense is there an easyer way to work with databases ie not so much code how would I setup just to through SQL statments at it then it fills the dataset CODE: ' **** ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Disable FSAA for some primitives each frame? (disable it temporarily)
If I set my device to use 4x FSAA for example, can I temporarily disable it when rendering primitves or somehow make primitives that isn't affected by the FSAA I have a graphical user interface that render text and quads with point filtering, that way making it "pixel perfect". Much like blitting a sprite but I'm using triangles instead. However this method breaks miserably when I add antialiasing, since the pixel precision is lost and it looks horrible. I would like to render the GUI and text triangles without FSAA and terrain / player / whatever else with FSAA enabled... I'm using MDX if that matters. Any help / ideas are appreci ...Show All
