Rob Wilson's Q&A profile
Visual Studio Team System How to customize error message
When I save the work item with at least one REQUIRED field value is emty, I will receive a error message like "TFxxxxx: Field xxxx can't be empty". I want to know if there is a way to customize this error message. Thanks! No, there is no extensibility mechanism to customize it. If you are using our object model in your application, you could catch this exception (or check validity of fields) and throw your own exception with message you want. ...Show All
Internet Explorer Development IE7: UI instability when loading/unloading toolbars
Hello, This is a suggestion that I filed last year in the Connect database that I would like to raise again. In IE6 the main IE window was made visible _after_ all 3rd-party toolbars were loaded. In IE7 the main window is made visible in an unready state before the toolbars are loaded. The advantage of this behavior is that it suggests that IE is starting a bit faster (depending on the starting times of the add-ons of course). On the other hand the caused UI instability is irritating the user because each toolbar is shifting the content frame and the favorite center downwards. I would therefore suggest differentiating between two kinds of add-ons: 1 Add-ons of type "Toolbar" 2 Add-ons of type "BHO" that d ...Show All
Visual Studio Team System Removing project files from source control ?
Can i remove project files from source control By this i mean files like app.config, that are particular for each computer - it's really bothering when you get the latest version of an entire project and the above mentioned file gets overwritten. 10x After you do an "Add, Existing Item..." and it automatically pends an add for the app.config, try selecting the app.config file and doing "Undo pending change" on that file only. ...Show All
Visual C# video frame extraction&turn still pictures into animated GIFs
Hi, 1.Can anyone kindly tell me how to extract video frames to (.bmp,.jpg) from video(.mepg,.avi) 2. And how to turn still pictures into animated GIFs using C# thanks Frank It doesn't sound like the whole application to me, just like a major function in the application. First results on Google for "c# extract video frame" (no quotes) are: http://www.codeproject.com/useritems/ExtractVideoFrames.asp and http://www.codeproject.com/cs/media/avifilewrapper.asp For the animated gif, try http://www.codeproject.com/dotnet/NGif.asp , and make the correction in the comments if needed. ...Show All
Smart Device Development Designer: DataGrid Dock property loses its value during form inheritance
Hi, VS 2005, CFv2. Its easy to reproduce this problem. Create new form FormBase, drop DataGrid, set dataGrid.Dock to Fill, inherit form Form1 from FormBase. Now Form1.dataGrid.Dock is None. Thanks, Tom. Please submit a bug report: http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 ...Show All
Visual C++ VS2005 SP1 released
VS2005 SP1 is released. http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx If you have any trouble installing, be aware of http://support.microsoft.com/kb/925336 (that exact problem happened to me when I tried to install VS2005 SP1) hi,Ted, when i installed sp1 later, i rebuild my project ,and the following error appear: -------------------------------------------------------- runtime error! program:..\common7\IDE\devenv.exe this apllication has requested the runtime to terminate it in an unusual way.please contact the application's support team for more informion. --------------------------------------------------------- my OS is english xp+sp2,what shou ...Show All
Visual Studio Team System HTTPS request time out.
I receintly had a change to the web site to use HTTPS rather than HTTP for the sign-on. Now when I record and run a web test I hang on the sign-on page loading dependants. If I turn of Parse dependant requests, it works fine. Is there a reason behind this Thanks, Tom K. Tom, Can you try setting the following at the beginning of your web test. You can do this either by converting to a coded web test or by writing a WebTestPlugin. ServicePointManager.Expect100Continue = false; Josh ...Show All
Software Development for Windows Vista Journaling hooks on Vista?
Along with a lot of other people, I've noticed that attempts to set the journalling hooks ( WH_JOURNALPLAYBACK, WH_JOURNALRECORD) get knocked back with access denied on CTP 5270. Is this down to the new Vista security policies I added the complete manifest to the Visual Test launcher I wrote. It works fine in Vista. However, in XP, if I run it twice, it causes a BSoD. I created a simple app that just displays a message box, put the manifest in it, and ran it (without signing). It crashes XP the second time I run it. I'm looking into this to find out which part of the manifest is causing the crash in XP and will post what I find. Again, it seems to be fine in Vista. So, worst case would be having ...Show All
Visual Studio 2008 (Pre-release) Some hebrew fonts not displaying in wpf
I have some hebrew fonts that do not display in WPF controls. The regular hebrew fonts that come with WinXP work fine. However some specialized TrueType fonts just display square boxes instead of characters. These specialized fonts work fine in Notepad or with Dot Net 2.0 windows controls but not in WPF controls. I observe this when I try applying these fonts using the FontPlayer demo sample that comes with the WinFX SDK. I am using WinFX RC1 on WinXP SP2. Any help or advise greatly appreciated. TIA Eli Thank you very much for the clarification on this matter. The vendor that I purchased this font from does not have an updated OpenType version. I am going to look around for other vendors ...Show All
Visual Studio Express Editions Blocking users from CDROMDrive
I want to block the users to prevent read and/or write access to the CDROM or CDROMDrive in VB.NET. Can the same be happen for Floppy Drive also it would be tricky to do and would recommend applying group policy security on the system than creating this application. It will be easier and why re-invent the wheel when it can already been done in a few minutes :-) you would have to have some low level hooks - not even sure if there is an API that would expose access rights to the CD drive ...Show All
Visual Studio Team System Problem with Percentage Null in Generation Plan
Hi all... I have a problem with a Generation Plan, this is the situation.. 3 tables: College, Student and Users. In Student table i have this structure: college_id NOT NULL student_id NOT NULL user_id NULL Where PK = college_id, student_id and there are 2 FK: college_id with College.college_id and user_id with Users.user_id The problem goes here... if i set on Student.user_id Percetage null = 25, visual studio changes Student.college_id percentage null to 25 too!! there is no way to set diferent values in this columns... if i change student.college_id, student.user_id get changes too... :( (college_id is NOT NULL so if i set percentage null = 25, script fails... :( ) A bug A program limitation Anyone can help me R ...Show All
Visual Studio IDE Menu Duplication
I have just installed Visual Studio, and whenever I launch it, the menus and the items in them are duplicated. Another copy of them is made whenever I launch VS. Restarting my computer or VS doesn't fix the problem. Here is a screenshot: http://www.rightflux.com/menu_dupes.jpg I apologize if this is the wrong place to post this, let me know where it should go if this is incorrect. Sure, I've heard about these things before. Last thing I could suggest is to remove VS2005/.NET completely, reboot your system and reinstall. Or try to repair first before going through all this. Probably not the best but hopefully it will sort it out. I'm sure other people will pitch in from their experience ...Show All
Visual C++ Builds with IDE, but with msbuild LNK1104: can't find libc.lib??
I'm converting a VC6.0 console application to use 2005. I have one project that will build fine using the IDE, but when I use the command line: msbuild MyProject.vcproj /p:Configuration=Release ... I get a fatal link error LNK1104: cannot open file 'LIBC.lib' I'm new to Visual Studio and Windows applications in general. I did some searching and found the link error is likely caused because libc.lib doesn't exist past VS6.0, and this project is trying to link with a binary that was compiled with VS6.0. I'm not sure what exactly that means, but okay, sure. Per the suggestions of other posts, I made sure compiler switches /MD{d} are being used (the old workspace used /ML{d} ), then I tried telling the Linker Input to ignore libc.c. ...Show All
Visual Studio Team System selective Schema Import
Is there any way in which I can import selective objects from a database (other than using import Script) I have a database containing objects from many projects together. I want to get the objects related to a specific project in my DBPro project... Another problem....when I tried to import script as a workaround for this, only the tables and views got added. None of the stored proc's got imported. And when I tried importing the whole database schema with CTP 5, it took 3 days to do the same... Please help me solve these problems... Hi Sanjukta Unfortunitely in V1 we do not allow you to select two objects and only compare those in the product. We do agree that there is a performance overhead to the current schema com ...Show All
Visual Studio Tools for Office How do I find a cell's border format?
I am using C# + VSTO to create an application-plugin for Word 2007, and one of my requirements is to find double-lined borders and replace the text in that cell with something. There are also a few other cell border styles that I need to find. Is there any way to find a cell (or range of cells) in an active word document based on it's border I have not been able to come up with a solution to this yet. Thanks for your help. There's no way to "find" cell borders. You need to loop through all cells in all tables and check the OutsideLineStyle property. Here's a VBA code snippet to get you started Dim tbl As Word.Table Dim cel As Word.Cell Set tbl = ActiveDocument.Tables(1) For Each ce ...Show All
