Celldss's Q&A profile
Visual Studio Visual Studio freezes
I have Visual Studio.NET 2003 Professional. It was working just fine a couple of days back and all of a sudden the IDE has become so slow to start up. The logo comes and freezes for a about 6-7 minutes before it allows me to chose the project to open. After that everything else works just fine. I did a repair and a reinstall but the problem still exists. Please help. Thanks. You could download Process Monitor: http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/processmonitor.mspx Set the filter to process devenv.exe then start monitoring in Process Monitor, start Visual Studio 2005 and when the splash screen disappears after that 5 minutes stop monitoring. Then take a look at the generated output and look f ...Show All
Visual Studio Team System VS Team System needed??
Hello, I work in a small shop with 2 true developers and 1 "DBA" person and soon adding another developer. I've looked at the VSTS briefly and it looked like something for a large shop of developers. My question is(kind of basic) for a shop of 2/4 developers would the VSTS be worth getting See my reply to the nearly identical question in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=772766&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) Help about WPF!!!
hi,all.Im a newbie with .net development. Today my computer installed the VS2005 extension for WCF and WPF.I make a WPF project,but I confused a bit of programming method.I spend 3 more hours for a program of "hello,word". Now,I got problem: I make controls of button and Image in Winform.I wanna let the Image display a picture which path of "c:\shee.jpg" when I click the button.Please tell me how to figure it out,I really a appreciate for you. Thanks anyway. Hi there... In WPF there are many ways to accomplish what you want. If you're looking for a simple, Windows Forms experience, you can simply put an Image element on the form and set its Source property in XAML. < Image Source = " C:\shee.jpg ...Show All
Windows Forms cannot handle to property changing event of my datatable
i select the property changing event of my datatable and i get the folowing exception,. the code is autogenerated and ... Private Sub dt1_PropertyChanging( ByVal sender As Object , ByVal e As System.ComponentModel.PropertyChangedEventArgs) Handles dt1.PropertyChanging End Sub Error 1 Method 'Private Sub dt1_PropertyChanging(sender As Object, e As System.ComponentModel.PropertyChangedEventArgs)' does not have the same signature as delegate 'Delegate Sub EventHandler(sender As Object, e As System.EventArgs)'. D:\.... is that a bug I am a bit confused as the event arg you use is System.ComponentModel.PropertyChangedEventArgs while it handled PropertyChanging. Are you sure you shouldn't handle Prop ...Show All
Visual Studio Team System Is there a way to get the TFS user role from a custom control dll?
I have a custom control that I would like to enable and disable a form control depending on the tfs user role. Windows roles are easy but not adequate. Does the tfs environment expose any technique to get its the user roles Mel, I looked more into it and realized my suggestion was incorrect - sorry about it. The service provider in SetSite only gives VS services. The GetService method from TeamFoundationServer class can give you the service. WorkItem object is provided to you in WorkItemDataSource property and you can access TFS object from there. If the workitem object is stored in m_workItem, please try m_workItem.Store.TeamFoundationServer.GetService(typeof(IGroupSecurityService)) (not 100% sure on syntax) ...Show All
SQL Server Unable to execute package programmatically with expression based tasks
Hi, I am trying to programmatically execute a package that contains an Execute SQL Task component bound to a variable for its "SqlStatementSource" property (via an expression). The variable is of type String and contains a simple value of "SELECT 1". The Execute SQL Task contains an expression that sets the SqlStatementSource property to the value of this variable. The package runs fine when I execute it via dtexec or BIDS, but when I attempt to run it via the object model, I receive the following error message: The result of the expression ""@[User::Sql]"" on property "SqlStatementSource" cannot be written to the property. The expression was evaluated, but cannot be set on the pro ...Show All
Windows Forms Datagridview selected column
Hi all! how could I put the focus on the second column of a Datagridview, when I click on the "add record" button Thanks in advance! It would be advisable for you to find DataGridView class in documentation and browse through the members. Code: DataGridView1.CurrentCell = DataGridView1.Item(1, 5) 'or DataGridView1.CurrentCell = DataGridView1.Item("ColumnName", 5) ...Show All
Microsoft ISV Community Center Forums Select Syntax problem in a Query
Hi - i have a query setup that is held on a subform that displays all activities that have been logged by users. there is a field called 'leadofficer' that displays the name of the user who logged the activity. Based on prior help from forum users I thought it would be easy enough to set criteria whereby the form, when opened would only show activity where the values in the 'leadofficer' field would equal the value of the user who has logged in - where the value of the user who has logged in is held in a global variable called 'loginname' - but i was wrong! - ive been wrestling with the SQL syntax in the query but can only get it to work by having the query to prompt me for the name, which is no use because it al ...Show All
Visual Studio Team System Problem with source control (Data is Null. This method or property cannot be called on Null values)
Hi, VS hangs up during project loading. Re-getting the project from source control does not help. VS installation does not help either :( The following error in the server's event log: Edit: it does not hang. After a few minutes in unfreezes and says 'look into your server event log'. the project is open as source-control ounbound. TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 6/26/2006 12:48:55 PM Machine: VSSERVER Application Domain: /LM/W3SVC/3/Root/VersionControl-1-127957963704837131 Assembly: Microsoft.TeamFoundation.Common, Version ...Show All
SQL Server The parent of an element from a Paren-Child Dimension
I am using Reporting Services and I am not able to retrieve the parent of an element from a parent-child dimension. I tried to retrieve using a member but it is to slow. Is there a way to do that Can you please explan your situation in bit more detail Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Windows Forms Include the parent control when a child is cut / copied and pasted.
Hi all, This is the final step in what became a rather involved process. The big picture is that I need to present a container control at design-time which does NOT clip its children. So yeah, I want for instance a child button control to be able to draw beyond its parent's bounds. I've gotten it to work by implementing an "envelope / hub" mechanism, where the hub is the above-mentioned container, and the envelope is its parent, another container which sizes itself to envelop the hub. When the user needs to "float" (ie. un-clip) the child button, it gets re-parented to the envelope and now has free reign to paint over the hub's bounds. All that to say, I have one final problem: when the hub is cut to clipboard, ...Show All
SQL Server data doesn't be transfered to one of my subscribers!
I use merge replication and the topology is central publication. I have 20 subscribers. when I run agent, I got message "No data needed to be merged". Publisher doesn't send data to this subscriber. When I update date again, I can send data to subscriber. Why ! How replication works ! and How specifies records that must be send to the subscriber ! Publisher and subscriber work with SQL 2000 with sp 3 installed on windows server 2003. Please help me. Thanks. I guess you have setup merge replication using "NoSync" option. See http://msdn2.microsoft.com/en-us/library/aa239398(SQL.80).aspx . Did you see convergent data after the first sync Thanks. This posting is provided AS IS with no w ...Show All
Visual Studio Team System TFS SCC Command Line Checkin attach a WorkItem?
TFS SCC question: Does anyone know how to attach a WorkItem to a checkin via the command line (or even if it is possible ) You can find some discussion of the CheckIn() on the Workspace object at http://blogs.msdn.com/buckh/archive/2006/03/20/checkin.aspx . At one point in time, I had planned to add command line support for specifying work items to resolve and associate with the checkin, but it didn't make it. If you'd like to see that feature in the next version of TFS, please enter it at Connect ( http://connect.microsoft.com/ ). Buck ...Show All
Windows Live Developer Forums MySQL, VE API, and around 1Million places to display
Man do i need help. i started off and got to this point and realised i was going in 2 opposite directions. i have a simple VE Map page using HTML/JS. i also have a PHP page that Queries a MySQL server and returns results. all i am looking for is how i would be able to do the following: allow a person to cruise(browse) the map in my simple page, and have 4 buttons to the side that would be toggled on/off to show 1 of 4 categories in my MySQL DB. obviously i realised with PHP it's server side and couldn't update on the fly. i am using a linux provider for this, which means no ASP.NET or any other gr8 MS jazz. the layout: MySQL-DB (name,address,type-of-place, lat, long). i currently dont have lat and long info (i'm guessing thats what everyon ...Show All
Visual Basic Generating Identity ID (integer value)
Hi all, I known that, in is vb.net generating a GUID value by method Guid.NewGuid() is Unique. So to be generating a integer value i coded below: dim UniqueID as Integer =Guid.NewGuid.ToString.GetHashCode() I thing that UniqueID is Unique but i'm not sure, Anyone can Affirm that UniqueID is alway unique It is not. An integer can hold "only" 4 billion distinct values. Hashing is a way to map a unique value to a non-unique but denser, evenly distributed value. Two distinct values may thus easily (but not usually) produce the same hash. ...Show All
