tonyinbeijing's Q&A profile
Visual Studio Team System Help with the Custom Checkin Policy Example from the Extensibility Kit
Hey! I'm running TFS Beta3 Refresh,and using the latest version of the extensibility kit. I am not able to see my custom policy, when I try and add it to the Check in Policy page. I see the three that are installed with it, but I do not see mine. My assembly is called MyExtensibilityClass.dll, and is located at c:\policies. In the registry, I have added a string to the Checkin Polices key. The string name is M ...Show All
.NET Development Error with ExecuteScalar()
Hi guys, this is the code: Dim StrRowCount As String Dim StrQuery As String Dim SqlConnString = ("data source=NUCX;initial catalog=Video Kiosk;User ID=sa;Password=[my password];") Dim custID = Me .CustomerID.Text Dim SqlConnection1 As New SqlConnection(SqlConnString) StrQuery = ("SELECT COUNT (CustID) FROM Customer WHERE CustID ='" & custID & "'") SqlConnection1.Open() Dim SelectCmd As New SqlCommand ...Show All
Visual Studio 2008 (Pre-release) Binding sample causes error in VS - workaround doesn't seem to
Just FYI Steps: Extract and Build - Binding to a Non-Text Property Sample ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/c08d47f3-610a-4dae-911c-7c201ba1909e.htm Result: Error 1 Assembly '' could not be found. Are you missing an assembly reference C:\Monarch\Sandbox\nball\WinFx\BindNonText\CSharp\Page1.xaml 5 11 BindNonTextProperty Error 2 Type 'c:MyData' could not be found. Are you missing an assembly reference C:\ ...Show All
SQL Server (Default) instance already exists (not really!)
Ok, I haven't had this much trouble installing MS software in many moons. My end goal is to install Team Foundation Server, but to do that I need SQL Server 2005 first, then SharePoint, then TFS. At each of these steps it is appearing to be a mine field, and it is apparent that the MS Installer is doing a terrible job at uninstalling everything. End of whine. So my situation is this, I had instal ...Show All
Visual Studio Team System Problem Creating New Team Project
Hi. Using 2003 Server with Beta Refresh 3. Sharepoint is extended on the default and no other site. Browsing to http://servername/ works but not Reports or ReportServer. When I create a team project the following error occurs: Error Unable to connect to the specified SQL Reporting Services at EVERSERVER1. Heres the Log 1/9/2006 12:06:44 AM | Module: ELeadServiceMediator | Team Foundation S ...Show All
Visual Studio Team System Adding new project alerts?
Hello, I'm a s/w program manager. I would like to have TFS send mail alerts to team members when I create a new task for them. I would also like to have TFS send a mail to me when they mark a task complete. None of the out of box alerts seem to fit this bill. Is this possible to set up, if so how Many thanks, Jon Hi Jon The team members should register for the project alerts. If you check the ...Show All
Visual Studio Team System Incredibly (astronimically) slow performance on new RC of TFS
We upgraded from beta3 to RC on TFS. Also ran the 2.0 hotfix. I uninstalled the client (had no instances of vs2k5 running) and installed the new RC team explorer client. I also installed the 2.0 hotfix on my local computer. Now the SQL server runs on 100% load.. 'TfsVersionControl.dbo.prc_QueryItemsExtendedLocal;1' is running It loads the solution fine to a certain point, but then freezes. Getting latest from team explorer goes fine. Branching i ...Show All
.NET Development How Often To Open/Close Connections w/ Datareader
I've read about the importance of immediately closing connections when using ADO.NET especially with a Dataset. Would this still hold up with the following scenario, or should I leave my connections open all the time ... I'm going to have a C# application (service) with a connection manager logged into a source SQL Server. From the same service I'll have a second connection manager logged into a second target SQL Server. Aprox every 20-3 ...Show All
SQL Server Oracle support and Report Builder
Can anyone confirm whether Oracle support for Report Builder will be in SSRS 2005/SP1 I think a long time (6-7 months) ago this was kicked around as a possibility, but as far as I know there are currently no plans to include direct access to Oracle via Report Builder in SP1. You could do this by using a UDM/Cube in SSAS (which points to Oracle) or linking Oracle tables into SQL, though... ...Show All
Visual Studio Tools for Office VSTO Excel designer problem (Visual Studio 2005)
Hi all, I am currently working on a vsto excel template project (Visual Studio 2005) , I have opened the template outside visual studio to change print area definitions (because the page setup excel menu isn't accessible from the vsto designer), now when I try to open the excel template from within visual studio 2005 (vsto excel designer) , vs 2005 crashes. I can open the code behind , but not the designer. Can anyone help me on th ...Show All
Windows Forms MDI Forms
Okay just a quick question, and hopefully a quick solution. I currently have a main mdi form and two child mdi forms. My objective is to get one of the child forms to open through a button click on the other. So say the&n ...Show All
Visual Studio Express Editions NEWBIE BEGINNER
I am Very Raw at this. I have visually constructed a Windows App. But now I don't have the slightest clue how to "Tell" It what I want it to do. I have various text boxes for inputing numbers. I want to do math equations. Example...as an investment calculator and a mortgage calculator. I would like to hit the "Button" and run the calculations. I don't even know where to start. I know NO code at all and can't seem ...Show All
Windows Forms why doesn't data display in datagridview when I can see that the dataset table has 4 items
hiya, I am binding a DGV to a dataset via winforms 2.0 RAD. The databinding statement is generated, and I can see that it contains items: this .tblProductTypeTableAdapter1.Fill( this .dataset1.tblProductType) I can also confirm that: 1) the underlying databse table contains a primary key 2) the underlying databse table contains items 3) there are valid select statements generated Why then, when the grid is bound, does ...Show All
Visual Basic Searching through MS - Word files of different versions (2002/2003)
Hi, I hope someone can help me solve my problem. I'm using VB.NET Standard 2003, and am trying to create a piece of code that will search for a specific word through an ms-word file, and will open the file if it indeed contains that word. I want the program to be able to do this for both Word 2002 and Word 2003, without the user telling it what version he has installed on him computer. Now, I'm a bit new to programming, so if you have an a ...Show All
Windows Forms How can I create popup window like msn messanger?
my question is very simple; How can I create popup window like msn messanger Or, like in movie players when u click some button a window drags away in slow motion. I think this link will give you what you need: http://www.codeproject.com/cs/miscctrl/taskbarnotifier.asp ...Show All
