John Wadlow's Q&A profile
Smart Device Development Deploy Failed
Hi Developers, I am trying to deploy my sms application on the phone , but cant do so . I get a error saying deploy failed . It was working fine for few runs before . I am building this in VC for smartphone 2003 Can any one help me with it 1>------ Deploy started: Project: SMS, Configuration: Debug Smartphone 2003 (ARMV4) ------ 1>Deployment and/or registration failed with error: 0x80070020. The process cannot access the file because it is being used by another process. 1> ========== Deploy: 0 succeeded, 1 failed, 0 skipped ========== Thanks , Parag Applications on SP/PPC are no ...Show All
Visual Studio Team System Report Server Windows Service login failed
Hello all, I am trying to install TFS application tier and it keeps failing because of "cannot connect to report server database" I have dual server setup and TFS database installed fine on sql server. I tried couple of times with different accounts and it still keeps failing and saying that it cannot connect to report server database. During the installation setup I get the following error message: Error 29105. Team Foundation Report Server Configuration: The Report Server databases were not created. Common reasons for this are that the current user does not have permission to create the databases on the Tea, Foundation ...Show All
Visual C# Use of escape sequences
I want to know when I have to use the \r and when \n escape sequence. I am dealing with the code in which the \r\n is being used. My understanding \r is carriage return and \n newline character. The \r or carriage return takes the pointer to the start of the line and newline starts at next line. What is the advantage of using them both together thats what I am trying to figure out. The link I am giving below has the definitions of the various escape sequences and there are some articles in wikipidea.com about these too. http://msdn.microsoft.com/library/default.asp url=/library/en-us/csspec/html/vclrfcsharpspec_2_4_4_4.asp ...Show All
.NET Development Recursive searches with Regex Class.
Hi! How can I do recursive searches with the Regex class. I know the Sample with the matching Parantheses ()*, but I need it with BEGIN/END blocks e.g. some text begin more text begin even more text end end second part begin text end So the expression should match the outermost begin/end blocks. How can this be done *) \( ( > [^()]+ | \( ( <number>) |& ...Show All
Visual Studio Crystal Reports XIr2 SubReports and VB.NET 2005?
Quick question about Subreports in VB.NET 2005 with CRXIr2. Below is some simple basic code to just print out a report that has 5 subreports in it. Dim crReport As New rptTestInfo crReport.SetDataSource(dsTestInfoReport) crReport.PrintToPrinter(1, False, 0, 0) Up farther in the code I connect to the database. Run my query and get back the info I need. dsTestInfoReport.Clear() 'Make your connection to the database (change location), and fill the Dataset daTestInfoReport = New SqlDataAdapter(stQuery, cnMyConnection) daTestInfoReport.Fill(dsTestInfoReport.TestInfoReport) Ok this all works great. Except when I run multiple rep ...Show All
Visual Studio Why can't I exportsubreports within table matrix ?
Is this a defect or by design The Excel output of the report has this message that states that Subreports within table/matrix cells are ignored. This is known functional limitation of the Excel rendering extension. We are looking into resolving this limitation in a future release. -- Robert ...Show All
SQL Server Modify existing stored procedure??
I have a stored procedure I created in SQL Server 2000 enterprise manager which I would like to modify in SQL Server 2005 Express Management Studio. When I right click on the stored proc and select "Modify", the code opens - however any attempt to save creates a local .SQL file. How can I save these changes to the stored procedure on the server When you open a stored proc on SQL Server (any version), you open up a script with "ALTER PROCEDURE". If you click save, you will be saving this script to the local file system. What you want to do is execute the script against the SQL Server database to ...Show All
Software Development for Windows Vista Win32/MFC: Ownerdraw MenuItem - Never receives ODS_SELECTED
Hi, I've run into a serious problem here with Vista Beta 2 build 5308: When using an ownerdraw menu the menuitem never receives the ODS_SELECTED state. All other states work fine though. Neither my own Win32 code nor any MFC sample code ("OfficeXP Style Menu" and so on) from sites like codeproject.com do work on Vista. But all do work on 2K, XP. Now, Is this a (known ) bug in Vista A driver problem What can i do Thanks in advance, I'm seeing the exact same problem with BCMenu (Brent Corkum) used in commercial apps. I consider this to be a serious bug that they'll have to address in future build ...Show All
SQL Server Microsoft decision tree algorithm
hai ...............all well i've read in Claude seidmann book about Data mining with microsoft decision, that the statistical techniques employed to build the decision trees include: Cart, Chaid and C.45.Could anyone explain to me about cart,chaid and c.45 and how the tree statistical techniques influence the decision tree. thank you so much The decision tree algorithm used by MS is not CART, CHAID, or C4.5 - it's an algorithm developed by Microsoft Research. There's more information available here: "Scalable Classification over SQL Databases" ftp://ftp.research.microsoft.com/users/A ...Show All
Visual Studio Team System Team System Builds and dropping an MSI
Hi, I just started using Team System this week, and I've been able to muddle along fairly well, but I've just discovered something that to me is a real show stopper. And based on the searches that I have done in Google and in these forums, I'm beginning to think there is something fundamental I missing based on the small number of responses to this problem. My problem is that the team system build does not build the Setup projects. I understand that this is because MSBuild does not support them, but I am flabbergasted by this fact. What use is a build system that does not create the fundamental deployment deliverable Obv ...Show All
Visual Basic Data forms wizard in 2005 beta
I have recently moved from VS2003 to VS2005 beta2, and unfortunately I can't find the "data form wizard" in 2005 beta, am I being dumb or is it not included or called somethnig different now thanks Martin Richards Hi, The Data Form Wizard has been replaced by a set of features that allow you to easily display your data on a Windows Form. You can start with topic "Displaying Data on Forms in Windows Applications" on http://msdn2.microsoft.com . Here's the link (may be changed later, search for the topic if that is the case) http://msdn2.microsoft.com/en-us/library/ms171923(en-US,VS.80).asp ...Show All
SQL Server IHTMLDocument2 E_ACCESSDENIED
Hi, Do anyone know why I got the E_ACCESSDENIED error CComQIPtr<IHTMLFrameBase2> pFrameBaseElem( pElemDisp ); if (pFrameBaseElem != NULL) { LONG celem2 = 0; CComPtr<IHTMLWindow2> pFrameWindow; CComPtr<IHTMLDocument2> pFrameDoc; CComPtr<IHTMLElementCollection> pElemColl2 = NULL; hr = pFrameBaseElem->get_contentWindow(&pFrameWindow); if (pFrameWindow != NULL) { hr = pFrameWindow->get_document(&pFrameDoc); if (pFrameDoc != NULL) //Work if the frame src is within the same home address. fails if the frame src is other web site. Thanks ...Show All
Visual Studio Team System Team Suite 2005 RC - Can't run unit tests when web project is in solution
If I create a solution with only a class library, unit tests run as expected. If I add a web project to the solution in addition to the class library, unit tests will not run and I get an error message like this: "Operation is invalid for the current state of the object." Removing the web project from the solution doesn't immediately resolve the problem but by cleaning, rebuilding, and opening the solution from scratch unit tests will work again with only the class library. Any suggestions We have not experienced this problem since moving to the final VS2005 Team Suite. It appears to be corrected in the shi ...Show All
.NET Development IBM.Data.DB2.iSeries .NET Provider - Will it work with VS 2005?
I'm using Visual Studio 2005 Beta 2 (Visual Basic) along with IBM Client Access V5R3. I can't seem to get VB to recognize the native IBM .Net provider. I'm very new to DotNet so that's certainly part of my problem but I'm just wondering if anybody has used the native DB2 provider in VS2005. I know IBM says they haven't tested it in VS2005 but I'm wondering if it works at all. http://www.ibm.com/developerworks/db2/library/techarticle/dm-0502alazzawe/ ...Show All
Visual Studio Team System Avoiding Properties.Settings and Properties.Resources in Whidbey
Heya, I'm creating a custom rule for private class members variables. So far I'm using this code: public override ProblemCollection Check( TypeNode type) ... foreach ( Member member in type.Members) ... if (member.IsPrivate && member.NodeType == NodeType .Field) // Do check Now, the problem here is that I get a lot of attributes which are in the Properties.Settings and Properties.Resources classes/files. Is there a way to check if the TypeNode is one of these classes Now I use: if (!type.FullName.EndsWith(".Properties.Settings")) But I'm not too happy about it... Cheers /Chris ...Show All
