David Botz's Q&A profile
Visual Studio Team System Why build gets all team projects ?
I am running default build with few small modifications. I noticed that in the build folder the Sources directory contains code from all existing team Projects. Judging by Build Log the Coreget target is resoinsible for this insanity. Did I do something wrong here or I need to include some specific code in my build I've heard that overriding CoreGet is not the best idea... i personally have not read anything on overriding the CoreGet as being a bad thing or something that I would not want to do. I do actually override it and have not found it to cause any issues with getting the correct source code or build issues. I override as follows: <Target Name="CoreGet"> <Get Workspace=& ...Show All
SQL Server Alternating Lines for multiple groups in a table region.
I have created a report that has two groups. I want to have alternating colors on the inner group. When I use the following expression: =iif(RowNumber(nothing ) Mod 2, "Red" , "WhiteSmoke" ) it does not work and I do no get my alternating lines. If I replace 'nothing' with either the name of the grouping or the table region name, I still do not get the lines alternating. Can you suggest how I may be able to solve this problem. Thanks YOU have to specify the group name within the group to make use of the alternation within the group: =iif(RowNumber("YourGroupName" ) Mod 2, "Red" , "WhiteSmoke" ) HTH, Jens Suessmeyer. --- http://www.sq ...Show All
Visual Studio Team System Could not find part of the path ... DatabaseUnitTest.vstemplate
I create a new SQL2005 project and then create a new test for a stored procedure. The new project with the test seems to create OK (I haven't run it yet) but I get the following error "Could not find part of the path C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\CSharp\2057\DBUnitTest.zip\DatabaseUnitTest.vstemplate" I have a C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\CSharp directory but the subdirectory within this is 1033 not 2057 - should I be concerned To see your language locale, see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=666944&SiteID=1 ...Show All
Visual C++ OleDbConnection - reg
hi gents, I want to access the Access database using OLEDb jet in VC++ 6. Is there any example available Pls provide the same for asap. Regards, K.Vishvanathan Hello Re: OleDbConnection - reg Such questions are outside the scope of this forum - for the scope of the VC Language forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=789657&SiteID=1 For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All
Internet Explorer Development IE7, OE6 Printing problems with headers
Having an intermittent problem printing To: From: CC: Subject: Attachments: headers on emails. Usually happens with larger emails or emails with large attachments or emails that have been replied to or forwarded from other people. Have installed Generic/text printer and sent the email to this printer but sometimes the headers are still missing even printing this way. I have if I open the offending email and highlight just one or two words in the text of the email eg Dear John and then print the email using my HP printer (not as text on Generic printer) - the headers then print and so does the selected words. Don't suggest using Outlook as often we only print the first page of emails as we already have the rest of the email on file especial ...Show All
Windows Live Developer Forums Due to a connection problem, changes you make might not be applied to other computers you use
Hi, Due to a connection problem, changes you make might not be applied to other computers you use I am getting this error in Live Messenger for last few days... As a result, my contact list is not appearing correctly and all the contacts are missing. Anyone having same issue Thanks Fahad hmmm.. but my contacts are also unable to see me online... and my contact list also reduces and so many contact are missing... every time i sign out and signin, i see different number of contacts in my list.. quite weird... ...Show All
Visual C# What's the appropriate exception with an input string is empty
I'm working on an API level component (logging) and I want to throw an exception if someone calls a logging method with an empty string (""). I nomally throw an ArgumentException with an appropriate message in this case, but I've began to wonder recently if ArgumentOutOfRangeException wouldn't be a more appropriate choice since the string length is 0 which for my use would not be an valid range. Any thoughts on this For application exceptions, I think you should create your own exception class that inherit from ApplicationException. I don't know if there's "official" guidance but it's my preference to be able to distinguish exceptions caused my application vs. other exceptions. ...Show All
Visual Basic Web Reference Error
I am using Visual Basic 2005 Express Edition 8.0.50727.42 (RTM.050727-4200) and .NET Framework Version 2.0.50727. I am trying to add a Web Reference in my Project, the reference is an Amazon Web Service titled Amazon E-Commerce Service. The WSDL page in XML is http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl . When I try to add the above web service using Project -> Add Web Reference and type the above URL, I get the following error: There was an error downloading 'http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl'. The underlying connection was closed: An unexpected error occurred on a receive. Unable to read data from the transport connection: A system call that should ...Show All
SQL Server Sql 2005 client install requirements
The other day I installed the sql 2005 client on a workstation. The hardware check phase said that the "miniumum hardware requirements were not met". What are the requirments for the CLIENT install (In BOL I find the Server requirements, not the client requirements.) TIA, Barkingdog P.S. The machine itself was wierdly configured: AMD x64 CPU, Windows XP (32-bit edition), so I tried to install the sql2005 32-bit client. finally, I just ignored the "minimum hardware" message and the install seemed to proceed OK. But I feel uneasy about the results. My general suggestion is to not worry about the hardware requirement warning. The code checks some system prope ...Show All
Software Development for Windows Vista Calling WCF service from within an activity (or Workflow runtime host)
I'd like to call a WCF service from within an activity. Before I embark on this, what are the restrictions / recommendations In the first instance I have a very specific WCF service that I want to communicate with and I need to wait until it has completed. I'm not sure what the official way to do this is, but I would suggest you create a custom activity to talk to the WCF service. Something like the Amazon example that is posted under the webservice section of the samples. You could also use the Call Web Service shape, but I think a custom activity will probably work better with WCF. -- Bryant ...Show All
Visual Studio 2008 (Pre-release) Drilling down to the source of a WCF error
I'm having trouble finding the source of a WCF exception I get calling a function returning a complex type over a netTcpBinding. Judging from the trace, my problem comes from an array (see bolded part below, near the end of the very long trace). There are indeed array members in classes included in my return type (members of members of the return type to be exact). Now, how do I go about finding which array is wreaking havoc and why Edit : the problem is better defined in my further posts below System.ServiceModel Transfer: 0 : , relatedActivityId=18d927d1-79df-4388-95cf-43cc8ce9cb87 DateTime=2007-01-15T18:16:20.0184792Z Callstack= at System.Environment.get_StackTrace() at System.Diagnostics.TraceEventCache.get_Callstack() at Sy ...Show All
Visual Basic How to make a TextBox read from a BindingSource?
I have this problem, I'm making a DataBase program that uses TextBoxes . I need to make the " TitleTextBox " to read from the BindingSource . You can see this example in My Movie Collection Starter Kit. Near the Text property of the TitleTextBox is an icon, a yellow orange cylinder, the one used to display databases. How do I make this P.S. When you put the cursor over the icon it displays a hint saying " databaseTableNameBindngSource - Title" ( databaseTableName is the Table that the Binding source reads from, and "Title" is the column to read from.) This examples can be found in the RSSVBreader , or the My Movie Collection Starter Kit. Please Help ...Show All
Visual C# Cast <IList>
I have something like this... public static IList < AbstractKeyValueEntity <T>> Values<T>( ListBox listBox) { IList < AbstractKeyValueEntity <T>> results = new List < AbstractKeyValueEntity <T>>(); foreach ( ListItem item in listBox.Items) { if (item.Selected) { results.Add( AbstractKeyValueEntity <T>.GetLookupByEntityID(item.Value)); } } return results; } I make a function call something like this something is of type IList something = ( some ) CallFunction .Value< some >(DownList); I get an error saying Cannot implicitly convert type ''some' to 'System.Collections.IList'. An explicit conversion exists (are you m ...Show All
SharePoint Products and Technologies Enabling Site Collection Usage Statistics in MOSS
So, I wanted to view the Site Usage reports on my development VM after reading a post by Joel Oleson . I went to SharePoint Central Administration > Operations > Usage Analysis Processing. I enabled the logging there. Following the further instructions, I then enabled logging for MOSS. This is in SharePoint Central Administration > Shared Services > Usage reporting. I then went to view the usage for my site collection (Site Actions > Site Collection Usage Reports). I was prompted for my username and password 3 times, which was puzzling. It looked like the HTTP Basic authentication dialog. After that I got a page saying "Service Unavailable". Worse, when I tried going back to my site, I got the same message. Che ...Show All
Game Technologies: DirectX, XNA, XACT, etc. File Data structure design
i am trying to create my own game data file, i want to pack all files/resources into a single file, which like "zip"/"cab" does. but i have no idea how to implement this i think the file structure should as below <file_heaher><file_version> <resources_list> <resource_binary> <file_footer> file_header, use to reconize file's type file_version, use to reconize file version, so that can use differ parser if required resources_list, the list of files name so that my program can search for the embed files and locate where the file are stored and the file size resource_binary, queue of file binary my problem was how to record the each file size/information use what as separator in plain ...Show All
