Chris Treadaway - MSFT's Q&A profile
Smart Device Development Active Sync 3.8 not synching
Hello to all, I have upgrade activesync from version 3.7.1 to 4.0 in order to deploy my application in VS2005 beta2 to the device. After doing that, activesync stops to work: although the AS icon show connection (green) when the PDA is in the cradle, is is not possible to get the main screen of activesync ; and, when trying to explore the device, I get the following error window: " Critical communications services have failed to start . Try resetting the mobile device, and then connect again". To get worse, I have uninstalled AS 4.0 and went back to version 3.7.1. The problem still is there! In fact, I have tried (wi ...Show All
SQL Server help on SELECT
Help on creating correct select query on the following table where customer = multi-race ( that is, customers that have value ‘1’ on more than one race category) Thanks! CustomerID Black AmIndian Asian White PacIslander Hispanic NoRaceDisc 32501 1 1 32677 1 35062 1 1 35261 1 36490 ...Show All
Visual C# Implement "file download" in C#
Hi... I am writing an application where I have a button. When the user clicks the button, data is read from a database and a text report is generated. Additionally, I want to have a file download dialog box appear to allow the user to save the report to his hard disk. I tried using the following: strFileName = Request.QueryString("file"); Response.ContentType = "application/octet-stream"; Response.ContentType = "application/x-download"; Response.AddHeader("Content-Disposition", "filename=" + strFileName); Response.WriteFile(Server ...Show All
SQL Server is it possible to know whether report still executing
Hi friends i've .net app where display reports from report server using SOAP api. all works fine. my question is, i have a export button on my screen to export to different formats. whats happening is , as you know, when load report it says "report being generated" ,right so our users clicking export button before report is loaded into report viewer control. is it possible to know whether the report is still being loaded Thanks for your help Are you using winforms or webforms With the winforms ReportViewer control, you can use the RenderingComplete event. If you are using webforms, there is no client side event that e ...Show All
Smart Device Development wifi + phone
Hi, i have a Samsung i730. According to Samsung, the phone is designed so that Wifi can be used when the phone is on (i.e. you should be able to recieve or make phone calls while the Wifi is on). the phone shipped by Verizon does not allow this. This implies it may be a vendor specific implementation. To determine this, i would like to do the following: there is a phone.dll i found in the devices /windows directory. i cannot copy this file to my local pc because it is in ROM and when trying to copy, windows complains it cannot copy from ROM. how can i copy this file to my PC would i be able to look into this dl ...Show All
.NET Development HTTP status 407: Proxy Authentication Required +ISA Server
Hi, We're getting the follow exception thrown when calling our web service: System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). I've found this article, but the problem is we don't want to edit machine.config as a pre-req. http://support.microsoft.com/ id=307220 So does anyone know how to replicate these attributes through code Thanks. I don't want to do this: NetworkCredential nwkCred = new NetworkCredential("username","password","domain"); myProxyClass.Proxy = new WebProxy("p ...Show All
Software Development for Windows Vista Vista download
I signed up fro beta testing but can someone let me know where to get the beta or the file name I need to download robc180 wrote: I signed up fro beta testing but can someone let me know where to get the beta or the file name I need to download ...Show All
Windows Forms Controlling printers
(sorry for the cross post , put this in wrong forum on first attemt) I have 2 printers hooked up to a machine running my winapp (vs.net / vb.net). I would like to be able to print to a non-default printer directly from my app. I need to be able to select the printer from the code and print accordingly. I will know at the time of coding the two printers names and would not like the user to have to make the printer selection but rather just have it print without prompt. Any ideas Thanks! David ...Show All
Visual Studio Team System Doc chm of FxCop 1.32 and Online Document with problems
Hi All, I'm having problems with projects where are more than 8 rules. My rules stop running and neither the debug runs anything. I am using fxcop 1.312. So, I tried to upgrade the program to fxcopy 1.32. But there are a lot of differences between those versions. So, I downloaded fxcop.chm from the gotdotnet site. But it is with erros in all windows when you try to read a topic of it. I tried to see online documentation of fxcop 1.32, but when you get the url in gotdotnet, the title is fxCop Documentation 1.312.0. Is it correct I am trying to understand what is happening with my rule project cause it runs only with a few rul ...Show All
Visual C# Replace main node name
This might be a simple question.... I have an xml file: < xml version="1.0" encoding="UTF-8" > <Content> <Element1>ele2</Element1> <Element2>ele2</Element2> </Content> I want to replace Content with Page in my C# application and I tried: XmlNode firstNode = xmlDoc.SelectSingleNode("Content"); firstNode.LocalName.Replace("Content","Page"); Obviously I am doing it wrong or not understanding it properly, so, I am not getting the desired output. What is the correct api that I should use hi, the problem in the code tha ...Show All
SQL Server Convert numbers to Month Name
I have a stupid field in my database that doesn't hold a date but I have to use it to determine the month in my Chart in SSRS 2005. So for example, check this out: http://www.webfound.net/chart_months.jpg Ok, so how can I change those numbers to the Month Name I tried MonthName() around my field in the expression builder, but that's only for a datetime field. Hi, Just try =Monthname(1) or =MonthName("1") Is it working. then assign your field values. the second statement also works. Amarnath ...Show All
Visual Studio Team System Is it possible to have multiple configuration in Single FXCop project file.
Hi, In our regular Visual Studio project, we can have multiple configurations like Debug, Release, Albha, Final Release. The same way, is it possible to have multiple configurations in FxCop Project, like Begining of the Development time - I want to include only subset of the rules, even in Naming rules, include only subset of naming rules. At my 2nd Stage of development, I want to use different set of rules to be included. I could do this now by manually selecting and unselecting those rules check box. Is there a way to configure automatically If not, It could be an additional feature to FxCop tool Thanks Charles For more ...Show All
.NET Development SqlDataSource Output Parameter
I have an SqlDataSource.InsertCommand that uses an SQL Server 2005 stored procedure that returns a success or failure message in an ouput variable @return_message. This works fine in Visual Basic.NET 2003, but I can not access the value of the output parameter in Visual Basic.NET 2005 and ASP.NET 2.0. The code looks like the following: Me.lblMessage.Text = Me.sqldsAddSwitch.InsertParameters.Item("return_message").ToString This just displays the text "return_message". It is not giving me the value of the parameter, just the name of it. In Visual Basic.NET 2003, I can use .Value, but it does not seem to be valid in Visual Basic.NET ...Show All
Visual Studio Team System Team Project Creation failed because of some user account problems
I used a single-server mode and encountered the following error: Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.Reporting plug-in used to create the new team project could not be initialized and returned the following error: TF30224: Failed to retrieve projects from the report server. Please check that the Yukon Reporting Web and NT services are running and you have sufficient privileges for creating a project.. User Action Contact your Team Foundation Server administ ...Show All
Windows Forms printing in order
Solve one problem- create a different one. OK- I can send all of the files in a directory to the printer but now that problem is that if the files are of a different type-- such as pdf and doc - the doc files end up at the printer first even if I send the pdf's first. so if I send pdf1 then pdf2- pdf3 - d ...Show All
