Answer Questions
Zatoichi User Control and Happy New Year
Happy New Year to Everyone at the forum. My first question for 2007 is, How do I get a user control into my program, I right clicked in the solution explorer Add > Existing item , navigated to the ctrl that I wanted to add and it appeared in the solution window, now how do I get it into the Toolbox so that I can use it in my project Hi Graham - Happy New Year To add the control to the toolbox right click on the toolbox and select Choose Items. Under .Net Framework Components select Browse. Find the dll for the control you have created and select it. And it should appear in the box. No Problems, I miss-understood your requirements at first, whe ...Show All
LKeene Solution Explorer peculiarity
Hello, Certain Team Foundation Server Source Control commands do not show up in the left-mouse-click menu list in the Solution Explorer window. As far as I could see, he has "View History", "Unshelve Pending Changes" but not "Checkout for Edit..". It appears to be a setup issue but I cannot find anything different in his setup but it could also be the solution file's format. Also, some of the items in the Solution Explorer window have a little lock icon beside it, others have a members (or a little person) icon and still others have no icon. Can you tell me what they mean. In fact, is there anywhere one can go to get help with solution explorer The context help does not help much. Thanks, Maggie ...Show All
fabianus Problem with shelving
I've encountered a small problem with shelving. Here's a scenario I Am working with studio 2003 and using TFS as source control . I have a console app project with 1 class (Class1) Lets say I add a new class (Class2) and then check in class2. Now ,I open the class for edit and do some code. I then do shelve to the entire project . after that I undo changes in order to get back to the last checked in version. The problem is that the "Undo check in" removes the Class2 from the project . This is normal behavior but why is that when I do UnShelve to the project from TFS I still see Class2 . The UnShelve gets back the changes I did in other classes but the Class2 is gone for good. I would expe ...Show All
Honza N How to make a simple function
Hi, I was wondering if there is anyway to turn a huge amount of code into a simple function. Right now I have a bunch of check boxes and they are all named C1-C7 and W1-W7, instead of putting in code for each one when clicked, which results in a large amount of code, is there anyway I could make one function to handle all of these. I tried something like this. If C(num).checked=true then W(num).checked=false endif its just a basic example of what i want and i could really use this later on. Thanks LOL, dont worry, i saw it and thanks again. Cool, I have learned a lot today, thank you for all the help. ...Show All
clint 2 Replication in Team foundation server
Hi all, I'm working with team foundation server right now. I wanted to know more details on the features available in TFS. My queries are as follows: Is replication possible in TFS If yes, which type of replication is supported and how do we configure the TFS for replication What are the step for doing the configuration and how do we go about doing the replication(I mean the process of doing that in TFS) What are the feature of TFS which can be used for remote access from outside the LAN How do we configure TFS for remote access I came across some article that it's done through HTTP. Is it possible to use secure HTTP What's the purpose keeping shelving option in TFS The process template available in TFS are MCF and the Ag ...Show All
elamathi C++ compiler
Hi all, I'm a newbie to VC++. I have installed VC++2005 Express edition. Platform is WinXP. I want to write C/C++ programs . So can anyone please guide me in writing the programs . What are the initial settings I need to do How to compile To check whether all Libraries of C/C++ are included or not How to debug How and where to see the outputs Sorry, for the inconvenience. Please help me out. Thanks a Ton in Advance. Regards, Raghu In short you need to re-read those tutorials, paying particular attention to the one that introduces the STL library. Your code correctly includes the iostream header, the compiler would warn you if it did not, the problem is you have incorrectly use ...Show All
MSP.Saami Logic problem
Hi everyone, I create a Phone Number book. I have a class called Person who has a PhoneNumbers. I have also a struct called PhoneNumber. My Person class stores phone number which belongs to that person. For this Person class contain two instance of PhoneNumber class called phoneTail, and phoneHead. phoneTail represent the next pointer of the last PhoneNumber node. PhoneNumber represent the head of the phone list in that person. So, I did the following. But this only holds the first phone number for a person. if(cur->phoneHead == 0){ cur->phoneHead = newphone; cur->phoneTail = 0; (cur->phoneHead)->next = cur->phoneTail; } else if(cur-> ...Show All
Bogdan.B Another "Which TFS to buy?"
I have to put together for my manager a list of which products to buy for a group of 10 developers, one of whom also does double-duty as an architect. Reading all the product comparisons and pricing is confusing, to say the least. I know I need TFS. That's a given. My issue is with all the VSTS role-versions and the respective cost. What is the best (read: least expensive) combination of products that will give us full TFS functionality How does VS2005 Pro with a TFS CAL compare to VSTS for Developers Do I really need to buy the full VSTS for Developers for each developer Each of those licenses comes with MSDN Premium. Why would I want a copy of MSDN for every developer OK, enough of the stream of consciousness. It would be great ...Show All
kbenny Failed to save WI Bug in specifik transition
Hi, I customized values for field "State" in WI Type Bug, it works but in one specific transition I try to save work item but I only get this error:" TF26201:This Work Item has unsupported fields, or user does not have permissions". I have permissions of server administrator so it's not permissions problem.I've also checked field definition and transitions, but haven't seen anything wrong. (The same transition works perfect in other work item type, so I don't have any idea what's going on here) Does anyone know what the problem is Thank you Hi Can you share your WIT definition I would like to take a look Thanks Sagar One known r ...Show All
tdevine want to add Barcode Reader in my Application
Hi friends i want to include a BarCode reader in my application. how can i add that in my application please guide me thanks in advance rajnseh In addition to what Brendan said, many readers work just like a keyboard and will put the value read in the currently selected box. The details of how it works depend on the vendor and their API's. Jim Wooley http://devauthority.com/blogs/jwooley Using a bar code reader in your application would depend on what kind of reader you want to use and how it's software/drivers make the read data available. I'd suggest starting by looking into any kind of SDK that is available from the manufacturer of the part first. ...Show All
mjkfff Grab the users AD name
Is there a way to grab the users Windows name I am on a company Active directory. I just want to display this in my application. Like welcome john doe! and latter do some authenticaion with this. thanks So how would you get the users full name from AD, like the OP originally requested Cool thanks, you guys were fast! I have an app that shows the user name, much like your greetings. Dim username As String = My .User.Name This will show the domain\user; so if you just need the user's name, you can use split function with "\" splitter. The women were faster. Who deleted my post noting that Amedilyas has be ...Show All
rrbader Embed video in .exe
Well ive made my application added a axwindowsmediaplayer, and made the video work, the only problem i have is the user has to have the video in the exact same place i did, is there anway i can make my video built in with the exe You could package it with the application, and use relative paths. As suggested use relative path. For instance if I would make FunApp.exe that contains my application and a movie in the same directory named Fun.mpg I would refer to it as ".\Fun.mpg" even though it actually was in c:\projects\funapp\movie\fun.mpg" while developing. When I set my application to load the movie I know my it is running from Application.StartupPath and can refer the m ...Show All
Al Harlow Environments Question
From watching the "Walkthrough" web cast and what I understand - when I have a DB solution set up with CTP6 Use local instance of SQL for dev - deploy changed scripts here and test When if comes to deciding what to promote (Dev to Test) - If I understood video correctly - I do a Schema compare of my DEV DB and TEST DB and will get a script file to either save or run My questions are: If there are 2 to many developers, every day I should get latest from VSS from inside Vis Studio project - can I really trust that everything I'm getting should be part of the update to my local DB Isn't it possible even myself I could have written test function that works for what I needed it to do but didn't really mean it to be ...Show All
fa6ma Buttons
I'm wondering can i make buttons in a form link to a ms dos command and if this is possible respond pls greets a new noob. Now i need a code to make a button add a registry value to the computer Dealing with registry requires the use of the Microsoft.Win32 namespace. In here contains all the registry stuff. Now the problem with reading or writing to the registry would be permissions - if you don't have the correct permissions to access the registry, then you will get an exception thrown (securityexception probably) However if you do have access to the registry, then check this out: http://msdn2.microsoft.com/en-us/library/microsoft.win32.registrykey.aspx In ...Show All
PianoGully "Unexpected error" dealing with source control in vs2005 (NEW TFS)
When trying to add solutions to source control within a new implementaion of TFS we get the following error: Unexpected error encountered. It is recommended that you restart the application as soon as possible. Error: Access is denied. File: vsee\pkgs\vssproviderstub\cvssproviderstubpackage.cpp Line number: 525 Thanks, Hi, Has the TFS Source Control Integration ever worked for you before What new version of TFS are you trying to use Do you always get the same error when trying to add solutions even with a fresh instance of VS Thanks, Nitin Hi Pete, Did reinstalling/repairing Team Explorer help -Matt Moving to the TFS forum. Micr ...Show All
