mtnanhu's Q&A profile
Visual Studio Team System Use VSS after installation of TFS MSSCCI provider
Is it possible to use VSS in VS 2003 and VB6.0 after installation of TFS MSSCCI provider We have moved few source libraries to TFS, but not all. Perticularly, VB6.0 code and other deployed code snapshots are still in VSS, which we do not want in TFS. Thanks, yes you can, but you have to have one or the other enabled at one time. Normally its a pain to switch back and forth, but luckily someone wrote a pretty cool utility to switch between the different registered source control providers. I know it works well with vs2003, bit I haven't tried it with vs 6.0 http://weblog.kilic.net/tools/SCPSelector/ ...Show All
SQL Server SQL server installation, books online trouble
Hi there, It is my second post in this NG on the same issue I am attacking after a break. Thanks to Boris B. I investigated my setup in detail but am unable to get ahead. In short, my objectives are: (1) understand thoroughly how SQL server works, (2) understand command structure (3) find out where GUI is and how to use it. (4) get books online I should say that I have installed SQL Server 2005 Developer Edition CTP from a DVD. It is a 32-bit beta software. I got it as a part of my MSDN Pro subscription. I do have two icons now on my desktop: SQL Server 2005 Surface Area Configuration manager and SQL Server Configuration Manager. I have DTS ...Show All
.NET Development Route add with C#
Hi, i need to add a persistent route to route table of os with c# and controlling if it's present, simply like command: "route -p add xxx.xxx.xxx.xxx mask 255.255.0.0 xxx.xxx.xxx.xxx". How i can add a persistent route with c# Thanx Use this code to add route: using System.Diagnostics; Process p = new Process (); p.StartInfo.UseShellExecute = false ; p.StartInfo.FileName = "route" ; p.StartInfo.Arguments = "-p add " +ip+ " mask 255.255.0.0 " +ip2; p.StartInfo.RedirectStandardOutput = true ; p.StartInfo.StandardOutputEncoding = Encod ...Show All
Visual Studio Team System Error: Additional code analysis warnings or errors cannot be displayed
I'm getting a couple of errors consistently when I enable Code Analysis on my ASP.NET Web Project in VS 2005 RC1. The build fails, and around 200 warnings from FxCop are displayed. Here are the errors: Error 204 CA0503 : Additional code analysis warnings or errors cannot be displayed Error 205 FxCopCmd.exe returned error code 8. I looked up error code 8 for FxCop, and found it to be an "Assembly load error". It did give me a couple of other errors related to the loading of external referenced assemblies (which do exist locally): Error 1 CA0055 : Could not load XXXXXXX.d ...Show All
Visual Studio Team System manually remove a (failed creation) project
Hi, I tried to create a new tfs-project, but got a very strange error message (see below). But I need to be able to reuse the name! So how can I manually delete all traces of this project-name (or rename it in the DB, so the name is not recognized anymore ). I think there is some kind of project-removal console-app, but last time I tried that, it could not remove such zombie-projects. ---begin Exception entry--- Time: 13.01.2006 17:20:39 Module: Engine Event Description: TF30162: Task "VersionControlTask" from Group "VersionControl" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Messag ...Show All
Windows Forms How to make shore an app can't be used on another server
Hi all, This is an question that maybe as already been at discuss, but i can´t find any result about it. So, if i develop an complete Win32 app and deploy it with Server and clients different projects, how can i be shore that anybody can´t just copy all dll's and exe's to another server I.e. after installed, how to make shore that this ...Show All
Windows Forms Reading/Writing to Icon Library format (.ICL) in VB.NET
How would I go about reading from, writing to and creating an Icon Library (.ICL) file I have the icons stored in an imagelist, and from what I remember you cannot save an entire imagelist to one file, but is there some other way to do this I want to be able to save and load an icon "worksheet" so when I look for icons I don't need to always search for them. I can have them in one file and pick and choose which ones I want to save individually. Thanks. Gerard ...Show All
Visual Basic Comments Preceding Code On Single Line
Most modern languages allow for typing a comment within a line of code. VB.net seems to only allow whole lines, or comments after code, as it uses an EOL(End of Line) delimiter as the end of the comment. Does VB.net have a way to put a comment within, or at the beginning of a line of code Even if that means using an EOL character(does vb.net have one ) This is an example in C of what I want to do in VB.net /*Comment1*/ cout >> "Hello World" /*Comment2*/ << endl; /*Comment3*/ This line above still compiles. No, I'm not. I just know for sure that you can do it in C#. I've ...Show All
Visual Basic Encrypt in VB6, decrypt in VB.NET? (and vice versa)
I use DES Encrypt and Decrypt routines in VB.Net2003, using System.Security.Cryptography - something like: Public Shared Function DESEncrypt( ByVal strKey As String , ByVal strData As String ) As String Dim strValue As String = "" If strKey <> "" Then ' convert key to 16 characters for simplicity Select Case Len(strKey) &n ...Show All
Software Development for Windows Vista Problems creating the interop library for managed Exchange sinks
Hi there. I followed the instructions on [1]: - Downloaded the sample distribution from [2] - (Since I didn't own Visual Studio) Installed the current MS Windows Platform SDK - Installed .NET 2.0, SDK - Entered the Interop directory, run <platformSDKdir>\SetEnv.cmd and nmake - Got this: C:\Programme\Exchange SDK\ManagedSinksWP\Interop>nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. md .\obj Ein Unterverzeichnis oder eine Datei mit dem Namen ".\obj" existiert bereits. &nbs ...Show All
Visual Studio Team System Error with MSBuild and Hatteras client
Here's a chunk of my buildlob.log file. Is anyone having problems like this Using "CreateWorkspaceTask" task from assembly "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Hatteras.MSBuild.dll". Task "CreateWorkspaceTask" C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamBuild.targets(86,5): error MSB4018: The "CreateWorkspaceTask" task failed unexpectedly. Microsoft.VisualStudio.Hatteras.Client.MappingConflictException: The path D:\ColwebAutomatedBuild\COLWEB2\Just Build\sources is already mapped in workspace TFBUILDSVR_COLWEB2_Just Build. at Micr ...Show All
Visual Basic Get information from database
Hello I was using Visual Basic 6 and when I want to get information from a database, I write: Dim Con As New ADODB.Connection Dim rst As New ADODB.Recordset Set Con = New ADODB.Connection Set rst = New ADODB.Recordset Con.Open "Provider=MSDataShape.1;Extended Properties='Jet OLEDB:Database Password=111';Persist Security Info=False;Data Source=D:\Programs.mdb;Data Provider=MICROSOFT.JET.OLEDB.4.0" rst.ActiveConnection = Con rst.Open "Select tab1.* from tab1 wehre tab1.Name='Example'" MsgBox rst.Fields("FileName") When I wrote that in VB 2005, it said about this line (MsgBox rst.Fields("D ...Show All
Visual C++ Print Prevew, CPreviewDC Issues
I have derived a class from CPreviewView for PrintView. I want to use one of its member named:"m_pPreviewDC" which is object of CPreviewDC. Now I want to use this member in my derived class but want to use it with a Class not derived from CPreviewDC. Is it safe and recommended method. Can some1 plz explain me the reason why CPreviewDC has been used not CDC Best Regards, P.S: If its wrong forum plz dont angry and kindly tell me the correct forum where I cud get a feasible soln. regarding these kind of problems. The answer to the first part of your question is: Print Preview gets ...Show All
Visual C++ visualizing #include tree graph dependency
I put all those words in the title to facilitate people's future searches. My question is: does anyone know of a visualization tool that will show which files include which I found text-based ones (e.g. Includes by adonovan@lcs.mit.edu ), that parse one .cpp file at a time. Is there anything out there (free or commercial) that handles the whole project with its VS2005 setting so that it runs in the same environment as the VS2005 compiler Thanks. Aner Ben-Artzi wrote: I put all those words in the title to facilitate people's future searches. My question is: does any ...Show All
Windows Forms To update a combo box collection
Hi. In the form that i made, I have a combo box that shows a list o directories thay I need to use in the aplication. When the application starts up it executes a procedure that updates the collection of that combo box with the name of all the directories names that I need. In order to update the combo box, I craete a While procedure like this: While a < My .Computer.FileSystem.GetDirectories( "\\172.17.1.7\comum\AA_Ficheiros Comuns\AA_FOTOGRAFIAS\" ).Count scu = My .Computer.FileSystem.GetDirectories( "\\172.17.1.7\comum\AA_Ficheiros Comuns\AA_FOTOGRAFIAS\" ).Item(a) GestorFotos.Frm1.CboSuc.Items.Add(scu.Remove ...Show All
