Answer Questions
stiflersmom100 Serial Port -> How Do I now If it is used?! and Speedproblems
Hello there and happy new year from Germany! I have some troubles with my application whitch uses serial ports..... ....again:) Quite a lot of data are beeing sent through the serial port. When I start the next function while there is still data to be sent, I get an error. The solution would be: Knowing about data traffic on the serial port at the moment.Is there a way I can get the informataion Something like comport.datatobesent or something like that Oh: Yes: I am using 38400 baud at the moment, and not 9600. Is there another way to get the data faster to my serial port device Changing buffers or something I am thankfull for your help and hits... Greetings, Carsten Okay, what's the error message ...Show All
prakashguru What privs to I need to use witImport and witexport?
I can use TFSDeleteProject fine, because it prompts for a username and password. But witimport and witexport don't prompt for a username. What am I doing wrong My username is authorized as Admin. >witexport /t 166.20.96.241 /p ERsim /n Meeting TF30063: You are not authorized to access 166.20.96.241. You might want to consider logging in with a domain user account that is a TFS admin. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=178477&SiteID=1 Check this out: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=889092&SiteID=1 Does it help You may want to specify port in your connection string. Usually the comman looks like that: witexport /t http://serv ...Show All
JIM.H. Removing labels (scriptwise) doesn't want to work.
I use the following code in my program to add some labels: Dim l As Label For i As Integer = 0 To 10 l = New Label l.Name = "LabelDay" & i.ToString l.Text = "Day" + i.ToString l.Top = 88 + (i * 20) l.Left = 5 l.AutoSize = True l.Visible = True Me.Controls.Add(l) Next i Now I want to remove them with: For Each c As Control In Me.Controls If TypeOf c Is Label Then Me.Controls.Remove(c) End If Next For some reason I have to run the remove function several times. Why doesn't my script remove all labels at once The reason it doesn't work is that as you remove controls from the collection the collection re-organ ...Show All
Javier Carvajal Post-SP1 Install Issues
Hello, I completed installation of Team Server SP1 yesterday on a single-server deployment using the Workgroup edition (5 user limit). I installed the prerequisite from KB919156 and did not run into any additional installation problems, the process completed successfully. At the moment, everything appears to be running properly. I can connect to the Team Server, download projects, etc. However, I rebooted after completing the installation, and on startup I am seeing multiple error messages in the application log. The exception message for the errors shows as: Cannot open database "TfsIntegration" requested by the login. The login failed. Login failed for user 'OSCAR\TFSSERVICE'. (type SqlException) The errors all se ...Show All
Xtremer how do i set gradient backcolor on form
hi i'm new to programming. how can i set the forms backcolor to a gradient color. example blue on the top and white on the bottom. Thanks try this: theBackground = new System.Drawing.Drawing2D.LinearGradientBrush(new Point(0, 0), new point(0, ClientSize.Height), Color.Blue, Color.White) Thanks ahmedilyas That worked i have one other question how can i chage the gradient direction from horizontal to vertical. Thanks I really don't know about this since I'm not great with custom controls etc... I think you should be able to do the same thing, overriding the OnPaint() of that usercontrol I was investigating this, and still investigating...it ...Show All
EdwinSmith 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
asilter Using iterations in MS Project
I have a project that we have recently migrated into TFS. I am trying to use MS Project to schedule/track my work items, and I am having a problem with the iterations. It seems to me that an iteration, in Project, should be a rollup of a number of subtasks, but I can't seem to get them to show up this way. Is there some way of doing this, or am I not understanding how iterations should be used TIA Ron L Hi Ron, Contact me directly. I'll send you some more information on this. The first eight letters of my first and last name at Microsoft.com. Cheers, Randy Miller MSF Hi Ron, Use "group by" and chose "iteration path" as the variable. This should achieve the desired result. ...Show All
Le Sage no subject
can anyone give me an example as to how to connect and control something from a serial port.....something really simple like a light bulb..... hey maybe this..... I have a teddy bear which runs on batteries when you squeeze his foot he snores.... I would love to connect and control him by the pc any ideas...please sorry for the misunderstanding.....lets recap.. yes I said serial port.....but it dosent really matter.. whatever is easiest...and all I initially wanted was to control the movement of the teddy bear..... so just to connect to the switch is fine ...but if it is only 3 volts....can I not power it from pc as well.....or does that complicate things.. I want the most simple to start with......just ...Show All
Przemek G. error trying program on other pc
Hi I've got a program. It has 1 source file (.cpp) and 1 header file(.h). When I compile on my local machine the program works just fine, but when I try it on another pc I get the error that somethings wrong with the configuration of the program and that it can't be run. I have .net framework 1 till 2 installed and the microsoft visual C++ 2005 redistibutable on the other pc. Anyone know what I need to do to make it work (and is it normal that my compiles program is smaller then my source code (.cpp and .h file together) ) Thanks in advance. It all depends on what your app is and what it uses. I just built a quick "Hello World" C++ console app in release mode under VS20 ...Show All
Thomas Werner I lost the Registration Key
I have had Visual Studio express for almost a year now, and when I downloaded it I, of course, procrastinated the registration. Now, it tells me that I have 26 days to register. This wouldn't normally be a problem except for the fact I lost the key. Is there a way to find the old one or obtain a new one without having to re-download it over or something like that Thanks! ~Dariusz never had to register anything. You should have downloaded the CD image and burned your own installation disk. From the registration FAQ at: http://msdn.microsoft.com/vstudio/express/register/faq/ 9. I registered my Express Edition and received my registration key, but I misplaced it bef ...Show All
Emily Fong TF53010 / TF14055 error
I upgraded our TFS environment from RC1 to RTM last week and have to say that it went extremely smoothly. The entire upgrade (Dual Tier environment) took around 1.5 hours. Much nicer than my B3R to RC1 experience :) I did run into a few "glitches" that I've been working through. Two seem to have been preexisting issues, another was apparently a change in a developer's directory structure that I had to "help" troubleshoot. The final hurdle I'm trying to overcome appears to be some kind of authentication issue. Here's a sample of what I'm seeing in the event log on the AT machine (names changed to protect the innocent ) Event Type: Warning Event Source: TFS Version Control Event Category: None Event ID: 6008 Da ...Show All
Milzit problem installing visual basic express edition
here is the error message i recieved while installing visual basic express edition "Suite integration toolkit executable has encountered a problem and needs to close" Win xp professional sp2 please suggest me a solution for this issue This is a clean installation , I have done the formatting too and installed fresh copy of windows xp sp2, but the same problem. Masood. Did you ever have any beta versions of Visual Studio 2005 or any of the Express Editions installed on this PC If so, try the advice here . Be sure your system is up to date with the latest patches. Make sure you have latest windows installer http://www.microsoft.com/downloads/details.aspx FamilyID=889482fc-5f56-4a38-b838 ...Show All
MagnusJ View source code!!!
Hey, how can i view the source code on a webbrowser what doesnt work you need to be specific :-) Any errors if not then what doesnt work what are you trying to do View the source code of the current page in the webbrowser control if so, you will need to store the source code in some way such as save it to disk or something. However the DocumentText property of the webbrowser control contains the entire source code of the page you are viewing Example, saving it to a simple file on your computer. Dim theWriter as new System.IO.StreamWriter(Application.StartupPath & "\sourceCodeWebPage.txt") theWriter.Write(Me.theWebBrowserControl.DocumentText) theWriter.Close() of course replace the name of the con ...Show All
alpefusk [custom control] has a circular reference!
I have a web app that was originally developed in VS 7/.NET 1 and has ran for some time without any issues. I recently imported the code into VS 8 TFS and have been stumped by one error. The error message is stemming from a custom user control that references another custom user control in the same project. The error message reads... header.ascx has a circular reference! In the header control I have a reference to a custom menu control which appears to relate to the problem... <% @ Register tagprefix ="BB" Tagname ="Menu" src ="menu.ascx" %> ... < bb : menu id ="PageMenu1" name ="PageMenu1" runat ="server"/> If I remove the reference to the menu.ascx custom control then the project builds succ ...Show All
Galoleins Compile Error C1010
First off, I have already found a "work around ", just I don't get why the "workaround" is working. To keep this simple, this is part of my file layout. Project --Folder 1 ----A.cpp ----A.h --stdafx.h --stdafx.cpp I listed only the relevent files. A.cpp contians... #include "../stdafx.h" //Changing this to "stdafx.h" fixes the problem, but I don't know why, as the stdafx.h file is not in the same location as A.cpp . #include "A.h" Is there a reason that the compiler can't find the file when annotiated correctly, but putting "stdafx.h" fixes the problem. (also note, if you right-click "../stdafx.h" and select 'open document' VC opens the st ...Show All
