Answer Questions
nattylife report stops showing data - warehouse not update
RTM TFS installed on combined AT/DT. reporting was working fine till a week ago, after that, i can still see the report, but there is no data. e.g. for "remaining work" report, even though we still have the same number of tasks, but the work item count (active/resolved/closed) are all showing 0. Report Generated: 8/23/2006 5:24:48 PM by xxxxx ; Last Warehouse Update: 8/14/2006 2:59:30 PM it seems the warehouse update has not happened since 8/14, event viewer doesn't reveal any obvious problem. how to kick start the warehouse update You should see an error under System in the eventvwr when a service fails to start. Source: Service Control Mananag ...Show All
Malain changing current directory to bin
Hello all, I'm currently working on a project that requires me to switch the current directory of the project to the project's bin. I've looked in several places, and can't figure out how to do it. Does anyone have any ideas Thanks so much for any input... sorry for this stupid question -Robert hmm, I tried that with: system.currentdirectory me.currentdirectory form1.currentdirectory and environment.currentdirectory and none of those were accepted by the IDE... am i doing something horribly wrong Thanks -Robert well if you are talking about within the IDE when you run the application, the application runs from the debug\bin directory already. To get the current running directory of the application: Application.StartupPa ...Show All
Chimme RTbox set textcolor
Hi, I've got a problem again. I'm trying to accomplish the following: In my RTbox I'm trying to change the color of some words (like in VB.NET). This is the code I'm using: Public Sub ColorCmds() With rtbMain Dim i As Integer For Each cmd As String In cmds For i = 1 To .TextLength If Mid(.Text, i, cmd.Length) = cmd Then &n ...Show All
ykgreene toolTip
Any example on how to use the tooltip function you may need to be more descriptive but here is a simple example on how a tooltip is used: Dim theToolTip as new ToolTip() theToolTip.SetToolTip( Control , Text ) so if I wanted a tool tip on a textbox theToolTip.SetToolTip(Me.theTextBox, "This is a tool tip!" ) you could also say, show this tool tip when the mouse hovers of that textbox, by implementing the TextBox's MouseHover event, then place the code above in there, so when you hover over the control, it should show it. http://msdn2.microsoft.com/en-us/library/system.windows.forms.tooltip.aspx Does this help Thanx ...Show All
SteveJB Getting WorkItems by Project Name from TfsWorkItemTracking database
Hi all, I would like to retrieve the list of work items from TfsWorkItemTracking database because of some reason, The only why i'm able to find out is to get all the Areas from TreeNodes table and then get WorkItems based on Area but it involves recursively retrieval of Areas, is there any other path to it why i'm saying project name in the title coz i wanted to retrieve them by project, and which is now i know i can do it via top most area from TreeNodes as its same as the project name and u cant rename it as well :). regards faraz Updating values in database is tricker than it seems. Here are some questions to think about: If you do update the value, do you expect it to be updated only on latest revis ...Show All
SurreDeth Microsoft SQL Server is missing from the DataSource dropdown, cant connect to a SQL Server Express Database.
I am trying to do the Chapter 1 project of Getting Started with ADO.net 2.0 Step by Step (microsoft press)... I enter the data source configuration wizard and select database, and press next. I then press the new connection button, and the Choose data source screen appears. In the List are only 2 options: Microsoft Access Database File Microsoft SQL Server Database File. The option they want me to choose does not appear in the list. Microsoft SQL Server sqlclient I tried following the instructions in this thread [http://forums.microsoft.com/msdn/showpost.aspx postid=85686&siteid=1] where a user had a similar problem, but had no success. I have reinstalled C#, reinstalled SQL Server Express 20 ...Show All
NewWebDevGuy Appending text in a multiline TextBox
Hi, I'm trying to append text contained in TextBox2 to TextBox1 (multiline), each time Button1 is clicked. I'd like to start a new line each time. I tried with the following code but it's not working... Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.AppendText(TextBox2.Text & Chr(13)) TextBox2.Focus() TextBox2.SelectAll() End Sub Any ideas You are welcome. -- SvenC thank you Use vbCrLf instead of Chr(13). Or use Chr(13) & Chr(10) which is the same as vbCrLf -- SvenC ...Show All
Ramazan Acar VB hangs on project load
I have a problem here thats driving me insane! I was working on a project and VB hung itself. Now it's impossible to load the project, every time I load it it hangs. This happens on no other project only this one! Is there something wrong with the project, is it corrupt (after all of my hard work) or am i doing something wrong Please help me SP021, It seems that you meet a strange problem. Are you familiar with the CLR in .NET Framework There is a reference book called Applied Microsoft .NET Framework which describe the principal of .NET Framework. Generally speaking, there are so many problems cause the project load error, I can't get the enough information on your description and I don't know whether your project is fine o ...Show All
sontek External DB Synonyms Cause Compilation Errors
Hello! I have a solution with two database projects in it. In both we use synonyms for any cross-database references, e.g.: USE [AdventureWorks] GO /****** Object: Synonym [dbo].[synNorthwindEmployees] Script Date: 11/23/2006 15:18:35 ******/ CREATE SYNONYM [dbo].[synNorthwindEmployees] FOR [Northwind].[dbo].[Employees] GO USE [Northwind] GO /****** Object: Synonym [dbo].[synAdvWorksEmployees] Script Date: 11/23/2006 15:25:26 ******/ CREATE SYNONYM [dbo].[synAdvWorksEmployees] FOR [AdventureWorks].[HumanResources].[Employee] The problem we're experiencing is that any view that uses a synonym for an item from the other database causes a compilation error when we build the solution. So if we have the following view in the Ad ...Show All
Uwe82 I have a question about references
I have just completed my second project, they both have references to .Net Framework 2.0 Does this mean that both my programs need .Net Framework 2.0 to work, or will the work without it Thank you. Hello Brendan. Thanx for that, i understand it a bit better now. My 2 programs only have references to the .Net Framework. when i started makeing them I added a folder, named Resources, to my projects folder, and i put me bmp's and icons in to the Resources folder, so my programs have there own icon and background image resources. Thanx again Brendan Yes, all C#, VB.NET, J# require the .NET Framework in order to be able to run... just as dang ne ...Show All
TMWKET Can anyone explain this to me?
I am using Visual Basic 2005 Epress Edition I am making a game of 21, in this game users have option. I wanna put a horizontal slider in it. I looked up and down the toolbox, I found a control called vertical slider but nothing that said Horizontal Slider, so can ya tell me how I can get one, and how to code it. The Horizontal Bar is to let the user determine the bet amount, I think it be a good way to allow the user to [choose a bet, that I wish for them to choosr, like 100, 200, 300 and so on. It would be incremented based on my choosing. I don't know3 what control I need or how to use it. Let's pretend I know close to nothing about Visual Basic programming ...Show All
nhaas VS 2005 SP1
What is the release date of VS2005 SP1 Thanks, Allen ... and for Visual Studio 2003, it's (scheduled for) Aug 15, 2006. http://msdn.microsoft.com/vstudio/support/servicing/sp1_vs03/default.aspx According to the link below, it's Quarter 3, 2006: http://msdn.microsoft.com/vstudio/support/servicing/sp1_vs05/default.aspx ...Show All
Vlad Shimov How do I disable resizing in applications?
I want to disable the ability to resize or maximize my applications. What code do I put in the program, and under what class (form load, etc.) Thanks To set a form as not resizeable set the BorderStyle ( FormBorderStyle ) to something appropriate: to display a non-resizeable form it would be set to FixedDialog . The 'resize' border on a form will not show, hinting that it isn't a resizable form: this is important for accessability reasons. No code needed. Just set MaximizeBox property to False and make MinimumSize and MaximumSize the same. Thanks to both of you ...Show All
TheSniipe Access external functions?
I was wondering if there was anyway I could call functions from my form1.vb in my usercontrol1.vb. Or maybe if i could just save them to a .vb file, dont know how to do that tho. Also, is there anyway to carry variables between usercontrols. well you could make a module which exposes the values/variables you want to access and share around classes/usercontrols. So create a module and expose properties/common functions you will be using as a public member, then access them from any other class. so add a module. Then create public properties and functions and subs that you want to use which are commonly used around classes. Example: Module MyModule public functio ...Show All
Van Dieu Thai Invalid Column Name
Hello, I am using Visual C# 2005 Express Edition and I am trying to connect to an SQL database. I have created the database with the following columns: id, first, last, phone, date I have created a binding source with a Data Grid View and I am trying to load the data. However, I am getting an "Invalid Column Name" error for NO apparent reason. Here is what my code looks like: SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\dsAllMembers.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); con.Open(); if (con.State == ConnectionState.Open) { System.Console.WriteLine("So far, so good."); SqlCommand command = new SqlCommand("SELECT id, first, last, phone, date FROM tblMemb ...Show All
