Jonathan Cran's Q&A profile
Visual Studio Team System Add source code that was stored in Beta 3 Refresh to RTM version of TFS
I have provided the source code we developed under TFS Beta 3 Refresh to our customer who is trying to load it into an RTM version of TFS in a different network domain. They have all of the source files. I was told NOT to try opening the solution file up that was built under Beta 3 Refresh, but to instead first add the files to Source Control using the Source Control Explorer. We have a new TFS project that we have loaded that is empty. We select the project in SOurce Control Explorer (NOT solution explorer) and then select File - Source Control - and find that the Add to Source Control menu option is disabled. Shouldn't we be able to add the folders and files this way from Source Control Explorer The user is a member of TFS Admnist ...Show All
SQL Server SQL2005 SSIS - won't allow text delimiters
W2k3 server, SQL 2005. @@version = Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1) I'm trying to set up my first SSIS package to import a flat file to a database table. The connection manager will not allow a text qualifier. My data is comma delimited, with doublequotes around each field. If I enter " as the text qualifier, then I get the error "The preview sample contains embedded text qualifiers ("). The flat file parser does not support embedding text qualifiers in data. Parsing columns that contain data with text qualifiers will fail at run time." The data in Columns view shows as just one column rather than multiple columns. If I leave the text ...Show All
Visual Studio Team System ASP.NET source
Is it possible to analyze ASP.NET source using FXCOP If so, are there any examples out there of how it is done FxCop actually analyzes the compiled binary and not the source. To use FxCop and ASP.NET, we actually recommend using the new aftermarket (free) Web Application Projects . Unlike the Web Site project that comes out of the box with Visual Studio 2005, the Web Application Project produces a single binary (similar to a ClassLibrary project) that can be easily analyzed with FxCop. If you have either Visual Studio 2005 Team Edition for Software Developers or Visual Studio 2005 Team Suite, than analyzing Web Site projects is already provided out of the box. Also you ar ...Show All
.NET Development Unregular behaviour from Type.GetProperties()
After using the Type.GetProperties() heavily (needed to dynamically create types), I noticed weird errors showing up. After investigating this for QUITE a while, I realized that Type.GetProperties() seems to return the public properties of a type in different order (sometimes). anyone know of any documentation if this is supposed or not supposed to happen should one be able to rely on the PropertyInfo array having the members in the same order each time you call GetProperties Hello All. Hans: According to the docs : Remarks A property is considered public to reflection if it has at least one accessor that is public. Otherwise the property is considered private, and you must use BindingFlags.Non ...Show All
SharePoint Products and Technologies Cannot copy a document from one library to another using Sharepoint Designer 2007 B2TR Workflow
I am trying to copy a document from one doc library to another using a workflow task, after the document has been approved. The workflow works except for this step. The form is an Infopath form, and I can manually select the form in the doc library and 'Send To - Other Location' and select the destination location, and the copy is made. I have tried reseting the server, and numerous other things without any luck. In the log file the following error appears: Microsoft.SharePoint.SPException: Cannot lock file "DR-TomTom1.xml". Either the file is in use or the Web server is temporarily busy. ---> System.Runtime.InteropServices.COMException (0x8107020D): Cannot lock file "DR-TomTom1.xml". Either the file is i ...Show All
Visual C# Needing to understand dll imports...
Hi, <code snippet> using System; using System.Data; using System.Collections; using Microsoft.SqlServer.Management.Common; using Microsoft.SqlServer.Management.Smo; class Program { static void Main(string[] args) { BackupDeviceItem bdi = new BackupDeviceItem("AdventureWorks.bak", DeviceType.File); Backup bu = new Backup( ); bu.Database = "AdventureWorks"; bu.Devices.Add(bdi); bu.Initialize = true; // add percent complete and complete event handlers bu.PercentComplete += new PercentCompleteEventHandler(Backup_PercentComplete); bu.Complete +=new ServerMessageEventHandler(Backup_Complete); Server server = ne ...Show All
Visual Studio Express Editions How can I uninstall (and then reinstall) Visual C# Express 2005? I deleted the uninstall registry keys!
I was trying to cleanup my Add/Remove Programs list by editting the registry and I accidentily removed the Microsoft Visual C# Express 2005 item. So now the Visual C# Express 2005 shows up in my Add/Remove Programs but there is no button remove (or change). How can I manually uninstall all of Visual C# Express 2005 (so that I can re-install it ) I've also installed a beta of TorqueX (it's an XNA library) that I can't seem to find but it's listed in my C# templates so I'm hoping to remove that to. Basically I'd like to totally clear my system of C# so that I can start over fresh again. :) Thanks for any help! You'll need to run setup again, it should either detect the previous installation and offer to re ...Show All
Windows Live Developer Forums VE still not working...
My VE Application is not working ... Error: Map is null or is not a object The VEiSDK still not working too... :( []'s Hi John! The version 3, is working...but very very slow! 2 days ago the load process was 100% more faster than today, and the version 4 i can't make it load in my div. Maybe the number of access to the service Because sometimes works good, and othertimes just don't work... thank's!! []'s ...Show All
SQL Server REporting services error
Hi to everybody, I have installed on a windows server 2003 machine with all the last update until 12/10/06 sql server 2k analysis services with all the last update the problem is that when I tray to export the report I recieve this error Reporting Services Error -------------------------------------------------------------------------------- Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown. (rrRenderingError) Get Online Help Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown. Cannot find font ' '. -------------------------------------------------------------------------------- Microsoft Reporting Serv ...Show All
Visual Studio 2008 (Pre-release) emulating a mouse in WPF
Hi, I am trying to emulate a real mousedevice and its behaviour (left click,right click, mouse enter, mouse leave etc) by creating a custom control for it. So far I have not been able to figure out how to implement this. If any one has any experience in this please advice, how I could go about creating this or maybe an altogether different idea for achieving the same would be really appreciated. Thanks I had looked for a method emulating mouse actions in WPF for a long time, but at last, I have to use win32 method SendInput(). I'm wondering why they don't provide a method for emulating click while System.Windows.Forms.Cursor.Position is provided for emulating move mouse. ...Show All
SQL Server SQL2005 Stored procedures don't execute after attach database
While doing maintenance on a development server we detached a database and later reattached it to the same server. For some unknown reason web services execute but return no results. There are no errors reported in event viewer. I connected to the database in Visual Studio 2005 and attempted to execute a simple select statement but it returns no row. It appears to execute the stored procedure but does not return any data. I have cut and pasted the select statement into a View which does execute. Lastly I just created a new store procedure to test the database and it also does not return any rows. This is all very strange. Could use a few suggestions at this point. Larry Additional information: I created a new databa ...Show All
Visual C# Is this a bug of C# IDE
This is the scenario: Open a cs file for editing. Spliting the window. Edit the file in lower part of code window. Then try to rename a variable in upper part of window with typing. Normaly that a rename mark should be shown and with mouse click or shortcut i can activate rename action. But in this case that doesn't show any more. Even when i remove the split of file, or try with diferent variable. That behaviour is lost for good from that point on. I need to close the file and open again to have such behaviour of rename assistance from IDE. Yep, that looks like a bug (I can reproduce). I suggest you log it at http://connect.microsoft.com/visualstudio/feedback/ and post a link to your feedback here so people can vote... ...Show All
.NET Development Sending a Video Feed using a loopback connection "ExternalException Was Unhandled"
Hi, I'm trying to send a video feed, which I am receiving from my webcam, to another application. The former application is a server and the second is a client. The feed has to be displayed on the server side window aswell. Now when i fireup the server (which keeps waiting for the client to connect), and then the client side application, the server gets stuck and the client side application throws an "ExternalException was unhandled" , A Generic Erros Occured in the GDI, Error. When I close the client Application, the server application starts working and showing the webcam feed, (This feed isnt running from the part of the code in the server application where i'd like it to run from; it runs from outside the sending+displaying p ...Show All
Visual Studio Express Editions save apps changes
properties.saveHi there is there any way to save the changes a user has made to the app so when they open the app again it is the same. I have tried stuff like settings.save(); Properties.Settings.Default.Save(); //saves the current settings You could implement that in a Form1_Closing event. Then it will save the settings when the user closes your program: private void Form1_FormClosing( object sender, FormClosingEventArgs e) { //save settings Properties. Settings .Default.Save(); } ...Show All
Visual C# Any tips for locating type info file for COM objects?
Hi, Right now I'm trying to figure out how to get the IDockingWindowSite interface to be available to my C# project. I don't know what file contains the type info that I can import from. The VS IDE has the object browser you can search, but it looks like this only searches loaded types that it knows about. I've ran into this problem before. Please share tips on how to figure this out. Thanks Hi, You can also develop it in C++, then reference the com component in C#. Here is some useful info: http://www.andymcm.com/csharpfaq.htm http://msdn.microsoft.com/msdnmag/issues/02/08/CQA/ http://www.codeguru.com/csharp/csharp/cs_misc/com/article.php/c9065/ Thanks ...Show All
