mattdawg's Q&A profile
Community Chat media
removed ...Show All
Smart Device Development revise app after making cab file
Noob question...I have developed an app, made the cab file, installed it, noticed some changes I want to make to the app. What do I do about the existing cab file in the solution as far as do I need to name my next one something different, do I make revisions in the code and then just add another cab file to the project, and what will happen to the old cab file if I make a new one in the solution/project Thanks. SonicSue I’m not quite sure I follow… If you have a project which builds CAB you just build that project to get updated CAB. Similar, you just build your executable project every time your change the source code instead of creating new project with the same name every time. ...Show All
SQL Server dts only selected rows
I have to dts rows by timestamp. For example if my dts downloaded at 10 am then in the next run i want to grab rows updated in the AS400 after 10am. what is the best way to go in ssis thanks... kushpaw There is a timestamp field in both sql and as400 tables. I can select the last timestamp from the destination table and query source for that timestamp. Is that what u mean -kushpaw ...Show All
.NET Development XslCompiledTransform and xml namespace
Having trouble performing a XslCompiledTransform on an xsl file because the xml file has a xmlns="http://www.abc.ie/cv/1.0" declared within it. Is their any way around this like declaring a XmlNamespaceManager like what is available for XmlDocument. here is the xml file < xml version="1.0" > <cv xmlns="http://www.abc.ie/cv/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="Schema.xsd"> <personalDetails> <name>Joe Soap</name> </personalDetails> </cv> You have to define the "cv" prefix and bind it to the " http://www.abc.ie/cv/1.0 " namespace: <itext xmlns:xs ...Show All
Visual Studio Team System team architect edition - where can i download trial?
Hi, We have TFS set up in our office, and now I am trying to get a hold of a trial version of VS Team Architect Edition to play with the new designers etc. On the architect homepage ( http://msdn.microsoft.com/vstudio/teamsystem/architect/ ), there is a link to 'get the trial edition', but this takes me to the main visual studio trial page ( http://msdn.microsoft.com/vstudio/products/trial/ ), and when i download and install this, all that is available is the developer and tester tools (no architect tools). Can someone point me to the correct location to download the Team Architect Edition Many thanks in advance, Gordon Doherty I have installed the "Visual Studio 2005 Team Edition for Software Developers" yet ...Show All
.NET Development Moving Items in Array List
When i add an item to my array list...its starting at the 2nd postion because there is already something in my [0] and [1] positions but i need to take whats in my [1] position and move it to my [2] postion and whats in my [2] positon i need to take to my [1] postion....i tried it like this but it does not work...any help if ( this .tempOrderManifest.Count == 2) { this .tempOrderManifest[1] + 1; this .tempOrderManifest[2] - 1; } with the help of "Reverse" method in ArrayList, we can interchange 2 values as per your need EX:- ArrayList a = new ArrayList(); a.Add("az"); a.Add("by"); MessageBox.Show(a[0] + "," + a[1]); a.Add("cx"); a.Add( ...Show All
Visual C++ creating a System::Diagnostics::Process^ from a HANDLE to a process
i have a HANDLE to a process, but i need to create a Process^ from the handle so i can do more advanced stuff with it thanks in advance IF you can get the process id from the process handle, then you can use this .net function: http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.getprocessbyid.aspx There's a recently introduced function in the Windows API (see Requirements) that gets the id from a handle: http://msdn2.microsoft.com/en-us/library/ms683215.aspx ...Show All
Visual Basic Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring It's happening consistently for me any time I try accessing a remote site. The site was working yesterday, but when I got in this morning, I am unable to access it via VS 2005. I can get in fine using 2003, though. If I resolve t ...Show All
Visual C++ linker .pdb file limit / dual core multiple simultaneous compilations
We have a makefile based project. For enhanced functionality and portability nmake has been replaced with gnu make. To improve compilation performance I've set up make to spawn two compilation processes at a time for our dual core machines. On my mid sized test package this gives a "slight" performance increase. A full clean and recompile goes from 12 min 15 sec to 6 min 40 sec when spawning two compilations. Quite a lot better then I had expected. But simultaneous compilations causes problems with .pdb file generation when both processes try to write to the same file, so I've had to use the /Fd option to create individual .pdb file for each .obj file. This comes at a cost of, in this test case, 307 MB of extra .pdb files. Not go ...Show All
SQL Server SQL 2000 Agent
I have a job which runs a stored procedure every minute - the stored proc usually takes about 10-15 seconds to run but sometimes it can go over 1 minute. What happens if the job is running and takes more than 1 minute to complete - will the job start again and run concurrently with the first instance of the job Or will this cause problems No, it won't. SQL Server Agent won't kick off a job if the job is already running from a previous schedule. This ensures that a job can't be executing multiple times, at least by the scheduling engine. ...Show All
Visual Studio Sandcastle stumbling over WSE 3.0
When I try to build the .chm file I get this error. Could this be that S/C can't find WSE 3.0 on the box If that is the case, how do I inform S/C as to where it is MrefBuilder (v2.2.61208.1447) Copyright c Microsoft 2006 Error: Unresolved assembly reference: Microsoft.Web.Services3 (Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) required by Microsoft.Ccf.Adapter BUILD FAILED: Unexpected error in last build step. See output above for details. I can't say for sure, but it could be case where the dependency it is trying to load may be dependent on something else that hasn't been loaded yet and isn't in the folder so it's failing because of tha ...Show All
.NET Development [C# Windows Service] Getting the absolute path of a config file
I have a Windows Service which tracks the performance of the database and application server and based on some user defined values which is lifted from a user defined XML config file, the performance of the servers are benchmarked against these user defined values. Now the problem is that i was having the config file in a fixed location (C:\UserConfig.config) and I hard code the location into the XMLTextReader XmlTextReader reader = new XmlTextReader(constObj.XML_FILE_PATH); As per the requirements, the config file should be along with the solution file and as the position of the solution file can change, i am now not able to hard code those values. I tried the Path class from the System.IO namespace strin ...Show All
Software Development for Windows Vista How to Get Bounds of InkCanvas (Strokes+Elements)
Hello, What is the preferred way of finding out the bounds of InkCanvas (or another FrameworkElement) that includes all children and strokes I can get Strokes.GetBounds() for strokes but can't seem to find a similar function for elements - may be I am not looking at the right place. Thanks in advance. Regards, Vinay Agarwal This function seems to be what I am looking for, but I haven't tested it. VisualTreeHelper.GetDescendantBounds Vinay ...Show All
SQL Server List CRM entity attributes and data types
Hi, I am using CRM 3.0 and have a requirement to list all the the tables, attributes names and display names and datatypes. Is there any easy way to export this information from the CRM tool or prepare a SQL query that will list the information You are kind of in the wrong neck of the woods, but I will try to give you a bit of help (there is a page here to go to the Microsoft Dynamics newsgroups http://www.microsoft.com/dynamics/community/newsgrouplanding.mspx ) Most of this information is available in the METABASE database in the entity and attribute tables. Not 100% sure if the display names are exactly right. They might actually be maintained in an ugly XML document. ...Show All
SQL Server SSRS can't log in using Management Studio
Hi, I have serious trouble trying to log in to SSRS using Management Studio. I have installed SSRS to existing named instance of SQL 2005 than I have configured it using Reporting Services Configuration tool. At this point some thing was not OK as initialization button is grayed out (although it indicates that initialization went OK). At this point everything seems to be OK the reporting site is available through web browser. Alas when I’m trying to log in into reporting services using Management Studio I get error “Unable to connect to remote server. No connection could be made because the target machine actively refused it (System)” I was trying different authentication methods and different configuration. I was trying to set up permi ...Show All
