Answer Questions
boulderbum Object array's???
Ok, after switching over to Visual Studio, I'm still stumped on a couple of things. there was a control in VB6 that allowed you to have objects (i.e. a textbox) as part of an array. so I could then do something like this dim items(0 to 5) as string for i = 0 to 5 items(i) = textbox(i).text next i what happened to the indexing on objects! You have to create them yourself... The control array no longer natively exist in VS.... Dim MyTextBoxes as New List(of Textbox) Dim MyButtons(4) as Button Dim x as Integer = 0 For each c as control in Me.Controls If TypeOf C is TextBox then MyTextBoxes.Add(DirectCast(c,Textbox) elseif TypeOf C is Button then MyButtons(x) = Dir ...Show All
smurf347 Schema Import fails on import of SQL Server 2000 objects
I have a database with 5826 procedures, 1014 views, 5179 defaults, etc (i.e. many database objects). CTP 3 imported it all no problem... over a period of about an hour. CTP4 goes through the process, but somewhere in the process it fails and restarts VisualStudio responding with a message that VisualStudio has been restarted I've tried the process on a Microsoft XP SP2, dual processor, 2GB RAM box, and a similar server. Both resulted with the same message. A smaller database schema imports fairly quickly. There needs to be a way to import schema for only selected types of objects or selected objects. Mike - It appears you have encountered a bug in CTP4. I'll have someone from our QA ...Show All
Robertino Team Foundation Server with Visual Studio 2005 Non-Team Edition
Our comapny is currently using Visual Studio 2005 and Visual SourceSafe to develop an ASP.NET application. We're looking into adopting Microsoft Team Foundation Server. Will TFS on its own, without the special "Visual Studio 2005 Team Edition for X " versions work with our existing setup If so, what are the benefits to using the Team Edition versions TFS will work inside a regular Visual Studio 2005 with the Team Explorer client installed, however if you are not using on of the Team Editions then you will need to purchase CAL's for TFS. The Team Editions contain many additional features over and above the collaboration features provided in Team Explorer and hosted by TFS. For example the de ...Show All
Jamie Gordon Trial edition of Visual Studio 2005 Team Edition for Database Professionals
The RTM (Final) Trial Edition of Visual Studio 2005 Team Edition for Database Professionals can be found at: http://www.microsoft.com/downloads/details.aspx familyid=7DE00386-893D-4142-A778-992B69D482AD&displaylang=en The Trial edition requires that you have Visual Studio 2005 Team Suite installed. You can obtain a trial version (a rather large download) of Visual Studio 2005 Team Suite at: http://www.microsoft.com/downloads/details.aspx displaylang=de&FamilyID=5677DDC4-5035-401F-95C3-CC6F46F6D8F7 Hi Tilifried, I have used both scenarios (SP1 before and after installation of DB Pro) without any problems other than the lousy installation experience of SP1 which occurs either way. This makes sense, th ...Show All
Steven McCarty Two-way sync: how to import in a Database Project a table, AFTER Import Schema?
Hello everybody, consider this scenario: I import a schema in a Database Project, then I create a table IN SQL SERVER, and I want to sync it with project. The only way I've architected till now is to create the table, script it, delete table in SQL Server, and copy the script in Database Project (deleting "if exists drop", because this syntax is unsupported in Team Edition for Database Professionals). More practical ways incrementals would absolutely rock! please include this :) So, you end up with two different schemas. Check out Schema Compare feature, it does exactly what you want... With our current CTP, we only support one-time schema importation. ...Show All
peiling Does anyone know how to link bugs in VS2005 to MS Projects?
It seems that "tasks" are linked to MS project but "bugs" are not. What the trick Thanks! You can customize work item type definition for bugs to include fields for remaining work, completed work, start date, and finish date that are referenced in the WIT Task. Once you do that you should be able to track time estimates for bugs in project assuming that you have these fields mapped in the project for tasks (otherwise you will have to update the field mapping). Hope it helps! -Mohammad Is there a way to make it an automated process Also, the programmers don't seem to have a place in MSVS 2005 to put in their time estimates and log hours a ...Show All
Chuck Cobb PM Related VSTS Questions
I received these questions from one of our clients who is a project manager trying to use VSTS. Any information would be greatly appreciated. Background--The client has experience using MS project with Project Server and PWA so the questions are geared towards what tools and how Microsoft sees VSTS interfacing with Ms Project and Project Server. Here are the questions: 1. What are the guidelines and recommendations for the team, primarily for the PM in managing the project plan while it is in executing phase E.g. Developers using TFS for work items, how these updates are managed in MS Project. Client would like to see an 'Approval' process like Project Server so that the PM can see what developers update on remaining hours and compl ...Show All
DeadlyEvilRyu file that contains periods in name
I am unable to rename a file in team explorer under the \documents folder to a file containing periods. For example, I wanted to rename the file MAT 1.1 Implementation Guide.doc, but it keeps renaming the file to MAT 1.doc (eliminating the text bewteen the two periods) Is this a known issue I moved this thread to Version Control - sounds like a bug to me. Thanks. Did you log this bug in your system Yup. I've confirmed the bug, but it's not in Version Control. Documents node = PM or WSS issue of some sort. ...Show All
redneon Visual C++ Express- Cant do a freakin thing with it
I downloaded microsoft visual C++ 2005 express. I tried to run a basic C++ hello program that should just print hello using cout. It wont work it gives me ------ Build started: Project: Hello2, Configuration: Debug Win32 ------ Compiling... Hello2.cpp Linking... Embedding manifest... Project : error PRJ0003 : Error spawning 'cmd.exe'. Build log was saved at "file://c:\Documents and Settings\My Name\My Documents\Visual Studio 2005\Projects\Hello2\Hello2\Debug\BuildLog.htm" Hello2 - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I think I read something about needing the new microsoft platform sdk for to run ...Show All
Blast save form
how do you save the infomation entered into a form as a text document Well to write to a textfile or something, you would use a streamwriter (easiest way): Imports System.IO ... ... Dim theWriter as new StreamWriter( Path\yourFile.txt ) theWriter.WriteLine(yourvalue) theWriter.Close() you simply use the Write/WriteLine method in the streamwriter to write your value, so if you had a value in a textbox, to write the value: theWriter.WriteLine(Me.theTextBox.Text) does this help at all How do you use the streamwriter Use a text or stream writer....to create your text file In VB help see this: ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_vbcn/html/7d210 ...Show All
Rattlerr Office modify history
hi I have the question: for example If I delete a sentence in a word document. then, I save the doc and close it Can I get the modify history the next time I open the doc If so,how can I get the modify log using C# THX BTW, who can recommed me any site about office leak personal infomation. Well For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups . Thank you Hi Figo, This forum is for TFS - Work Item Tracking related questions, still not the correct place for this question. :) Thanks. It seem rather related to office issue...I moved it. Thank you ...Show All
SnowJim Display Answer in Windows Applications
Hello All I am writing my first Visual Studio Windows Application, I have the following code: Dim readValue As String readValue = My .Computer.Registry.GetValue _ ( "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName" , "ComputerName" , Nothing ) 'MsgBox("The value is " & readValue) which read the registry key and displays in message box, but instead of doing this I want the result to be display in my Windows Application, with a label next to. How to I get the result to be displayed in the application instead of in its own window Thanks Roland These forums are for VB.NET questions. If your using the VB within powe ...Show All
Dipendra Including CSV files
I am ready to publish my little application, it reads CSV files. I want to include these CSV files in the install package. How do I go about doing this I want those files included, yes, but copied with the setup and put into a specific directory when intstalled. I don't think just adding them will do that. Please advise. Doug from the menu...Project...Add Existing Item....All FIles...and then select the files you want to be included with your project! ...Show All
Steve Whitley Error While Coding!!
I am following a book's direction to code, but when i entered this startment ' For intForLoopCtr = 1 To CInt (txtNoPics.Text) ' <<<<<<<< then it said 'intForLoopCtr" is not decared....... so anyone have any idea to make it decleared OK I'll lay this out clearly. You are using variables such as blnFullSetComplete before you have declared them. You need to use a statement like dim blnFullSetComplete as Boolean beforehand to specifically declare the variable and type prior to using it. This is probably because you have used option explicit on. It doesnt matter the variable name, type or construct you are using it in - the same thing applies - you need to decla ...Show All
AshishGupta Computer communicating with myBrowser
Hello, I have created a web browser and just having 1 problem. I have set my browser up in the registry as the default browser and that works great. You click on a link on your desktop or wherever on your computer and it opens up myBrowser not IE, but my problem is that when it opens up myBrowser it just loads the homepage and no the webpage of the link/shortcut that the user clicked, so somewhere in my code, it is not accepting the webpage url request from the computer. Does anyone have an idea why this is not happening. myBrowser Class is listed as public also. I'm just trying to get my Browser to accept the website address and to navigate to it when the user clicks a link or shortcut on there computer system. I appreciate anyones help o ...Show All
