Vitor Ferreira's Q&A profile
Visual Studio Team System FxCop.chm download not working
I downloaded the 3/15/05 FxCop.chm. It comes up but in the right pane it constantly shows the IE "The page cannot be displayed". What is wrong What do I need to do to make this work Thanks. I developed my own Help project months ago. I tested it and it worked. I just recently came back to test it, and it didn't work. This thread was the problem. I changed MY registry settings to what you said and it fixed it. Thanks so much! Not sure how to intruct a 2000 member customer base how to do the same, though. ...Show All
.NET Development ASP.net Website configuration tool ERROR
Hi guys, Could anyone please help! I'm trying to view the "ASP.NET Configuration Tool" and all I get is this message: An error was encountered. Please return to the previous page and try again. The following message may help in diagnosing the problem: System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl) at System.Security.AccessControl.NativeObjectSecurity.Persist(Str ...Show All
Visual Studio Team System Team Foundation Server MSSCCI Provider Beta 2 Now Available (Feb 20, 20006)
The Team Foundation Server MSSCCI Provider Beta 2 is now available here . IMPORTANT: Beta 2 is not strongly signed, so you'll need to disable strong name validation as mentioned in the README. You can find details at http://blogs.msdn.com/buckh/archive/2006/02/21/536260.aspx . New in this beta: Support for Visual Studio 2003 and Fox Pro in addition to the already supported VB6 and VC6. Integrated Checkin - you can now associate/resolve bugs and specify checkin notes with your checkin Improved performance - opening controlled solutions, get, checkout, checkin, and compare/diff are much faster M ...Show All
Visual C# System.Management.ManagementException: Invalid Class
During one of my applications running I try and find the volume number of the local hard drive using WMI. Here is my code: ManagementObject disk = new ManagementObject("win32_logicaldisk.deviceid=\"C:\""); //Error happens here disk.Get(); It only happens on 1 machine running Windows 2000. I can't get it to break any place else. Just a minor update: The person that had this happen uninstalled the application, removed the database, and then reinstalled the application and that fixed it. I am not sure why but I guess I can use that as a solution. ...Show All
Visual Studio Express Editions forum on visual web developer
How do i ad a forum to my website in visual web developer 2005 express edition Hi, Check out the Community Server. These forums are a customized version of the Community Server. http://communityserver.org/default.aspx Regards, Vikram ...Show All
Visual Basic "Could not instantiate ActiveX control
"Could not instantiate ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' because the current thread is not in a single-threaded apartment." i have a class Browser which has a browser control. now i am calling from my main form a delegate. and also my sub main method is <StatThread> System.Threading.Thread.CurrentThread.ApartmentState = ApartmentState.STA; but when ever a call goes to Browser Class an exception is thrown. any ideas ...Show All
Software Development for Windows Vista RegKeyOpeneEx constantly fails with error code 2, even though key exists!
Hey folks, my writeGeneralRegistry() function works great, but the readGeneralRegistry() fails miserably. It fails with error code 2 "reg key can't be found"... but when I booted up regedit, I can clearly see the key value, and it changes on every call to writeGeneralRegistry(). Any ideas PS: if anyone knows how to format code properly when you post a question, that would be ultra helpful. int main(){ testReg = 1020; cout << "test reg is : " << testReg; writeGeneralRegistry(); readGeneralRegistry(); cout << "test reg is now : " << testReg; pauseNow(); } void readGene ...Show All
Visual Studio Problem installing Vs2005 on Vista Feb CTP
I've seen this problem discussed on the forums before, bit with Vs beats. When installing VS2005 on Vista 2005 Feb CTP I get the message "Suite intergration Toolkit" and Fails to install. How can I get round this. Thanks. Hi, I had the same problem here ... This is a known problem as you pointed out ... Copy the VS2005 DVD onto your hard drive and launch install from there ... This solves the problem for me. Regards, Eric. ...Show All
SQL Server Sort by month
Hi, I've a field with month & year. I'm trying to sort this column. Something like this is my column values. April 2001 August 2001 December 2001 February 2001 January 2001 July 2001 June 2001 March 2001 May 2001 November 2001 October 2001 September 2001 April 2002 August 2002 December 2002 February 2002 January 2002 But I want to sort this like below. January 2001 February 2001 March 2001 April 2001 May 2001 June 2001 July 2001 August 2001 September 2001 October 2001 November 2001 December 2001 January 2002 February 2002 March 2002 April 2002 May 2002 I'm not finding any way to do this. If I sort this list by month, it'll ...Show All
Visual Studio How to intercept click on icon decorator
I have compartment shape with IconShape decorator on it and I want to provide some action with click on icon. Does anyone know how to do it Thanks, Alexey Hi, It's currently quite difficult to pick up clicks on the decorators - sorry! -- [June 06 -- no longer true, you can now pick up clicks on decorators. See further down in this thread. - Alan.] What you could do instead is to set up a context menu. The "How to" is quite long so I won't repeat it here, but look at section 4 of the Customization Guide, which you will find in Program Files\Visual Studio 2005 SDK\20 ...Show All
SQL Server Problem referencing a global temporary table
I'm having difficulty referencing a global temporary table in a stored procedure. My stored procedure will execute correctly for days on end, but then all of a sudden it will stop working and I will get messages like: Invalid object name '##TableName'. and Cannot drop the table '##TableName, because it does not exist in the system catalog. ========================================================================== In my stored procedure I am first creating my temporary table using the syntax below. I need to create a seed value from a parameter, so that is why I am using the SET @SQL and EXEC(@SQL) statements: SET @SQL ...Show All
.NET Development Search and copy strings from steam in txt file
HI, i made program that download html page as .txt file and open .txt file as steam in C#. Now i need to search this .txt file which i could load with streamReader, find the words i need to and paste them to the new file or database.. But i dont know how to use indexOf /to search the file/ with stream Could you help me please IndexOf(....) will give you the starting index of the word you are searching. The best approach i think is that , as you are searching for words, split the entire string by using the Split() function, this will give you array of words in your string. Now compare each w ...Show All
SQL Server Display Data Source name in Report Header/Footer
Good day, I apologize if this question has been asked before, but is there any way to display the name of the Data Source in the body of a report. One solution to fetch the server my data is coming from is to create a new dataset with the query SELECT @@SERVERNAME as [Server Name] but it would be nice to know the Data Source being used as well. Transparency is a big deal and this would be nice. Thanks in advance, Calvin ...Show All
Visual Basic How to Regex quoted expression
Hi I'm trying to get the attribute value from HTLM Tags. i've retived all metatags on a arraylist and now i'm trying to separate the attribute value from the string, can some one help this is the current code: Dim MetaCol As New ArrayList Dim RX As New Regex("<meta.[^<]+>", RegexOptions.IgnoreCase) Dim MC As MatchCollection = RX.Matches(Me.HTML) For Each M As Match In MC If Not MetaCol.Contains(M.Value) Then MetaCol.Add(M.Value) Next For Each S As String In MetaCol If Regex.IsMatch(S, "name=(Description):q" ...Show All
Visual Studio Team System MSDE was not installed with WSS
During intstallation (dual-server) of Windows SharePoint Services I used following instruction: To install Windows SharePoint Services Download Microsoft Windows SharePoint Services 2.0 with Service Pack 1 ( http://www.microsoft.com/downloads/details.aspx FamilyID=efdc7227-549c-4de1-a063-783f71a8bb2b&DisplayLang=en ) and save the file to your local hard drive. Run the downloaded self-extracting installer file (stsv2.exe). Note Windows SharePoint Services installs a special instance of Microsoft Desktop Engine (MSDE). At this time, Windows SharePoint services cannot be installed using the Team Foundation Server SQL Serve ...Show All
