Amitps's Q&A profile
Windows Forms TabControl changing TabPage
Hello, After clicking a button on the first page, I do some processing, then I want the user to automatically be directed to the second tabpage. How do I do this programmatically Thanks. Did you try something along the following line tabControl1.SelectedTab = tabPage2; ...Show All
Visual C# MS VS 2005 IDE Code editor
Hi there, is there any way to consume VS 2005 Code editor from within my app If you are just looking for the pretty colors when editing code (and not using Intellisense), then you could look at a little app called Notepad2. It's like notepad, but is has syntax coloring for C#, XML and more... ...Show All
SQL Server How can I attach database files from outside the local server?
Hi,all here, I got a problem that I can only attach database files created on my local server, while database files from outside the local server cant be attached. So what is the problem then Thanks a lot in advance for any guidance and help. it happened to me that I was not able to re-attach database when logged in to the server under login B, different from login A used to detach the database. Login A also happened to be a dbo for this database. try this: 1) re-attach the files to their original server, 2) create a new login that log in using SQL authentication, 3) set this login a dbo for the database you are tran ...Show All
SQL Server SQL Server - Data Mining - Memory Issue
HI ALL, I perform Data Mining using Sql server 2005 CTP and it takes around 1.5 GB Memory to run.. I did try remove all optional components specified in the SQL Server Area Configuration...It did reduce to 256MB but again after couple of reboots the sqlserver is back to its 1.5GB mem space... Just cant work on the machine...all resources are sucked up by sql server 2005.. How can I manage this Beafy Demon All suggestions welcome, Please help..... Thanks! Please provide more details about what exactly you are doing. Include which CTP you are using and what steps you followed in order to do data mining. Thanks -Ja ...Show All
Visual Studio Team System Cannnot Connect to TFS
I have TFS setup in a Single-Server environment on a server within my companies domain. Today, I tried to connect to TFS and received the following error in an alert box: Team Foundation Server TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server <servername>. The Team Foundation Server returned the following error: The request failed with HTTP status 503: TF30059: Fatal error while initializing web service. I cannot connect to TFS locally either. As of last Friday, everything worked fine. I did notice when I tried to connect to the server via RDP today after I received the initial error that t ...Show All
SQL Server DTS Packages in SQL 2005 - what are they now, etc
OK - so it looks like DTS Packages are "legacy". I installed the component to be able to edit and run them from SQL 2005 Management console and that seems to work fine. (I haven't acually run my packages yet, but at least I can open and edit the dang things). And I also migrated the existing ones from the networked server on which they lived (which is still running SQL 2000) to my local server (which is the one on 2005). So assuming I want to do the new methodology - what IS the new methodology Where are the migrated packages I looked at all of the links in the SQL Management Console for anything that references these newly migrate packages ...Show All
Smart Device Development VB 2005 Smart device HRESULT E_FAIL COM failure
Attempts to create a new smart device app with VB 2005 compiled for PC 2003 or Win CE 5.0 result in an immediate error message of: "HRESULT E_FAIL has been returned from a call to a COM component." No other info about the error A console VB app ( not smart device) can be created and compiles correctly. This is a very basic scenario and should be working fine. Can you please provide the following information so that we can narrow down further to see what is happening with your install of VS 1) Build of VS you are using (Beta2 or RC0 or RC1) 2) Does it happen when you try to create smart device app for VC# 2005 3) Does it happen fo ...Show All
.NET Development .Net 2.0 and 1.1 in same environment?
Hi Is there any problems in installing both .Net framework 2.0 and 1.1 on the same machine, and running both 1.1 apps and 2.0 apps on it Regards Anders No problem, you can have as many frameworks installed simulateously as you want ...Show All
Software Development for Windows Vista ASP.NET sample with WWF Beta 2?
Hi: So far almost all the examples of ASP.NET Hosting WWF are for Beta 1. I wonder if anybody has a link to an example demonstrating ASP.NET hosting WWF. I know the main site has a very simple example but I am concerned about page flow and how that's controlled by WWF (or controls WWF) THanks Hi, Since this post there have been some new examples posted out there. Check these out: http://msdn.microsoft.com/msdnmag/issues/06/04/CuttingEdge/default.aspx http://msdn2.microsoft.com/en-us/netframework/aa663328.aspx -Angel ...Show All
Visual Studio Package didn't get reload when openning an existing project.
I have a package that privdes my own project type and some commands. I need to query the status and enable my commands accordingly when the package gets loaded. I did it by following VS documentation to create OleMenuCommandService in Initialize function. It works when I create a new project. But when I open an existing one, the package doesn't get loaded until you do something, then my commands didn't get enabled when it should be. I don't want to autoload the package, which will make my commands available all the time. Is there a way to do this Thanks Jillaint I am not clear what you are asking. If y ...Show All
Visual Studio Express Editions Status Strip - RTF Location
Hi All, Would like to know, what is the code for status strip text location. I am developing an advanced notepad for some customizing text etc. and cannot find code or examples anywhere of how to put a text label in the status strip for the text "Column" & "Row" location. Its basically the same as the windows notepad feature. Can anyone please help me with this. Thank You. but about which line and which column i don't know anyway to do that http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=291492&SiteID=1 Dim Ln As Integer = Me.RichTextBox1.GetLineFromCharInd ...Show All
Visual Studio Team System Team Portal - Remaining Work - The page cannot be displayed
Whenever the Team Portal is viewed locally within the network - then the home page renders perfectly. Although once it gets viewed from the outside - everything is perfect, BUT the Remaining Work section below. Basically get the 'The page cannot be displayed' error. Is the mapping of the hosts different for reporting service If so - how do I get it to render correctly no matter where the page gets viewed from Thank you. The likely cause of this is that the url for the report server is not the same from the 'outside' as it is from the 'inside'. The reports are generated by the report ...Show All
SQL Server Maintenance Job not working properly
Hi, I an new to the forum. I am having some problems where my maintenance job is not backing up the user databases in SQL2000. Unfortunately, I found out the hard way as my payroll in GP did not run properly and I had to do a restore from the BAK file. I am receiving the following error msg in the event log Status: Failed - Invoked on: 2006-04-11 22:00:02 - Message: The job failed. The owner () of job DB Backup Job for DB Maintenance Plan 'Daily Backup of User Databases' does not have server access. I cannot find where and how the user permission was chmaged on this job. I would like some assistance with this problem. thank ...Show All
Visual Studio VSS Get Command
Is there any way I can perform a VSS command line get to obtain files checked in during a specified period (e.g. from May 23 to May 24) You can do that by using the -V option. Example: ss Get $/test -Vd5/24/05~5/23/05 or ss Get $/test -Vd5-24-05~5-23-05 Note: You could also do it by date and time. Example: ss Get $/test -Vd3/03/95;3:00p~3/03/95;9:00a Visit http://msdn.microsoft.com/library/default.asp url=/library/en-us/guides/html/vsgrfss_get.asp for more information about command line Get or look up the keyword "Get command" in VSS help. Visit http://msdn.microsoft.co ...Show All
Smart Device Development Copy Files (and use them) on Smartphone Emulator
It seems as though I can create a share on my dev machine and the Smartphone Emulator accepts them via File - Configure - General - Shared folder (although there's no way of telling). However, because the Smartphone emulator does not have a built-in File Manager there is no way to copy around the files on the device (emulator). For example, say your Smartphone app relies on some .xml files for storing app-related information. I cannot figure out how to move those files into the app folder so my app can use them...or anywhere else on the device for that matter. Are there any tools out there that I can deploy to the device (emulator), such as ...Show All
