Answer Questions
PhilipRieck VB2005, Datagridview and JOIN
Hello all, I have a problem with Visual Basic 2005 Express Edition and Datagridview that I was not able to solve. I need to get data from two tables of a MDB Access database and showing them into a Datagridview. Firstly, I tried to add into my VB form a Datagridview linking it to the first table's bindingsource object. So, I modified the table layout by adding an ID field, its ColumnType property to DataGridViewComboBoxColumn; its DataSource, DataMember and ValueMember properties. In this way, I can add/modify/delete records from the Datagridview but I need to show other fields coming from the second table (I could do that only using DataGridViewComboBoxColumn...). So, I tried to add in my Dataset.XSD a new TableAdapter using the simple fo ...Show All
Maheswar How do I convert .NET 2.0 Coding into VB 2005 Express Edition coding?
How do I go about understanding and converting the coding of .NET 2.0 into the coding that Visual Basic 2005 Express Edition can understand Could you possibly figure out these next two for me. That would be great. THANKS! public NumberedTextBoxUC() { InitializeComponent(); numberLabel.Font = new Font(richTextBox1.Font.FontFamily, richTextBox1.Font.Size + 1 .019f); } private void richTextBox1_VScroll( object sender, EventArgs e) { //move location of numberLabel for amount //of pixels caused by scrollbar int d = richTextBox1.GetPositionFromCharIndex( 0 ).Y % (richTextBox1.Font.Height + 1 ); numberLabel.Location = new Point( 0 , d); updateNumberLabel(); } .Net V2.0 is a framework for languages. ...Show All
JPC16 [WebTests] App.config in Testproject can not be referenced
Hi all, I also have a problem using an App.config file in connection with Web Tests. I have looked at all threads concerned with this topic in this newsgroup before but non of the resolutions worked for me unfortunatly. Here is my problem: I would like to reference an App.config file from my web tests for several reasons: - I am using the enterprise library building blocks and I need to set some configurations in the App.config file. - I would like to read out a Connectionstring from the App.config file. The problem I am running into seems to be quite simple: it does not pick up the App.config file in my test project when I am running my web tests. I am using a WebTestPlugin to do some modifications before and after my ...Show All
VRATZ I didn't download any sample code when I registered and got MS VB Express Edition-Build A Program Now!
Hey, Ok, like I said, when I registered my Visual Basic Express Edition I downloaded P. Pellands "MS VB Express Ed. - Build A Program Now" - but I didn't get any of the sample codes. Is there anyway to get it Was it there to be downloaded and I just blew it Thanks! I beleave the address is a couple poste above. Click on it and it will take you there..... coudl you send me the address with this on it or send me the book itself. I cannot find it on the site. I have registered my program five times now. The Registered Benefits Portal takes me to an error page. Can you give me any help Thanks Thanks a million, I really appreciate the url Dan Code samples can be dow ...Show All
Selectis Perforce vs TFS?
All, Thank you for reading this email. I have done Clearcase, Cvs, Subversion, Perforce and various SCM tools. Now, evaluating the new TFS version control for a company that only has Windows developments. Can anyone help me with the following questions 1. Is TFS version control out of beta phase yet 2. Is there a list of comparison between Perforce and TFS version control 3. In addition, is there a list of comparison between MKS integrity and TFS version control Thank you in advance. B. With perforce, I can use the trigger system (or a command line script) to script an automated integration across branches, so that when a developer checks something into a beta branch, that check-in is automatically p ...Show All
Thomas2054 Client Connect Error: The ServicePointManager does not support proxies with the https scheme
We have 4 users using Team Foundation Server and 2 users who cannot. We go through a firewall and use SSL with a certificate to access TFS. The two users who cannot connect to the server are on Windows XP machines, it works with Vista, Windows 2000 and other Windows XP machines. They have no problem connecting to the service using a web browser https://somehost:8443/services/v1.0/serverstatus.asmx However, when they use this command tf dir /server:https//somehost:8443 They get the following exception The ServicePointManager does not support proxies with the https scheme I modified TF.exe.config to output the trace. You will find the trace of the bad machine at the end. One difference between a machine that works an ...Show All
kuria Accidentally deleted the only licensed user!
Do not ask why. The fact is that I accidentally deleted my account (the only licensed user) from the Server Licensed Users group. I am not able to connect to TFS now. I am planning to reinstall, but that takes much time. I tried to found a Server side admin tool, but it seems there is no such tool. Is it possible to add users to the licensed group using a command line tool Thanks. Yes, that one is fixed as well :) If you run repair/reinstall for Team Foundation Server on the Application Tier from the "Add/Remove Programs" control panel, it should fix that for you. Best of luck- Cheers, Adam Thanks, this helped me as well. We added a bunch of Licensed Users, and we added a different Administ ...Show All
Alvin Kuiper How to get the filename into the "Insert Pictures" dialogue??
Our company written a marco that as same as the "insert -> picture -> from file" dialogue, but we want to enhance it to get the filename automatically when the dialogue box is opened. Dear Spotty Thank you for your reply first. It can applied at VBA program Are we simply looking at something like the following, which will display the currently selected filename being displayed in a textbox and when you click button to bring up the openfiledialog, the currently displayed filename is populated by default. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As New OpenFileDialog x.Title = "Inser ...Show All
georgeob Area path security question
Suppose I have 2 nodes in my Area definition: Node1 en Node2 Area |--- Node1 |--- Node2 Members of groupA have the permission "Edit work items in this node" set to "allow" for the root area "Area" Members of groupA have the permission "Edit work items in this node" set to "Allow" for Node1. Members of groupB have the permission "Edit work items in this node" set to "Allow" for Node2. GroupB is NOT listed in the list of users and groups for the root area "Area" security settings. GroupB is NOT a member of any group that has permissions in the root area "Area". I was suprised that users of groupB were able to create workitems at all when using ...Show All
mshvw Ellipse
I just want to draw an ellipse on to a picture box, read and seen lots of examples that draw it on a form, so what am I not doing Option Explicit On Public Class Form1 Dim myPen As New Pen(Color.Black, 3) Dim startX As Integer Dim startY As Integer Dim Wid As Integer Dim Hght As Integer Private Sub picSource_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles picSource.MouseDown If e.Button = MouseButtons.Left Then startX = e.X startY = e.Y End If End Sub Private Sub picSource_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles picSource.MouseMove If e.Button = MouseButtons.Left Then Wid = e.X Hght = e.Y End I ...Show All
wraithzshadow Cannot create new build type on TFS client machine
Not sure if this is Version Control related but the error message I receive leads me to believe that it is. When I try to create a New Team Build Type by right-clicking on the Team Builds node of my team project in Team Explorer (for which the current user has full TFS admin privileges), I always get the following dialog: --------------------------- Microsoft Visual Studio --------------------------- TF42024: Failed to start the wizard. The workspace [my machine name] is preventing the wizard from creating temporary workspace required for this operation. Please change the folder mapping of the workspace to some other local folder. --------------------------- OK --------------------------- What can I do to fix this ...Show All
manu.aretuseo WorkItemFormControl and HtmlControl -- formatting
Hi, I'm trying to write a custom TFS client that (mostly) replicates out existing custom task tracking system. Our PMs don't have VSTS installed (they don't code) and they want the same UI that they have been using for years. I've found that I can use the Microsoft.TeamFoundation.WorkItemTracking.Controls.WorkItemFormControl class to show a specific item in it's full, dynamic UI glory. And I can configure the layout to replicate our old task system UI. However, we use HTML fields for our notes and descriptions. In Visual Studio, we can use the formatting toolbar to set font colour and size, but if I use the WorkItemFormControl class in my own code there is no built-in toolbar, and I would like to know how to set the font colour and size. ...Show All
scdlewis startIndex problem when unable to connect to the internet
I've been creating a program that will restart my modem so I can get a new IP whenever it changes to an IP out of the range I want. For getting the IP I used a ready-code that catches the content of a webpage into a textbox. Then I used a System.IO.StringReader to start getting the content of the textbox after the ": ", which is when the IP comes. Here it is: Public Function getIPstring() As String 'This creates the filestream and streamreader that is used to read the source Dim SR As New System.IO.StringReader(TextBox1.Text) 'Here is where we start looking for the ip. 'This puts the entire file into a string Dim entirefile As String = SR.ReadToEnd 'This gets the starting position o ...Show All
Ben Vanik rounding
I am using this code, Randomize() lblDsuit1.Text = CStr ((10 - 1 + 1) * Rnd() + 1) The numbers it generates are all decimal numbers, how can I make it round each number off A better way -- This will result in a whole number within the range. The second argument after Next is the upper value of the range plus 1. Next(1, 11) will generate a whole number between 1 and 10. Dim randnum As Random = New Random() num = randnum.Next(1, 11) snum = Convert.ToString(num) By the way, to round a decimal number into the nearest integer, always rounding up if it ends with .5, use the Math.Floor method: inum = Math.Floor(dnum + 0.5) sure. lets try Randomize() lblDsuit1.Tex ...Show All
George Clingerman Running tests in parallel
Hi, I added a few Web Tests to the project file and would like to run them in parallel. Suprisingly, I don't see an option to do this -- they run sequentially, and, hence quite slow. This is not a load test -- I just need each one to run once. Is there a simple way to do this Many thanks in advance for your help. If you are not using a loadtest, then you would have to use multiple agents to run tests in parallel. A single box will run tests one at a time. ...Show All
