Jeff Lewis's Q&A profile
Visual C# Extracting the summary tag at runtime
Given a .Net object, I need to loop through it, printing out the summary tag information for each field/method, along with the "param" tag contents for each method parameter. Is there any way I can read the summary tag information for an instantiated object at run time Hi, just iterate through the methods of your object and for each method you iterate trought its parameters Using System.Diagnostics; U ...Show All
SQL Server Conversion between data types
Lets say I execute: SELECT hashbytes ( 'MD5' ,' IMTIAZ' ) Which returns: 0x60D164C6B64EE81C7E7395C01D838FEE How do I get a varchar: 60D164C6B64EE81C7E7395C01D838FEE Not converted. How do I get the 0x removed from the string Regards Imtiaz I have been googling to find a solution to this question..... I have acome across a few places to use the xp_varbinto ...Show All
SQL Server Analysis Services
How do you grant just read access to the cube data to an end user Thanks, Edwina Derrick I am not sure I understand what you mean by security features with roles and such in AS. I set up a role and gave them read access to the dimensions. This was not enough. I gave them read access to everything and they still couldn't view the data. Once I granted full administrator rights to the cube they could read the ...Show All
Visual Studio Team System I don't want it. How do I downgrade from Universal to Professional (with a refund, of course)?
1. Currently, I'm using Subversion, Gemini and TestDriven.Net. 2. you're forcing me to transition while changing the purchase conditions (remember what Universal meant ) 3. VSTS is way over the head of the one man or small team projects I usually take part in 4. I just don't like the divisions, but I guess you heard that one a few thousand times I don't know, maybe you're just trying to get me to use the Express versions ...Show All
Visual Studio To Microsoft: Sporadic COM exceptions adding/removing commandbars and buttons from Visual Studio add-ins
Hi Microsoft people, My add-in adds buttons to built-in commandbars of Visual Studio and also it creates several commandbars with lots of buttons. It is my painful experience (from user bug reports) that the Commandbars of Visual Studio .NET 2002/2003 and VS 2005 are very fragile and cause sporadic COM exceptions in non-reproducible circumstances. When a user reports this, my first question is: "Is it reproducible " and the answe ...Show All
Windows Forms Failed to load resources from resource file. Please check your setup.
I am attempting to run a .net windows form application on a Windows 2000 machine. But when I load the application it does nothign for 20 second then returns the error message: "Failed to load resources from resource file Please check your setup." At ...Show All
Visual Basic FAXCOMEXLib - Operation Failed
I have an EXE that is scheduled every 10 minutes. It has been working successfully for over 6 months. Suddenly, it breaks. If I reboot it works for a couple faxes and then breaks again. Here is the block of code that it is failing at: FaxDocumentClass fd = new FaxDocumentClass(); fd.Recipients.Add(sFormattedFaxNumber, sRecipientName); fd.DocumentName = sDocumentNameTag + sRequestId; fd.Body = sFile; sContext = "12"; fd.Connecte ...Show All
Visual C# DateTime SQL Statement Problem
Hi, I am using these SQL statements to extract data from MS SQL 2005 Express but I am not getting any records maybe because the appointment_start field is datetime field. I tried Date(appointment_start) but i got Syntax error. "select * from appointments where appointment_start between '" + DateTime.Now.ToShortDateString() + "' and '" + DateTime.Now.ToShortDateString() + "' order by appointment_start, a ...Show All
Smart Device Development Upload Excel records to Oracle database using C#
Dear all, As the subject above, would you all tell me how to do it Thanks! Regards Ron Please see answer to your previous post here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=291053&SiteID=1 Note this forum if for devices only. Unless you’re asking about Pocket Excel, you're in a wrong forum. ...Show All
Visual Basic Casting arrays with template
What's wrong with the following code Compiler complains that TFrom is not derived from TTo. Public Class ListCast( Of TTo, TFrom As TTo) Public Shared Function Cast( ByVal fromArray As IList( Of TFrom)) As IList( Of TTo) Dim arr(fromArray.Count - 1) As TFrom fromArray.CopyTo(arr, arr.GetLowerBound(0)) Return DirectCast (arr, TTo()) End Function End Class Hello Greg, the following code works. But i ...Show All
Windows Forms SeedSpreadDistanceAttribute
Hi, Does anybody know why this is not being used This is not being used. And it won't be used in any future versions AFAIK. ...Show All
Visual Studio Team System Adding users/ groups with "/" char in the caption of the name
Hi, I am running Team foundation RTM. When I try to add windows domain users to one of the security groups I get the error: "Team Foundation Server could not resolve the user 'XXXXX/XXXX'. The user or group might be a member of a different domain , or the server might not have access to that domain. Verify the domain membership of the server and any domain trusts". I noticed it only happens with users ot group wh ...Show All
Visual C++ Manifests in VS2005-- What are they?
In my experience, manifest files have enabled the Windows XP control themes in applications. That is all I know about them. Can anyone explain what manifests are, and how they are used I also noticed that Visual Studio 2005 Professional supports embedding manifest files. Does this mean the IDE is capable of automatically making applications support Windows XP control themes Thanks ahead of time. I tried with ...Show All
SQL Server SQL Server has encountered 1 occurrence(s) of IO requests taking longer than 15 seconds to complete on file [] in database
Recently we have moved our SQL Server data from old SAN storage devices to new devices and from the day the move occurred, we are getting "SQL Server has encountered 1 occurrence(s) of IO requests taking longer than 15 seconds to complete on file [] in database" error in our sql server error log. I am not sure, if this error is from sql server or from disk IO operations. Can anybody tell, why this error happens and what could be the ...Show All
SQL Server Unable to get snapshot agent to initialize
I am unable to get my snapshot agent to initialize. When I start the "View Snapshot Agent Status" and press the Start button, it appears that the snapshot agent attempts to starts and then it doesn't. I have configured the a distribution server and need to push a replication to another database, both can connect, etc. I used the wizard to configure the distributon server and subscription server. I am using AdventureWorks, and am ...Show All
