Answer Questions
Alex Smirnov Allocating memory to array
Hi, I am declaring a character array of size 10, e.g. char[] var=new char[10]; var="Anil Narayanan".ToCharArray(); The 'Q' is why am i allowed to assign a string > 10 characters. Why doesn't the compiler generate an error It generates a run-time error only when i try displaying the contents of the array through a loop, otherwise it works perfectly fine. Pls clarify. Thanks in advance Anil Hello All. Anil: This might be considered more straightforward: static void Main( string [] args) { string name = String .Empty; bool invalidEntry = true ; while (invalidEntry) { name = Console .ReadLine(); if (name.Length > 10) { Console .WriteLine( "M ...Show All
Angry Coder Custom Test Install issues
Good Day, I am trying to build custom tests. I am a newbie to this so please bare with me. I have RTM VS TFS Test edition with the VSIP SDK loaded. When I attempt to build the MyTest Sample, I get the following Build error for the MyTestUI: Creating temporary file "c:\TestTemp\MyTestUI\Debug\BAT00000135402424.bat" with contents [ @echo off "C:\Program Files\Visual Studio 2005 SDK\2005.10\VisualStudioIntegration\tools\bin\ctc" -nologo .\PackageCmd.ctc pkgcmd.cto -Ccl "-IC:\Program Files\Visual Studio 2005 SDK\2005.10\VisualStudioIntegration\common\inc" "-IC:\Program Files\Visual Studio 2005 SDK\2005.10\VisualStudioIntegration\common\inc\office10" if errorlevel 1 got ...Show All
345 Windows.h Header File
Hello, I just downloaded and installed Visual C++ Express Edition. However, when I compiled the first sample application, I've got an error message saying that the windows.h file wasn't found. I searched my computer and the file was not found. I search the net and it seem that this is a big issue not solved. Can anyone please let me know what to do or where I can get this file. Thanks a lot. Jone In order to make more advanced native applications in C++ Express you'll need to install a couple of extra things and make a few configuration changes. You can find details of and links to what you'll need here . ...Show All
papermater Fails TO install, and all i want to do is play XNA :(
Right, So it wont Install and this is what it tells me: Setup has stopped because the item listen above could not be downloaded. Im on the correct OS (Ive checked) And My firewall (Zonealarm) Is closed down. Any ideas The manual approach worked! Thanks alot, Rory Yea, The Visual Studio is what isnt installing. First, tell us what won't install. I believe you need to install Visual Studio Express before installing the XNA framework. Yep, its all downloaded in terms of from the website, its on my desktop but when i try to Install it it says what i said in My original post. ...Show All
garethv Not mapped message on Source Control Explorer Tab
What does the "Not Mapped" message mean It's displayed above the file list in the Source Control Explorer Tab in VSTS - Developer Settings Also, is there a "hands-on" or "how-to" book out there for setting up (especially on the developer and tester sides) Thanks! It's telling you that the server path selected in the left (folder) pane does not have a mapping into your local workspace. Try this walkthru: http://msdn2.microsoft.com/en-us/library/ms181280.aspx ...Show All
jklegseth How to run samples?
I have installed Visual Basic 2005 Express and I want to try some of Microsoft samples as Visual Basic in Office (Excel) -real estate locator. but I can't get work. Sample is here: http://download.microsoft.com/downl...ice%20excel.msi I also tried microsoft 101 Samples for Visual Basic 2005 and I can't get work. What should I do What is the url you downloaded the '101' samples from Perhaps they have VB and C# versions of these and you got the wrong batch (Grasping at straws guess...) Is VB EE opening up and letting you use it by itself When I try to run samples - message box appear: Project can't be opened. Project is not supported by this installation. When I try to run samples - message box appear: ...Show All
bond12 TF doesn't recognize "setnoprompt" command?
I'm trying to use a command file to perform some tasks with TF.exe. Since I want this operation to be interactive I'm trying to use the "setnoprompt false" command listed in the documentation for TF, but when I run my command file I receieve the error " Unrecognized command: setnoprompt ". This is the content of my command file: setnoprompt false merge /recursive /version:C288~C288 $/Test/Dev $/Test/Branch1 When executed the setnoprompt command generates the error mentioned above and the merge command executes without displaying any dialogs (which I don't want since it generates conflicts that needs to be resolved) What am I doing wrong here Well, then I have it confirmed anyway. For anyone else ...Show All
mrayyan ASP.Net Templates?
Hi There I installed VS.Net version 2 but I don't have the ASP or Web Service templates, can anyone tell me what I need to do, I have added added IIS to the machine but still no template, un-installed and re-installed VS but still no templates. HELP! Different versions come with different MSDN subscriptions. Did you check "Visual Web Developer" when you did the install Also, are you going to "New Web Site" and not "New Project" The web templates are not shown in the "New Project" dialog. The edition is "Visual Studio Team Edition for Software Developers" it's the version that come with MSDN The edition is "Visual Studio 2005 Team E ...Show All
roychoo Build failed because of long path - over then 260 characters
Hi, I'm getting very strange error when I’m running my Team Build script The error is about the path of my folders which is too long. This is the error: error: "TF10128: The path d:\build\PreserverBranch\Preserver Web Deploy\Sources\VERSIONS\InfraWorkingVersion\Modules\Third Party\Microsoft.Practices.EnterpriseLibrary\Configuration\Design\Tests\Extensions\Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Tests.Extensions.dll.config contains more than the allowed 260 characters. Type or select a shorter path." I must remark that if I’m running my build with shorter name - I mean creating new build type with shorter name it's actually works. How can I change the property of 260 characters for my path T ...Show All
MarkWHarrison TFS and running Test cases
Hello guys, I am new to TFS. Using TFS I have to run some predefined Test cases. Just wanted to know whethers its possible and if so how can it be done. Thanks, Aditya Hi Aditya, What kind of test cases are you referring to Also, are you using VSTS for Testers If so the VSTS - Testers forum may be helpful for you. -Matt Cannot cathch it what's you meaning Using TFS I have to run some predefined Testcases Can you explain it detaily ...Show All
Chuck Cobb MonthCalender & ListBox
Dear All, How do I import/transfer the date selected by the user from the monthcalendar to a textbox Next how do I reset the items in a ListBox to what I desired when the user clicks a master reset button. Many Tks Anyone Pls... TextBox1.Text = MonthCalendar1.SelectionRange.Start.ToShortDateString will copy the first day of the selected date range to a textbox. ListBox1.Items.Clear() will clear a listbox - you can then add the items you require. ...Show All
Bastian W. Failed to create New Team Build Type
Hi, I trye to create a New Team Build Type, but it does not work. An error box is displayed with the next message: "Failed to retrieve data from the server. Please verify that the Team Foundation server is running and try again." But the TFS is running normally, and I work without any problem. I'm using a workgroup version of the TFS, and I'm an administrator of the Server... Can you help me please 43 Version Control QueryWorkspaces -1 2006-09-21 09:22:29.950 18845 SERVER\user 172.18.200.223 451E8765-7D6C-48F7-8ECA-90AB1A58110B Team Foundation (devenv.exe, 8.0.50727.147) NULL 43 computer 1 null 43 Version Control QueryWorkspaces -1 2006-09-21 09:22:29.950 18845 SERVER\user 172.18.200.22 ...Show All
Hiral Installing Plugin
I have a plugin for this, how do I install it and then where do I access/start it from The express editions do not support addins so not sure what kind of plugin you have. What is the name of the plugin and with what product do you want to use it with ...Show All
MikeBlig downloading help, needed. -new user- cant understand, why it is not working??__--
HELP i have been trying to download visual C++, from http://msdn.microsoft.com/vstudio/express/visualc/download/ i download the setup, it takes me through the agreement, then asks what i wish to download,i choose the first [full] option. it the goes to a downloading screen, in bracets it reads, [connection attempt 1/5] After it has used up all 5 of the connection attempts, it moves to the ending screen,with the not. telling me that it was unable to download, and i get an error report, i have coppied it. and place it below. EventType : visualstudio8setup P1 : 10860 P2 : 8.0.50727.42_rtm_x86_ixpP3 : gen P4 : inst P5 : f P6 : dlmgr_bitserror P7 : -2145844845P8 : 0 P9 : runtofinish()_failed to retrie ...Show All
SoniaJulka 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 Randy Thanks for the response. I tried doing that, but Project doesn't seem to get all of the tasks under the proper iteration. The overall idea seems to be what I am looking for, but the implementation seems to miss something. Ron L Hi Ron, Contact me directly. I'll send you some more information on ...Show All
