Posts

Showing posts from February, 2009

Using Firefox (and IE) to debug your apps in Visual Studio

Image
Using Firefox (and IE) to debug your apps in Visual Studio The demand for Firefox is rising. If I may repeat my favourite feature: increasing and descreasing fornt size with ^+ and ^- is a delight for my eyes. Almost saves me from a new pair of glasses. It would be nice to start using FF in Visual Studio when building the app. Which is not that difficult but took some searching. Let me share with you how to set up FF in VS (2003). In the file menu is a “browse with“ option. Select this. Add Firefox to the list of supported browser and check “default“ In the options of your project set “always use IE“ to false That's all. Now FF wil be the default browser when you launch your app from VS. Breakpoints and everything work as usual. When your project leans heavely on IE, for instance because you don't want to miss smart navigation, you can instruct VS to keep using IE on a project basis. When you drop IE you also drop the possibility for remote debugging. But that's something

code for redirect to a page with out back button in explorer

< meta http-equiv="Refresh" content="0;URL=http://URL.html" /> code for redirect to a page without back button in explorer

Aspnet Retrive password C# 2.0‏

Dim password As String = Membership.Provider.GetPassword(userName, String.Empty) Asp.Net Membership Password Administration The Asp.net membership provider was designed to allow for self-service password management but through an understanding of the configuration options as well as a combined use certain provider methods, web site administrators can effectively manage member passwords. This article briefly summarizes the various settings and methods which can be combined to administratively manage passwords in an Asp.Net membership system based on the default SQLMembershipProvider. The following (web.config) configuration options define how the AspNetSqlMembershipProvider behaves: enablePasswordRetrieval – Enables/disables the membership provider’s GetPassword method. Note that GetPassword will always throw an exception if the user’s password is hashed. Default value is false. Requires the password answer unless “requiresQuestionAndAnswer” in web.config is set to false. enablePasswo

Installing Wine on Mac OS X

Installing Wine on Mac OS X This tutorial is for intermediate users who want to install and use Wine on their computer running Mac OS X. You should already know the basics of how to use the command line. If you don't, read this tutorial first. What is Wine? Requirements Part 1: Install MacPorts Part 2: Install Wine Using MacPorts Part 3: Install Windows Programs Using Wine Part 4: Run Windows Programs Using Wine Keeping Wine Up to Date What is Wine? Wine is awesome. No, I'm not talking about the kind you drink, I mean the kind that lets you run Windows apps without the Windows operating system. It's kind of Zen, when you think about it. Oh, and did I mention it's completely free, legal, and open source? Nowadays, Windows and Mac play nicely together. You can install Windows and Mac side by side and switch between them using Boot Camp, but that requires a reboot every time, and you can only use one operating system at a time. You can also use a tool like Parallels Deskt