Answer Questions
vim.au Scripted Users
Is the idea that when the final product comes out that the script of the user will have all the permissions the user has to objects in the database I have not seemed to get it to script those permissions yet. I just tried with CTP6. Our existing VSS integration we do separation the user permissions from the objects themselves and want to make sure this will continue to work for us. If you import the schema of your database we will place all GRANT, REVOKE and DENY statements in the Post-Deployment->Permissions.sql file, this file is appended to the build script and therefore part of the deployment. Thanks, -GertD "DataDude" Development Manager Hi Andy ...Show All
deen Create new folder programatically without checkin - Is it possible?
Hi, I need to create a new folder in my repository but I don't want to create the folder locally and then use the pendedit. Is there a way to create the folder programatically directly on the repository Thanks Xavier Hello, I think you best best is to create local folder somewhere (e.g. temp directory) create new workspace create mapping of the parent directory in workspace pend add on the folder check in change remove workspace and local folder To make any change in the repository you need to pend a change in the workspace and AFAIK to pend add the item needs to exist locally. Like Michal said, PendAdd will not work unless the folder (a) is mapped (b) exists. I do ...Show All
Hawkeye1972 Can the VSTS unit tests run on windows mobile 5.0 device?
We need to run test code on windows mobile 5.0 device. But I don`t know whether the VSTS unit test supports wince. I can not find some information from msdn. Hi Ljan, Visual Studio doesn't support unit testing (using Team System unit test features) with mobile devices in the 2005 release. We are looking at this for future versions. Thanks, David ...Show All
ARehman Automation Test with C#
How can I write an automation test that opens a program and then click the buttons on the GUI, check radio buttons and check boxes, write text to a text box, access grid fields, uses the windows hot keys to navigate through the GUI. Please help me with some ideas. You can use Windows Scripting Host (WSH). There is a lot of info out there on how to do this. Another method would be to us something like Quick Macros - this program records your key and mouse movements. After recording you can play back and it will do every single step you taught it. ...Show All
Toby Broom New PictureBox
Hi guys! First of al i would like to say that i'm new at the forum and i wish i can get some help from you and be some help too. So, this is my firs question for Visual Basic 2005 Express edition: I have a PictureBox called 'mod_RColgar', when i click on it, it creates a second one just like the first but called 'obj_RColgar' usisng this code: Private obj_RColgar As New PictureBox() Function Build_RColgar() me.Controls.Add(obj_RColgar) obj_RColgar.Image = mod_RColgar.Image obj_RColgar.Size = mod_RColgar.Size obj_RColgar.Top = (60) obj_RColgar.Left = (600) End Function Everything is working just fine, but now comes my realy question: How can i drag & drop the 'cloned' PictureBox called obj_RColgar Hope you can ...Show All
gkrups Newbie Question - Edit Existing Team Project
We have recently began using TFS. During the setup process, we downloaded and modified the MSF for Agile Software Development - v4.0 process template to include some custom fields with enumerations that we use internally. Example : Field Name : Department Enumerations: Finance Help Desk Business Development etc. We have recently need to add an enumeration to a field we created for an existing team project. Is there anyway we can update the process template to include this new field enumeration to an existing project What is the best method of adding this enumeration Should we change the database directly and if so, are there any issues we should be careful about any advice would be much appreciated!! ...Show All
AsimKhan Shelveset manipulation
Hi, Ever since I heard about the guantlet, I have been trying to implement a similar idea for our build/release system. I just hit a few snags. In my implementation, once a shelveset has been submitted, the shelveset must not be modified by the developers. Initially, I thought about just changing the owner -- trivial right! Not really. To do this, I had to create a workspace, unshelve the shelveset, reshelve the shelveset and finally delete the workspace. Is there an easier way to do this without unshelving the whole set Suppose I want to append a PendingChange to a shelveset (either from another shelveset or from the current workspace) assuming of course that there are no conflicts. Would I need to unshelve and then reshelve the ...Show All
jforward5 Memory Adress of Registry Hives
Hi Is it possible to know where is the registry loaded into RAM I need to have read only access to the registry. I want to use the In-memory pages of regsitry for that purpose Can perfmon help in any way for this Any point of thought will be of great use. Thanks Sumit The registry is not loaded in RAM, it is stored on disk. The disk cache will keep the most recently accessed registry sectors in RAM but that is not accessible to a user mode program. Nor could you find out what portions are being cached. Or how disk sectors map to hives and keys. You have use the API, there are no shortcuts. Hi I read the following article: http://www.microsoft.com/technet/archive/winntas/tips ...Show All
VOC y wont this progress bar work
please help me figure this out I cant get the progress bar to move thanks Private Sub player_PlayStateChange( ByVal sender As Object , ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles player.PlayStateChange Bar1.Minimum = 0 Bar1.Maximum = 100 Select Case e.newState Case WMPLib.WMPPlayState.wmppsPlaying 'The Player is playing. 'Enable the buttons. Label1.Enabled = True Label2.Enabled = True 'Make btnPlayPause a pause button. Label1.Text = "Pause" 'Show the title. Label3.Text = "Title: " & player.currentMedia.getItemInfoByType( "Title" , "" , 0) Dim i As Integer Dim TrackLength As Integer D ...Show All
Thurein Queries for all projects
Can I create a query that spans all team projects I tried using the following but don't know how to put brackets in the query: Team Project = Project1 Or Team Project = Project2 And Work Item Type = Bug But the above gives me all work items in Project1 and all Bugs in Project2. What I really want is (Team Project = Project1 Or Team Project = Project2) And Work Item Type = Bug Can I achieve this using the query language Thanks, Maggie You will need to group the first two clauses together. From the UI, select both of them and right click and then select "Group Clauses". That will give you what you want. Thanks, Amit ...Show All
Ri-Karou Which book is best for learning C#?
Hi, I was wondering if anyone could recommend a good book for learning C#. I already know ANSI C++, which means I don't know MFC programming. I'm very good at the language level (OOP an' all), but I couldn't decide which book would be best for me. Any advice will be appreciated. The books which I short-listed are : 1) MicrosoftR Visual C#R 2005 Step by Step (by John Sharp) http://www.microsoft.com/MSPress/books/7655.asp 2) Programming MicrosoftR Visual C#R 2005: The Language (by Donis Marshall) http://www.microsoft.com/MSPress/books/7219.asp Which do you think is better Or if you have a better book in mind, please tell me. Thanks! Most books with titles like "for beginners", "in 24 days", "Step by Step&quo ...Show All
JFoushee Can I................
Here's the deal, one of the features of the program that I am creating is that it will (or should) have the ability to send a page out (to a pager). Again I am not asking how (at this point), just want to make sure that I can do this. And while I have everyone's attention, my program is coming along quite nicely, have the user interface done, database is connected, will have the database completely setup by Friday (hopefully, if my four year old doesn't make me do another all day "daddy come watch power rangers with me"), so looks like my first (and I do mean very first functional) program will be completed by the end of the month (go new guy, its your birthday). Thanks in advance for all the help. well you can't really do ...Show All
TrevorHughes Bad mapping DebugActiveProcess in UseManagedEquivalentsOfWin32Api rule
The mapping for the UseManagedEquivalentsOfWin32Api rule says to use Debugger.Launch instead of kernel32!DebugActiveProcess. "Remove the declaration for 'NativeMethods.DebugActiveProcess(UInt32):Boolean'. Callers should use the following managed alternative: System.Diagnostics.Debugger.Launch " This is a bad mapping. The APIs are radically different and aren't interchangable : System.Diagnostics.Debugger.Launch will (i) launch a (ii) managed debugger with the intent of attaching it to the (iii) current process. The debugger process will be determined by (iv) registry settings . In contrast, kernel32!DebugActiveProcess will tell the current process to start (i) attach as a (ii) native debugger to the (iii) specifi ...Show All
Aseem Chiplonkar Monitoring Version Control Activity
My company has its own quality assurance system and for now we only want to use TFS only for version controlling. At the moment we are using VSS for version controlling. Now when a programmer check's out/in, adds a file or does any operation in VSS which influenses the project a dialog pops up requesting from him what task this action is for and subsequently the programmers action is recorded in our Quality assurance system. So if the programmer eg checks in a file he gets a popup dialog, selects the appropriate task and the file checkin is logged with the task in our system. In VSS we do this through a COM object that VSS loads automatically on startup. I have been trying to find a way to do this in Team Foundations Version Contr ...Show All
tabbycat Want just to see (not manage) work items from project portal
Basically, I would like to see work items query results from the project portal. For example, I would like to see all scenarios for a certain iteration. I understand that I need to bring somehow TFS work items to SharePoint and the way of doing it is via reports. Is it right If it is, how do I achieve this Hello Eliyahu, Yes, that is correct. You can create reports and view them from the team portal. Here are a couple of links that might be helpful: http://msdn2.microsoft.com/en-us/library/ms244699.aspx http://msdn2.microsoft.com/en-us/library/ms244700.aspx Do let us know if you still have questions on building reports. ...Show All
