How to send MMS with C#

Question : How to send MMS with C#, Answer : I need to send MMS thought a C# application. I have already found 2 interesting components: Does anyone have experience with other third party components? Could someone explain what kind of server I need to send those MMS? Is it a classic SMTP Server? , … Read more

Favourite performance tuning tricks

Question : Favourite performance tuning tricks, Answer : When you have a query or stored procedure that needs performance tuning, what are some of the first things you try? , Here is the handy-dandy list of things I always give to someone asking me about optimisation. We mainly use Sybase, but most of the advice … Read more

How do I do a simple ‘Find and Replace” in MsSQL?

Question : How do I do a simple ‘Find and Replace” in MsSQL?, Answer : Question is pretty self explanitory. I want to do a simple find and replace, like you would in a text editor on the data in a column of my database (which is MsSQL on MS Windows server 2003) , The … Read more

VS 2008 – Objects disappearing?

Question : VS 2008 – Objects disappearing?, Answer : I’ve only been using VS 2008 Team Foundation for a few weeks. Over the last few days, I’ve noticed that sometimes one of my objects/controls on my page just disappears from intellisense. The project builds perfectly and the objects are still in the HTML, but I … Read more

How to get name associated with open HANDLE

Question : How to get name associated with open HANDLE, Answer : What’s the easiest way to get the filename associated with an open HANDLE in Win32? , I tried the code posted by Mehrdad here. It works, but with limitations: It should not be used for network shares because the MountPointManager may hang for … Read more

Import Namespace System.Query

Question : Import Namespace System.Query, Answer : I am trying to load Linq on my .Net 3.5 enabled web server by adding the following to my .aspx page: However, this fails and tells me it cannot find the namespace. The type or namespace name ‘Query’ does not exist in the namespace ‘System’ I have also … Read more

How to animate the command line?

Question : How to animate the command line?, Answer : I have always wondered how people update a previous line in a command line. a great example of this is when using the wget command in linux. It creates an ASCII loading bar of sorts that looks like this: [======>                    ] 37% and of course the … Read more

Access a SQL Server 2005 Express Edition from a network computer

Question : Access a SQL Server 2005 Express Edition from a network computer, Answer : How do you access a SQL Server 2005 Express Edition from a application in a network computer? The access I need is both from application (Linq-to-SQL and ODBC) and from Management Studio , See this KB Article. Oh, and remember … Read more