subansuba's Q&A profile
SQL Server Disabling Product Feedback on en masse deployment?
Hello. After installing SQL 2005 Enterprise (MSDN-version), I was greeted with Product Feedback pop-ups on opening SSMS. I'm all about product feedback (hence why I'm here), but before I deploy a final/non-MSDN version to lots of users, I was wondering - if this also occurs with the non-MSDN version - if there is a way to pre-disable the feedback options I assume you're referring to the Watson and SQM messages, which I think is the final screen of the Setup process. This is present in all versions of the product. One way to disable the pop-up is to do a command line install, specifying an appropr ...Show All
Visual C# Design of 'this'
Hi All, I seek a clarification in the design of the 'this' keyword in C#. Let us consider this bit of code- class Test { public Test() { Test t1 = this ; } } This is fair enough,it works-memory for the instance of Test has been created and Test1 has been made to point to the current instance.Fine Contrast the above to the following code class Test { Test t1 = this ; public Test() { } } This gives an error saying that 'this' is not valid in the specified context.Why Would the code in the second example not be equivalent to the code in the first example Lets ...Show All
Visual Studio SS 2005 Get and Get latest error
im using vpn to connect to SS database , via drive mapping and then set up https access to source safe 2005 successfully and its working perfectly. Now I can work while disconnected from VPN The only problem is that when I select the project and click get or get latest, the error appears saying , --------------------------- Microsoft Visual Studio --------------------------- The current source control operation cannot be completed. The source control plug-in returned the following error: Item does not exist. --------------------------- OK --------------------------- I have tried connecting to VPN and then doing get latest and ...Show All
Visual Studio Express Editions ListView sorting question
Hi I have a ListView control called HSlist on a form which has 3 columns. The adding data seems to work OK, but the sorting is weird to say the least. Initially, I thought that the list would be sorted on the contents in the first column, so I added to the ListView with the Item containing the data that I wanted the list to be sorted on (numerical). Then I found that the list was being sorted on the second column (strings), so I swapped the adding routine so that the numerical data was now in the second column - the list now was being sorted on the first column (strings). What I want, is either to be able to dictate which column the ...Show All
Visual Studio Problem building the MyTestSample application
Hi When building the MyTestSample from the the extendability SDK download I am unable to locate the following references microsoft.visualstudio.commonide microsoft.visualstudio.qualitytools.common microsoft.visualstudio.qualitytools.executioncommon microsoft.visualstudio.qualitytools.tips.tuippackage microsoft.visualstudio.qualitytools.TMI microsoft.visualstudio.qualitytools.vsip I installed the SDK. Is there anything else I must do to build projects using it Team System Test Edition http://forums.microsoft.com/msdn/ShowPost.aspx PostID=17975 in Microsoft Technical Forums Visual Studio Team System Visu ...Show All
Visual Studio Express Editions StreamReader problem
I need to find out how to display the last 128 characters of a text document. I've tried using StreamReader to get the whole file but I only need the last 128 characters. Here is my code so far: <VB.NET 2005> Private Sub Button12_Click_1( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click If ListBox1.Text = "" Then MessageBox.Show( "No File Selected" , "Error" ) Exit Sub End If Dim sr As New System.IO.StreamReader(ListBox1.Text) Dim WholeFile As String = sr.ReadToEnd() Dim LastDigits As String = "" Dim Index As Integer ...Show All
Windows Forms (1)How to refresh datagridview without rebinding; (2)Selecting a partilcular Row
I am facing the following 2 challenges. Context : I have three dataGriDViews. These are relational in the following hierarchy ProjectLabel ProjectRelease DeliverableIdentifier These grids have their respective binding sources defined. I am getting the data in a DataSet. The 3 tables in the dataset also have their relationship defined. (1) I am adding data for these grids thru 3 respective textboxes, and fetch the dataset again. How do I refresh the data in the Grids without rebinding I have tried the commented code below but doesn;t work Hence I have to   ...Show All
Windows Forms How do I access application or user settings in Click-Once deployment
Hi, I have Windows forms application which I deploy using Click-Once. I have used Settings properties for project to create some settings. I noticed that after using it project have app.config file and settings files now. After clients install application using click-once where do I find settings for my application on clients machines I searched for app.exe.config file but can not find anywhere on client machine Hi, To access you settings via code use My.Settings for vb projects and <assembly_name>.Properties.Settings.Default for C# and J# projects. Visual Studio automatically generat ...Show All
Visual Studio Express Editions need some help
first of let me say hi,Well im only 14 years old and will like to learn how to program in c# but im kind of dum for this so if you got any tutorials that can help me pleaso tell me our if you got sujestion do so 2 I just wanted to add my thanks also! I've actually been coding C# for about a year in the business environment, but still feel very much like an amateur, but I think the links you provided will be very beneficial to me and hopefully open my eyes to another world of C# development! Thanks! ...Show All
Visual Basic How to center MDI child Form ?
Hai Experts, How can i center MDI child Form in its Parent MDI from Without using the size of MDI parent form. i don't want this- ParentMDIFormwidth/2-MDIChildWidth/2 Is there any method can you please teach me how to do it I copy and paste the code, and when I run the program that block of code became a red text... ...Show All
Visual C# Unable to update the dependencies of the project
I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. I need a little more information to try to narrow things down. I should mention that there do seem to have been similiar problems reported before [ ...Show All
Windows Forms Copying props from a control to another
I`m looking for a clever way to copy a design from a control to other controls. I`ve written a button control with a LOT of options for the design: Color, gradient, hatch, border, buttonstates etc..etc.. What I want to be able to do is edit ONE of the buttons placed on the form, and if I`m happy with the result, somehow copy the design to the  ...Show All
Visual Studio Express Editions Blue Screen
I have just installed the Visual C# 2005 Express Edition, and as i started to use it, all of a sudden i would get a memory error BLUE SCREEN, and my computer would restart. These errors will occure for no aparent reason. I do not know why, if anyone can help, i would be very grateful! Thank you for your time. Daniel: Can you provide more details, like: What version of Windows What type of PC, how much RAM, etc. Any special hardware installed Does the problem happen with any other applications Michael Blome/VC# Documentation Manager ...Show All
SQL Server Dynamic Database Source Changing
Hi, I am building a data warehouse for a customer who has systems located in two different countries. I need to import that data from four seperate databases, which all share the same structure. To do this i have created 20 packages to import that data from the source database. What i would like to do, is at run time set which database the SSIS package should get its data from. In sql 2k this was easy with a global variable that was set, then use a dynamic properties task to set the data source. How can i achieve the same result in SSIS the data source is an ODBC connection, with the four ODBC connections having similar names, ...Show All
Visual C# Suggestion C#
Hi, I have knowledge in C# without ASP.NET. I have SQL database & I want to share this database with 100 clients. I want to develop a cient server application intstead of web application to do my job. Are there any performance issues I may face Please suggest with your own ideas. I don't think you will have problems in developping your application If access databases are corectly coded, then all will be fine :) ...Show All
