markybark's Q&A profile
Visual Studio Team System Max 260 characters in path + projectfolder-hierarchi + programname?
I have just had a strange error saying that there is a limit to the total length of the source control path + project internal path + program name that may not exceed 260 characters. That is obvously too little if you want a minimum of structure in both your team foundation server structure and your projects and you want to stict to describing names for your files. How to I change this setting regards Jens Chr You can't. It's a hard limit in the DB schema. You can't use >260char paths in the Windows shell anyway, so it wouldn't be much help. (Yes, there's the \\ \ syntax, but that's not practical for daily use.) Are you ...Show All
Visual Studio Team System Web Test - Using files for SOAP request
Hola, I would like to be able to use the web test designer to semi-automate the testing of various webservices. This is how I would like the tests to work: 1. Each SOAP request that will be sent via the web test needs to be stored in it's own file. ( Many of the requests are repeated amongst the services that will be tested, I would like to remove as much redundancy as possible from the web test projects ) 2. The web test will contain one 'Request with Payload' 3. The body of the request needs to contain the contents of a related SOAP request file. Here is the hook: I can do this easily in code. ...Show All
SQL Server ENDPOINTs in SQL Server 2005 April CTP
Hi I've been happily using VS2005 Beta 1 to access ENDPOINTs on SQL Server 2005 Beta 2 for a while now with no problems. Having just upgraded to VS2005 Beta 2 and SQL Server 2005 April CTP I now get this when I make a call to the ENDPOINT web service: "The request failed with HTTP status 505: HTTP Version not supported." Also, if I try to access the WSDL just through Internet Explorer by putting " wsdl" on the end of the url, I get: "Error 501/505 - Not implemented or not supported" It all worked fine in previous beta's. Any idea if some new features\security are causing me this problem, or does it just not work anymore Tha ...Show All
Windows Forms Why 2 bytes for a boolean data type?
Hello! I would like to know why do most programming languages (including VB.NET) reserve 2 bytes for the boolean data type while only 1byte is sufficient. I was told that this is due to the nature of most existent processors which are 32 bit processors. I was also told that such processors would have to convert a 1-byte data value to a 2-bytes dat ...Show All
Visual Basic Class Library Project Event
I am creating a class library (.dll) and i want to specify an event for when the class is loaded. I want to execute somthing for example "msgbox("Loaded")" almost like a form loaded event. Is this possible / how do I do it You can create a static constructor for the type and raise a static event.You can create a static constructor for the type and raise a static event ...Show All
.NET Development how do i validate and deserialise xml?
I want to use the XmlSerializer to deserialize an xml data file to an object. As part of this process, I want to validate the xml data against a schema to avoid errors. My solution was to use a XmlValidatingReader to load the xml file into an XmlDocument object and validate against the schema. If the data is valid, the XmlDocument data is passed to the XmlSerializer. It works but there a simpler way Thanks Jason You can pass an XmlValidatingReader directly to the DeSerialize method of the XmlSerializer. As the serializer reads through the reader, the xml will get validated. Since the serializ ...Show All
Windows Forms A mysterious exception in a form with a TabControl...
Hi to all. I have an application (written in C# 2003) that contains a form with a TabControl, that contains three tab pages. Until I has on my PC the installation of .NET Framework rel. 1.1 only, no problem occurred me. When I installed two months ago SQL Server 2005 Standard Edition and its requirements (also .NET Framework rel. 2.0) I started to verify an unmanaged exception during the form opening. " Exception thrown: System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, Int ...Show All
Windows Forms Windows Custom Controls
When you drag a custom control onto the form, VS.NET automatically calls the default constructor, however my custom control has more than one constructor. Is it possible to specify which constructor is called by VS.NET when a custom control is dragged onto the form cheers! Yes, the designer only calls the parameterless constructor. ...Show All
SQL Server Date Conversion throws truncation error
Hi, I am trying to process a flat file feed. My date is in format of YYYYMMDD. The database column is of datatype "datetime". I have tried using all date related data types on FLAT FILE Connection Manager. I have also tried using Data Conversion Component. No luck so far!! Any suggestion Thanks in advance, -Anand I have resolved the issue using following "Derived Column" statement: (TRIM([Maturity Date]) == "") NULL(DT_WSTR,8) : SUBSTRING(TRIM([Maturity Date]),5,2) + "/" + SUBSTRING(TRIM([Maturity Date]),7,2) + "/" + SUBSTRING(TRIM([Maturity Date]),1,4) Cheers, Anand ...Show All
Smart Device Development .net CF v1.0 Development in VS2005
Reading the required SDKS for developing in certain platforms, this page ( http://msdn2.microsoft.com/en-us/library/ms135100 ) states that VS2005 can compile for the compact framework 1.0 and 2.0. I know Smartphone 2003 has v1.0, I know vs2005 can develope for that, and that that application (written for the smartphone 2003) can likewise be executed on my Pocket PC 2002 device (with the CF 1.0 sp3 installed), but is there a way to develope specifically for PDA's (Including PocketPC 2002) using .Net CF v1.0 in VS 2005 Obviously the compact framework v1 is there in order to develope for smartphone 2003, but the desi ...Show All
Visual Studio Express Editions Save info
how can i make a program ask a question, save the answer somewhere and never ask the question again but remembers the info even when it is resarted and can refer to it. so like if i said my name is ben the first time i ran it every time it started up it said "hello ben" or what ever i'd put. The qualities of answers, cannot exceed the clearity of questions asked. A program can't really ask a question. It can present a striing that a human will intrpret as a question. Save the answer Where The appropropriateness of the selection of "where" depends on know a know lot more about the kinds of questions and the ...Show All
SQL Server Reporting Service WebService DefaultValue property on the Parameters Collection returns a String of a Date
Hi I am writing a program using SQL Reporting Service Web Services I am using my own controls to populate the values of the Parameters of the Report. The problem is the DefaultValue property returns a string not a object that could be casted into a DateTime. Now I have to convert a string in to a DateTime not knowing the culture of the server. Is there a way to find the culture of the server running SQL Reporting Service Yours Boatman ...Show All
Visual Studio Visual Studio 6 Enterprise and Visual Sourcesafe 2005
Hi, thanks in advance for any response to my post. I am looking for some guidance/best practices to suit some needs of my company. Some background.... In our company we have active development projects written in Visual Basic 6 and use Visual Source Safe 6.0d as our version control system. We are about to begin development of projects written in Visual Basic.NET 2005. Questions are arising as to how we now begin to manage source code from different versions of Visual Basic. For example: i.e Do we upgrade the current VSS 6.0d installation to 2005 (Will Visual Studio 6 still function with VSS 2005 ) ans store bot ...Show All
Visual J# Wndproc in j# and mouse scroll event
He, i was working with j#. I could not override WndProc. How in that case to realize processing event mouse scroll in J# You can't overide wndproc from j#. You need to inherit from a base class that you write in C# that calls a delegate in j#. ...Show All
Windows Live Developer Forums Activities Menu Unavailable
I've noticed a number of instances with users not being able to access our P4 application because the Activities menu is consistently unavailable. I have witnessed this situation myself over several home broadband connections and the Activity list comes up with the following message: "List of games or activities is temporarily unavailable. Please close and try again later." I initially thought this was due to a restriction on the client machine's network, but this has happened to me in my own home after a recent move. I've changed nothing...even my provider is the same, but the Activities menu is inaccessible from home. ...Show All
