Ritesh Rao's Q&A profile
Visual Studio Team System TFS Source Control Restore
Hi, We moved our TFS from one machine, to another machine. We backed all our databases up and restored them on the new Server according to the procedure explained on MSDN. Anyway, I saw all my portal documents and Work Items but when it somes to the files stored in Source Control part, I get TF30059:Web Service Initialization Error and nothing shows up. Is there any missing configuration or restore procedure I have made Hi there! I have the exact same problem after a restore-based move from one server to another (same domain). Unfortunately I don't have a solution yet, but you are not alone! After I restored everything (according to the documentation How to: Restore Team Foundation Server Data to a Different Server) and inspected if ...Show All
Software Development for Windows Vista No show on samples
Ok, IE file version of 7.0.5450.4, .Net 3 CTP (as sandbox instructions), card selector no show on samples, fully able to login to Kim's site, can select and send card to sandbox, but site is "Unable to service my request". Why Luke You need to see the AssemblyInformationVersion (open in reflector, and select the assembly, and hit <space>) You should see this for the July CTP: [ assembly: AssemblyInformationalVersion ( "3.0.4307.0" )] Anything other than that, and it's not going to work Garrett ...Show All
.NET Development xml error
I try to load a xml file. When i do i get the fowlling error below Data at the root level is invalid. Line 1, position 1. Cisco < hi > < Spary106914 > < apop > < ActionName > MoveUpRelative </ ActionName > < Parameter > Distance </ Parameter > < Value > 0 </ Value > < Unit > cm </ Unit > < Notes > Click to add notes </ Notes > </ apop > < apop > < ActionName > MoveUpRelative </ ActionName > < Parameter > velocity </ Parameter > < Value > 0 </ Value > < Unit > cm </ Unit > < Notes > Click to add notes </ Notes > ...Show All
Visual Studio Express Editions Searching multiple of Excel Files via Visual Basic
I am writing a program that has to search through a multitude of excel files (42 to be exact). In each of these files I am searching for the same exact string. After finding the string I have to grab 2 more columns of data. This data will then be placed in a seperate workbook. I was wondering what the fastest method of roaming through these 42 files would be and what the code would look like to go through each workbook I know how to open individual workbooks, I just didn't know if there was an easy way to go through all the workbook files without writing a string for each one. The program WILL go through every file each time. Thanks in advance for your help. Private Sub entityButton_Click(ByVal sender As System.Object, ByVal e As System.E ...Show All
Visual Studio Installing GAT/GAX and factories under Windows Vista
Now that Windows Vista is here, I know a lot of people are going to want to run GAT/GAX and Software Factories on the new OS. While it is possible to run these on Vista, there are some known issues with the June 2006 CTPs of GAT/GAX, especially around installation. In order to install GAX, GAT or any current patterns & practices Software Factories on Windows Vista, you should follow these steps: 1. Download the appropriate MSIs (GAX/GAT/factories) and save them to your hard disk 2. From the Start Menu, click All Programs and Accessories 3. Find the Command Prompt icon, right-click it and choose "Run as Administrator". Then accept the User Account Control prompt 4. Change the command prompt ...Show All
Visual C++ error LNK2019: unresolved external symbol _wWinMain@16 referenced in function _wWinMainCRTStartup
I am getting the following error: error LNK2019: unresolved external symbol _wWinMain@16 referenced in function _wWinMainCRTStartup I am building a .NET application (not console). I am using Unicode and I did change the entry point in project settings to wWinMainCRTStartup. Can anyone suggest what might be wrong Thanks, Michael The entrypoint for a CLR console app is _CorExeMain@0. If you need to set this to make your project link/execute properly, you probably started with the wrong project template. You might have some other problems, better redo the project... ...Show All
Windows Forms Limit rows in datagridview
VS 2005 I want to limit the number of lines added in a gridview, can anyone show me the code and which event to place it. Thanks In advance Hope this contribution will help for those who want to limit rows in datagridview... The subrountines simply set AllowUserToAddRows = False if rowcount is greater than allowed number of rows during RowLeave event and set AllowUserToAddRows = True if rowcount is less than allowed number of rows during RowsRemoved. In this example 5 is the max rows that can be enter into the datagridview # Region " dgvContainer_RowLeave" Private Sub dgvContainer_RowLeave( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGri ...Show All
SQL Server Parent-Child Hierarchy but reversed(!)
Hi! I have a report that uses a parent-child hierarchy in a table. It is hidden with the toggle set to itself, and that works perfectly. However, instead of having it look like this(simple example): + Profit After the + has been clicked: -Profit +Sales +Cost I would like it to look like this: +Sales +Cost -Profit Is this possible with when using a parent-child hierarchy http://ssasfreak.spaces.live.com/ Yes. That only works when you have the diffrent levels in different fields. Like this: Level1 Level2 Level2 I use the parentgroup property(for the grouping) with a recordset that looks like this: LevelID LevelName ParentLevelID Any ideas ...Show All
Visual Studio problem connecting to MSACCESS database in crystal reports
HI all, I have a small application which uses the Access database file.I'm using crystal reports to develop the reports.everything is working fine for the first time. 1). when i change the application location the crystalreport viewer is asking for the database file path.I'm storing the database file in the bin folder.Is there any way to dynamically get the address of the database file path,even if we change the application path. 2). if I make a setup of that application is that file will be created with that data while installing the application. or is there any other alternative option for that. looking forward for the solution -GRk Hi , I have solved that problem using dataset. first i'm creating the ...Show All
Software Development for Windows Vista "Logon Unsuccessful" balloon with the CredUIPromptForCredentials API
Hi, I am using the CredUIPromptForCredentials API for displaying a dialog box that will prompt for the user for credentials. I am not sure how to generate the balloon when the user enters an invalid password. I've tried setting the CREDUI_FLAGS_INCORRECT_PASSWORD flag in my call to CredUIPromptForCredentials but to no avail. Any guidance will be welcome. Thanks, Prashanth ...Show All
Visual Basic How to put headers in a listbox
Hi, I am pretty new to Visual Studio, but know enough about SQL. I am working on creating some applications with VB to access my SQL database. I created a listbox that is extracting some data from a table. I am trying to Save that data to a .CSV file, but I am having major issues. I would really appretiate it if someone could help me and explain why my code is not working. I used examples to get to this code, but lack of experience is helping me to get stuck at this point. Thanks!!! Code: Try With sdlgTextFile .AddExtension = True .CheckPathExists = True .CreatePrompt = False .OverwritePrompt = True .ValidateNames = True .ShowHelp = True .DefaultExt = "txt" .FileName = filename .Filter = _ "CSV Fil ...Show All
Microsoft ISV Community Center Forums Hiding the Database Window
Hello. I have been developing a reporting system in Access, and want to hide the database window before distributing the file to the users. I've tried using the settings on the Startup dialog box, and I've also tried setting the "StartupShowDBWindow" property programmatically via VBA, but nothing happens. I don't get any error messages, but the database window stays visible. Any suggestions Thanks Try this: DoCmd.SelectObject acForm, , True DoCmd.RunCommand acCmdWindowHide Put this code somewhere in the start up, or in the initial startup form. This code will actually hide the database window at anytime. ...Show All
Windows Forms N-Tiers application
Hello, Is there a way to build a N-Tiers application in Winforms like the famous toturial for ASP.NET here : http://www.asp.net/Learn/DataAccess/ I tried to use the same way for a winforms application but that's not work. Any idea tutorial Regards, Maybe one of these will help http://windowsforms.net/WhidbeyFeatures/default.aspx PageID=2&ItemID=8&Cat=Runtime&tabindex=5 http://www.windowsforms.net/WhidbeyFeatures/default.aspx PageID=2&ItemID=13&Cat=Controls&tabindex=5 ...Show All
SQL Server Page Break for SSRS 2003
Hi, I've been looking for a way to apply a page break in my report and I've read a few of the solutions presented in the forum. However, to my understanding, they are only applicable to SSRS 2005. Is there a similar hack around the problem for 2003 ok. so i have actually done it. i have created page breaks by combining what andrew provided and what i had read in an earlier thread. and although i had what i wanted, separate worksheets for every page break, the excel file as a whole is still exported with an error. i guess i have to post this in another thread since its another issue. thank you anyway andrew for a swift answer. ...Show All
SQL Server OLE DB Destination fails with illegal instruction
Environment: Server Windows 2003 SP1, VS 2005 I ran into this problem trying to deploy an SSIS package to a development server. I tested by creating a simple SSIS package on the server itself. Two blocks an OLE DB Source block and an OLE DB Destination block. Two tables in the same database, one the source, the other the destination. Connection manager test connection works fine. Package will execute from the IDE (locally on the development server), source block will read the table subcessfully, but when the destination block executes it fails and will stay yellow in the status screen. during the execution SQLDumper.exe is triggered. Analyzing the dump tells me: (2b40.2938): Illegal instruction - code c000001d (first/second chance ...Show All
