Bates's Q&A profile
Visual Studio Team System Can't view reports from Team Explorer - "403 Forbidden"
Continuing the saga first encountered here: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=4815 I am logged in as TFSSETUP, ensured that TFSSETUP has full permissions to the report site, but I'm unable to view the same reports within VSTS Team Explorer. When I click on any report, I get a "403 Forbidden" error. We've been able to clear up some of our 403 issues with creating projects (Rosetta issue getting a 403) and with viewing reports from the Reports/ site, via disabling anonymous access. Any suggestions on where to look to clear this up Regards, Michael Shorten mshorten@olenick.com To get single-server installation to wor ...Show All
Visual Basic Update object data in collection
I am going to have a collection of objects. Let say an employee collection. I add 3 employees to the collection and now I want to update some data for the 2nd employee. Maybe say change the employees salary. How would I change that data. Dim empCol as Collection Dim emp1 as employee Dim emp2 as employee Dim emp3 as employee . . . empCol.add emp1 empCol.add emp2 empCol.add emp3 ' Change Salary of employee 2 within the collection empCol(2).... The overloaded add ensures only that a particular *type* can be added The *direct ...Show All
Visual C# How do I Add Single Back Slashes to a String in Visual Studio 2005
I have a string that reads "hello.world", and what I would like to do is to change this to "hello\.world" so that I can use it in a regular expression and have the period used as a period - rather than as a wildcard (which it is in a regular expression) The problem occurs when I try to add a single backslash Example Code: string s = "hello.world"; char ch = (char)0x5C; s += ch; result: s = "hello.world\\"; --------- string s = "hello.world"; s = s.Replace(".", @"\."); result: s = "hello\\.world"; --------------- string s = "hello.world&q ...Show All
Visual Studio Express Editions .net question
I wish to write a VB program for an app that is only .net1.1 compatible (ie. the haven't upgraded it to .net2 yet) and consequently .net2 is not installed. Am I ok writing the program in Visaul Basic 2005 express edition which I understand is only .net2 compatible Phill .NET 2.0 is a requirement, currently (there is a microsoft project in the works which will target the .NET 1.1 platform, I believe). Is there an issue with installing the .NET 2.0 Framework ...Show All
Visual C++ HlinkNavigateString Navigating in same browser
Hi, My ActiveX control calls HlinkNavigateString function for hyperlinking. If the use has two browsers installed e.g. IE and FireFox, and FireFox is the default browser, If I HlinkNavigateString when the page is opened in IE, HlinkNavigateString opens the specified link in the default browser, i.e. FireFox. What should I use to open the link in current browser window instead of the default browse window Thanks, Praj. Hi Praj, This forum is specific for VC2005 issues. I believe you will get better answers posting at the web development newgroups at http://msdn.microsoft.com/newsgroups/topic.aspx url= ...Show All
Windows Forms ArgumentException on Textbox object, please help!
I'm getting an exception in my windows forms application on this line: this.textBox1 = new System.Windows.Forms.TextBox(); the exception text: A first chance exception of type 'System.ArgumentException' occurred in system.drawing.dll Additional information: Only TrueType fonts are supported, and this is not a TrueType font. This textbox is inside another control, but this call is in the Initia ...Show All
.NET Development StructLayout Sequential not working for class
Try running this example: -------------------------------------------------------------------------------- [StructLayout(LayoutKind.Sequential)] class Test { public bool var1; public int var2; } class Program { static unsafe void Main(string[] args) { Test t = new Test(); fixed (bool* p1 = &t.var1) { fixed (int* p2 = &t.var2) { Console.WriteLine("var1 addr = " + (int)p1); Console.WriteLine("var2 addr = " + (int)p2); } } } } ----------------------------------- ...Show All
Software Development for Windows Vista ICredentialProvider
Did anybody make a successful user logon using the new ICredentialProvider interface My credentials are displayed, but I can't make them to logon. And what worse - after 20 or 30 seconds, the winlogon crashes completely with no recovery possible excepting hardware reset. I thought I basically did something wrong and decided to wait for more detailed documentation or some sample code. But MS doesn't seem to put too much effort on improving their SDK documentation and I also found that at least one other programmer has the same problem: http://msdn.microsoft.com/newsgroups/default.aspx query=vista&dg=microsoft. ...Show All
Visual Studio Team System Console output from tests
Hi all, Is it possible to view Console output from TestMethods It doesn't show up in the Quick Console window. cheers, Alex I want to see the console output for load tests from Visual Studio 2005 software tester edition. Is there any way that i can see it Thanks!! ...Show All
Visual C++ VS 2005 MSVCR71.dll problem
Hi endasil! > The strange thing is that the only compiler that has existed on that > computer is visual studio 2005, and i don't have visual c++ 2003. I open > the project with visual studio 2005 and choose rebuild, but it still > complains on msvcr71.dll Maybe you are linking against a 3rd-party LIB which was build with VC7.1 and therefor required the "old" DLL -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/ The strange thing is that the only compiler that has existed on that computer is visual studio 2005, and i don't have visual c++ 2003. I open ...Show All
SQL Server sql2005 database restore from another sql2005 backup file error.
hi i try to restore a bak file from another sql2005 server to my sql2005 server, but it show the error message as below : TITLE: Microsoft SQL Server Management Studio Express ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: Cannot open backup device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\backup.bak'. Operating system error 5(error not found). RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3201) For hel ...Show All
.NET Development xmldocument.validate() wont work !
Well I ve seen many examples with xml validation against xml schemas using the .NET classes but I got 1 question to which I cant find an answer in any tutorial or FAQ. Every example assumes that we have our xml into a file and our xsd into another and that we want to validate while reading/parsing. Well that is working indeed, using the XmlReaderSettings/XMLReader solution. Another case is to use the XmlValidatingReader class which takes into account the schemaLocation attribute. However you have to use a reader again. What if we want to build an in-memory DOM (XmlDocument) for example : < xml version='1.0' > <query xmlns="htt ...Show All
Visual Studio Tools for Office Outlook 2003 VSTO plugin doesn't run
I've built a custom attachment zipper upon the BusinessContactAssisstant solution. Program runs fine when starting Outlook from the debugger. I've build an installed based on existing one to install into custom folder (program files\magicZip). Application is successfully installed and folder created. When starting Outlook from outside debugger, the magicZip is not loaded, tools/options/other/advanced/com addins shows that a runtime error occured. Funny thing is that the com add-in panel in outlook displays program files\microsoft\vsto as folder. I have no clue what might be the problem- any ideas Thanks, Andi ...Show All
Smart Device Development learning c++ for Smart Devices
Hello! I'm a absolute newbee with c++ but i'm a pretty used programmer in both java and c#. I would like to learn c++ native programming, especially for Smart Devices, but I don't know any good place of learning it. So, is there a good tutorial or something for complete newbees where i can learn both c++ and a bit of native Smart Device development in the same time Other suggestions are welcome(no books though, i dont like them)! /Kaldma In native programming, Windows applications are written in Visual C++ language, which is very similar to C++. Here are a few references that I have found useful: http://cplus.about.com/cs/ctutorial1/ ...Show All
.NET Development Folder permissions
Hi, I am using .NET 1.1, along with professional 2K operating system. How to set File or folder permissons to all users while I am creating the File in administrator. Once I restatt my machine I login into the normal user. There I dont have the permissions to write a content On that file. Need to set the permissions to all users in C#. Any body help Thanks in advance. regards Hello, Unfortunately, there is no ACL API for you to use in CLR 1.1 or 1.0, so you may need to either upgrade to Whidbey (CLR 2.0) or PInvoke to the Win32 ACL APIs. Hope that helps, Stephen Fisher ...Show All
