Answer Questions
noNchaoTic Automatically generate a work item on state change in requirement
I have a request from management to automatically create a work item for a technical design document any time a requirement WI changes to active state. I'm not sure where to begin on this one. I suppose there is something in the project alerts functionality which will allow me to trigger this. I am comfortably using the API, if someone can point me to the appropriate classes. Regards, ++Alan You can subscribe a web service on work item change event and process your custom logic there. You can use workitem object model in your web service to make changes to a set of work items. Below are few pointers that can help: Getting notifications to a webservice: Few posts that walk through how to do it and solutions for common need ...Show All
Pavan Podila Taking a Break
Decided to take a break from the program I've been working on a play around with something else for a while. What I have done is drawn a rectangle in the paint event of a picturebox, and now I want to place a picture on top of it that is transparent in certain areas so that you will only see the rectangle where the transparency is. Can this be done Restarted this thread to save creating another, Although I can see how the example from Dave works and why it works I can't figure out how to get it to work with a gif file I'm after something similar to a cartoon cell where one image is placed on top of another and the the picture underneath can still be seen where there are transparent areas in the top pictu ...Show All
jls syntax code
to those of you who are familiar with the coding, could you write a simple code example so we can understand,give us simple syntax examples please of; deleete command accept changes command that way those of us who are beginners can read the syntax and get a better view of how it works. i did drag the binding souce as yiou did as well as the dadatset, i dont know waht has gone wrong, so lii probably start againg, but to go back o my original statement about questions being answered in a simple fashion, that is what will help us beginers more. what i am doing as my knowledge grows is to write them down in a book in idiots language so anyone who is at the point i am can undertsand what th ...Show All
Michael Hansen Invalid postback or callback argument when trying to add a Web part
I was trying to change the lay-out of the shared page of the sharepoint portal. After adding a webpart i got a screen where i selected all the web-parts and after that the startpage of portal did not contain any webparts anymore. When adding new webparts to the startpage of portal the following error occurred. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScr ...Show All
InfiniZac Creating Icons
I have been trying to create an icon and saving it with paint as "icon.ico" but it isnt accepting it other icons will be accepted does anyone know why this is happening Polarbear541 i dont im afraid. Paint does a good job for me anyway, or you can add an icon file in your project in Visual Studio. Right click project > add > new item > icon file and design your icon there mine doesnt have icon on it just txt, sql database, dialog, form etc. no icon anyone Polarbear541 wrote: I have been trying to create an icon and saving it with paint as "icon.ico" but it isnt accepting it other ico ...Show All
Mr Pro Tools Import Database Wizard Summary - how about adding a hyperlink to the log file?
The Database Import Wizard Summary screen revealed "One or more warnings or errors have been encountered..." and the full path to the log file is displayed. How about changing that full path to a hyperlink I'd like to be able to click and be taken directly to the log. After all, no details of the error are provided to me, so I'd like to quickly and effortlessly go to where there is meaningful detail. Hi John, This feature was given a thought but could not make in V1. It will be looked again after V1. If you feel like, you may file an issue at Connect site. - Sachin Kumar (MSFT) ...Show All
ccote Performance Profiler Documentation Discrepancy
I've been using the Performance Profiler and I've noticed a discrepancy. The "Functions Taking Longest" section in the Summary view for intrumentation profiling is defined as "the functions that took the most time while INCLUDING all time spent in their sub-functions" (http://msdn.microsoft.com/vstudio/teamsystem/reference/technotes/profiling_windows_apps/vsts_profiler.aspx). In the Function view there is a column called "Elapsed Exclusive Time" which is defined as "the execution time for the code in the method only (EXCLUDES all child function times)" (http://msdn.microsoft.com/msdnmag/issues/04/12/EnterprisePerformance/default.aspx loc=&fig=true#fig6). However, I checked the values in "Fun ...Show All
papaworx formating columns of a datagridview
does anyone know how to format especific columns of a datagridview in windows forms with values already in it for example, I wanna format the first row to #.## but it doesn’t do anything (instead of 5.45444 I wanna show only 5.45 in a existing cell DataGridview1.Columns.Add( "value" , "value" ); DataGridview1.Columns.Add( "name" , "name" ); String [] row = new String [2]; row[0] = "5.45444" ; row[1] = "test" ; DataGridview1.Rows.Add(row); DataGridview1. Columns[0].DefaultCellStyle.Format = "N2" ; dtgAcao.Refresh(); ahmedilyas, I think its like you said, I’mg formatting strings not doubles, I think I’ll have to save it to a DataTable and then refill the datagridvie ...Show All
vasuyeleti how do i stop/exit a sub by using another sub i.e a button click?
how do i stop/exit a sub by using another sub i.e a button click Definately cant break out of a sleep. You should only be using suspend execution of all operations on a thread. So only use for a very short duration. If your making any waits longer than a second or two then you should consider using timers to control the wait. This way the thread is still active and able to handle UI requests. Have you looked at user timers for you solution. Sleep, is often used for waits as its very simple one command action but it really is not good for most of them. Using timers is relatively easy and allows you to keep the UI active. so that other buttons can be click such as cancel in betwee ...Show All
arogan SQL server management studio error
Hi When I try to create a maintance plan, it stops with a message box saying Guid should contain 32 digits with 4 dashes (xxxxxxxx....) Whats wrong I also tried installing the integration services from the SQL Server disks. Further, I am able to to a manual backup of the data base Via Server Objects --> backup Devices --> (and configuring a Backup devices) I also would like to note I am trying to backup to a local partition d:\backups\DB\ I have confirmed with the SQL team that maintenance plans require integration services to be installed. They say this is a known issue and are looking at fixing it for an SP. Until that you can ins ...Show All
Timotei Support for checking non-public API too?
Would it be possible to use FxCop to check private parts of the API too and apply the rules there too I would like to have the option do this and get at least warnings. Wouldn't this be a good idea If you are interested in enabling functionality in your own custom rules you can use TargetVisibilities.All to make your rule check the public and private parts of an assembly. public override TargetVisibilities TargetVisibility { get { return TargetVisibilities .All; } } To enable this for existing rules there is an option in the FxCop standalone under project options on the Spelling & Analysis tab called "Run all overrideable rules against all targets" I think this is the option you are looking f ...Show All
Xfolder Running the VS2005 Unit Test in the Production Environment (without the IDE)
Hi, We have written a lot of unit and BVT test scripts for our solution using VS2005 in our development environment. What is the best way I can run these BVT tests in my production environment (where i dont have the luxary of installing VS2005). is there any command line tool available which has no dependency on the VS2005 IDE Thanks, Jit Hello, The installation of VS2005 will install a commandline tool from which you can run your tests, mstest.exe. However, you do have to install the IDE in order to get mstest.exe Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
mshvw Save Web Page Files "VBExpress"
Hi Now I try to create one Web Browser similar to Internet Explorer, and I would like to know how can I save the current page displayed in "WebBrowser Control", I tried to do this with "SaveFileDialog Control" but it not working, maybe I have used incorect parameter or commands. Help me please. Thanks Shady :-) glad you got that one figured! Sorry, I have encountered and corected my mistake. I have used This one WebBrowser1.ShowSaveAsDialog() and its worked. But Thanks Shady you would be saving the contents from the DocumentStream in the webbrowser control - ill see if i can come up with some code that saves that to a file ...Show All
SPECIALK_BC Unexpected Behavior
I have got a team project which contains a mix types of applications(Windows Applications, Web Applications and Class Libraries). And the team project contains multiple solutions files as well. You can assume the structure as myTeamProject | --Solution1 Folder | |--WinProj1 | |--WinProj2 | |--ChildFolder | | |-- WebProj1 | &n ...Show All
James S Lapalme How do I set the fontsize and color of body text using mailto:?
-Visual Basic 2005 Express- I've searched the internet and forums for 2 hours looking for a way to 'programmatically' change an emails font and color in the body. I haven't found anything on either of these. The following code is what I have so far. It works fine but I'd like to change the font size and color. There must be a way... Process.Start( "mailto:" & clemail.Trim & " SUBJECT=Notification%20of%20payment%20recieved&BODY=Payment%20recieved%20" & temp2 & "%0D%0ADate:%20" & Date .Today & "%0D%0A%0D%0AThank%20you%20for%20your%20payment.%0D%0A%0D%0APlease%20retain%20this%20receipt%20for%20your%20records." ) clemail is the customers email address. Any ...Show All
