A.J. Smith's Q&A profile
Visual Studio SERIOUS HELP :project.root deleted
Hello everyone I've a VSS problem. SCENARIO I created a VSS DB on win2003 server for a project named cargoreports and got it added by the source safe control in VS.NET on a peer developer's PC. I logged into VSS client as admin the next day to get cargoreports on my local development PC and by mistake I deleted cargoreports.root which i had set as my working folder. So my peer couldn ...Show All
Visual C# C# compiler...
I am working through a C# Tutorial and it tells me to type: csc DrawingObject.cs Shapes.cs ect... however everytime I type csc it returns in cmd that csc is an invalid internal or external command. I have download and installed the .Net SDK, for I was under the understanding that this will allow a user to compile code in the command prompt. How can I get the SDK to compile or is there a free compiler out there that I can use for C# I would d ...Show All
Visual Studio Team System Move TFS to new servers
I have a dual server TFS installation (Beta 3 Refresh). I need to move TFS to a different pair of servers while preserving all of my project structure. What's the recommended procedure Left to my own devices, based on the Beta 3 migration procedure, I'd be inclined to try: 1. backup all the TFS, WSS and Report databases from my current system. 2. attach the databases to the new SQL Server on the DT machine. 3. inst ...Show All
Visual C# time
How do i get the current time in c# Cisco use DateTime.Now and then you can query the dateTime object for all information regarding the time ...Show All
SQL Server Groupings in Matrix Layout?
Hello, I am trying to come up with a Matrix report using RS 2005 that looks like this one below. I have row data: question, columns data: Ethnicity and Gender, detail data: Gender average response and Ethnicity average reponse. I utlilized Report Wizard to create a report in a Matrix format , however I wasn't able to have Gender and Ethnicity column on the same line. The report wizard groups columns so Gender is a subset of Ethnicity ...Show All
Visual Studio Team System Unable to create unit tests...
Hi, I am trying to create VSTS unit tests for my ASP.NET 2.0 application classes which resides in App_Code folder. Whenever I right click on the code editor and select 'Create Unit Test' against a method in the class, the 'Create Unit Test' window does not list my method. None of the methods in my classes are displayed instead it only shows two classes 'ProfileCommon' and 'ThemeLoad'. TFS Version: B3Refresh Any one got into ...Show All
Windows Forms How can I update the dll with new versions in Visual Studio Designer?
I am using Visual Studio 2003 (c# or C++) to build a windows forms applications that has DataGrid and RichTextBox. I have created two (for example) dll, i.e. myRichTextBox.dll and myDataGrid.dll and using these custom controls in my forms application. These dlls have context menu, and some other controls included in it. Whenever I add more controls to these dlls, how can I move and update the latest dll within the Visual Studio designer. ...Show All
SQL Server Shifting past the interim SQL2K
Hi all, I've been working hard to drag my family and the family business into the modern life, took me long enough to get then off a 'coal-powered' Siemens Nixdorf miniframe. Anyway, they went for a package system, on a PC ntwork. Now I've been gradually migrating them again, teasing them (as sometimes you do) with the benefits that could be supplied by my software, written on an SQL 2k back-end. So anyway, we now have a system that ties i ...Show All
.NET Development Warning in VS2005 that an object is being used before it has been assigned a value.
I'm getting warnings that I don't understand for DataReader and Command objects, and I don't know how to use them in a manner to avoid the warnings. Please help. I have several procedures like the following, and the warnings point to the Finally block where I close the DataReader and Dispose the Command. How should this be restructured Thanks you Public Sub MySub( ByRef pageIDs() As String ) ' returns an array of all Pa ...Show All
Windows Forms .NET 1.1 Project With File-Based Reference To A .NET 2.0 DLL Not Working
All-- Please help I have a design that requires that a given .NET 1.1 WindowsForms client application must include a file-based reference to a DLL that was built with .NET 2.0. Unfortunately, I cannot get it to work. The VS.NET 2003 IDE will simply not let me add the reference. Ug. I have tried several tests, detailed below, but I have yet to find an answer. Can it be done If yes, then how can it be done If no, then what is the wo ...Show All
Visual C# Inheritance and custom events
I have a class which contains a public event: public event EventHandler HasChanged; This class is inherited by another class, but the child class does not seem to be able to use the event. The following code: if (mInitialValue != "" ) { if (mInitialValue != this .textBox1.Text) HasChanged( this , e); } Results in the compile error: The event '[The child class name].HasChanged' can only appear on the l ...Show All
Windows Forms Editable Combobox in a datagridview
I'm a little new to this .net stuff so I'm sure this question will be pretty easy. I'm trying to make a combobox editable in a datagridview. Can anyone lead me down the right path thx If you right click the grid at design time and select Edit Columns, the Column Editor will appear. Select the column that you want to have appear as a combobox and change the ColumnType property to DataGridViewComboBoxColumn. ...Show All
SQL Server Remote Database Deployment
We have an application using a SQL 2005 database which we need to deploy to a client. The only we can find of deploying the structure and the data is to perform a backup on the source server and a restore on the destination server. Is this really the best/only way to deploy a database I'd appreciate any pointers. Thanks in advance Hey you asked for a better way of doing it. Think of th ...Show All
Windows Forms possible to use VS 2003 IDE "server explorer" behaviour?
hiya, I really like the way that server explorer: 1) stays collapsed at the left hand side of the screen when it is not in use. 2) expands to cover a small area when the mouse hovers over it. I have a fairly busy winform wher ...Show All
SQL Server How To Avoid Table Scan
Hello All, Is their any way I can avoid a Table Scan by modifying the follow WHERE clause WHERE tbl_mis_Dashboard.loan_active_flg = 1 AND [tbl_mis_Dashboard].[loan_create_dt] between DATEADD(dd, DATEDIFF(dd,0,dateadd(mm,-13,getdate())), 0) And getdate() The field loan_create_dt is indexed on the table tbl_mis_Dashboard. The query returns approximately 256K records which is appropriate and necessary. Thanks all, Orlanzo ...Show All
