etones's Q&A profile
Visual Studio Team System How can I merge an outside source tree into a version controlled copy of the source tree?
I currently have the Enterprise Library's source code in source control with some local modifications (modified for strong naming). I'm trying to apply a patch delivered as a zip file of the source tree containing the files modified from the baseline. I've branched my main line to a patch application branch, and have the modified files available. How can I best import and merge these modified files If I understand your problem correctly, you need to create a mapping for "patch application branch" (let's say it's c:\branch). You sync this branch and then uncompress the patch, overwriting the changed files. Now the problem is that you don't have pended changes on the modified files. The best wa ...Show All
SQL Server SQL 7.0 on Windows 2003 Server
Hi, I have a client requiring SQL 7.0 installed on Windows 2003 Server Std. Just wondering if its supported and possible to install SQL 97 on Windows 2003 servers. Thanks SQL Server 7.0 has actually gone out of general support. Check out the following support policy. http://support.microsoft.com/kb/912251/en-us Michelle ...Show All
Visual Studio Team System Prompting to save changes to query when user does not have permissions
Minor grumble on my part If you modify a team query format (e.g Right click header and select Column options) you are prompted to save query on closing but if you choose OK and you are not an admin you receive a security warning. It would be nice if you were not prompted to save unless you have permissions. (Saves a click to get rid of the MB) Not really expecting a resolution of this one. I guess the workaround is just create your own queries and modify them as you like since you can save them. Maggie You can actually select File\"Save as" and save your changes into a private query or a file. So you can use team queries as a starting point and the prompt will help ...Show All
.NET Development How to get an embedded resource that is in a sub folder?
Hi, I have an embedded resource that I am trying to retreive in my code via "System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream()". Everything works fine if the file is put in the ROOT part of the project. However, I am trying to keep things organized, so I made a subfolder in the project called "Resources", and placed it in there.... However, I cannot figure out how to retreive the resource now that it is in the Subfolder. I would think it would change from foo.bar, to Resources.foo.bar, or something similar... However, that is returning null for me... I also put a breakpoint in my code and put a Watch on a call to 'GetManifestResourceNames()'... this function returns all the resources, but once ...Show All
Visual Studio 2008 (Pre-release) Jaunuary Orcas CTP
Does the January Orcas CTP that released last night have WPF support If no, when will we start seeing WPF support in the Orcas CTP's. Steve Sorry, I missed your follow-up question. Unfortunately, the release dates are still confidential. The only way to try out Cider at this point is with Visual Studio 2005 Standard or better. The free Express SKUs are not supported (nor enabled) in this scenario. You may want to give our "sister" product Expression Blend a try. I haven't tried it but you might be able open Blend's project files with VC# 2005 Express (Blend uses the VS project file format) to make changes in the code-behind files. ...Show All
Windows Forms Insert text
Hey, how do you make it so that with a rich textbox it will insert text at the spot you are typing in the richtextbox Thanks :) Is this what you want this .richTextBox1.SelectedText = "Hello"; It will replace anything you selected with the string, then if you don't select, the string will be inserted to the caret. ...Show All
Visual Studio Express Editions Viewing a splashscreen before viewing the form of an application
I'm working on an application, a webbrowser. I followed the documentation in the book "Build a program now! Visual C# 2005 express edition", Chapter 6. The problem is that the splashscreen is viewed, but in the background you can see a part of the form, that should be visible afted the splashscreen dissapeares. I created a splashscreen. In the constructor of the form of my browser I wrote the following code: Splash splashScreen = new Splash (); public Browser() { InitializeComponent(); splashScreen.Show(); Application .DoEvents(); } When the form is finished loading it throws an "Activated" event. I catch this event with the following method: private void Browser_Activated( ...Show All
Visual Studio Express Editions Instance of Class and context
Hi, I have a project that contains the following: Form1------------------Form AccountsForm-------Form Search-----------------Form AccUpdate-----------Class I have created the following instances of the above AccountsForm in Form1 and called it ObjAccountsForm Search in the AccountsForm and called it ObjSearch AccUpdate in Search and called it ObjAccUpdate My question is When I need to reference, forexample, the instance of the AccUpdate Class form within my project I am having to type the full context to its instance Form1.objAccountsForm.objsearch.ObjAccUpdate. somepublic property in this Class My project contains many more Class's, and I have had to draw a table to keep track of where each instance of a ...Show All
SQL Server storing data in temp table during runtime
hi all i am displaying some information in a datagrid as part of shopping cart.i want to store the informations which i displayed and some informations which the user enters in a temporary table, so that i can perform manipulations based on that. how can i do that how to load those informations into a temporary table during runtime can anyone explain me in detail please thanks in advance i am using sqlserver2000 vb.net2003 I wouldn’t store that in a temp table. THe design you are describing is the classical design for shopping carts which are stored either in cookie or Server sessions. These sessions can be either stored in the content of cookie or inproc at the Serverside or outofproc in a database (Sess ...Show All
Visual Basic Server Explorer and SQL 2005
I have Sql 2005 Dev edition and VS 2005 Pro. I cannot access the server from server explorer. I know the SQL server is up and running. I cannot access it from Access either. I have tried the Data Connection Wizard (as outlined in the tread "Server Explorer - Sql Server) but no SQL server is there. I have no idea of how to proceed. Suggestions please Thanks Glen for the input. I can open the "connect to database" dialogue. I choose SQL server as data source and .NET for SQL as data provider. On the next screen the server name is empty. If I click "refresh", I get a long delay with the hour glass before it times out without yielding a server name. I cannot get past this step. I am using windows authent ...Show All
Visual Studio 2008 (Pre-release) Where can I find resources or samples to configure a client and service properly?
Here is what I've done: 1. I created a service using VS. 2. The service endpoint is configured to communicate using wsHttpBinding 3. The service is hosted in a windows service 3. Created a client 4. Added the service reference using VS 5. After testing, both service and client work fine on the same machine 6. Move the service to a remote machine (out of LAN) 7. Added a service reference to that endpoint at the remote machine in the client application 8. The client is not able to connect to the service, however, I was able to get the test page and wsdl. What am I doing wrong I believe this post answers your question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=109 ...Show All
Windows Live Developer Forums Can not control virtual earth map in the invisible view?
I am using vc to develop a program for microsoft virtual earth map,when I use dialog to display the map I can control the map by calling javascript function in the html, but when I use a invisible view to load the map, it seems that it can load the map, but when use the same javascript function to control the map, I can not get the map,my program in dialog and in the view are almost the same,please tell me why or suggest a method to control the map in the invisible view. I appreciate your help. I have the following code in my program, I get the point of the Document as follows, I want to know if the document which I get from the program is the same as which you mentiond in the statement:document.getElementById( 'MapDiv' ).st ...Show All
Visual Studio Team System Questions - (i) webtest from anywhere and (ii) adaptable across environments
Hello, I just have a couple of questions regarding webtests. (i) We have VS2005 for Software Testers installed on a Windows Server 2003 machine - after creating and building the project containing webtests (.webtest file) and/or generated code (.cs code) can I execute the tests from another machine (using the machine which has th IDE installed as a server). In other words, a DLL has been created by the build, but how can these be run from outside the IDE and what is the best way to tell whether the tests have passed/failed (one way is to look at the .trx file in the TestResults folder - but is there a parser to generate a report out of this) (ii) After the tests have been created (.webtest and/or .cs), is there a way to simply re ...Show All
Windows Forms Combobox is not updating when row is added to DataTable
I have a combobox that has a bindingsource as a datasource, with a displaymember and valuemember selected. I have a button which adds a new row to a datatable, and I've verified that my code succesfully adds rows to the DataTable as expected, but the newly added row does not appear in the combobox. When I perform a dataadapter update, the new rows are written to the database, and the new items appear in the combobox when performing a subsequent dataadapter.fill. I suspect there is something with databinding that I am missing that is not updating my combobox. Can someone help Thanks! Corey that is correct, if you directly add a new row to the dataTable, the datagridview/combobox will not know anyth ...Show All
SQL Server Multiple selects on PArameter drop down
I have a parameter dropdown as USERID. I want a functionality that the user can selct multiple userid's to show more than one record as output for comparison purpose. How can i achieve this multiple select (i.e cntrl+click) within parameter dropdown. Thanks, Kiran. Hmmm... You could try changing the parameter type to string and make your data query use 'IN', then have the user type a comma delimited list. I haven't tried it, but you might be able to get it to work. Jarret ...Show All
