An new year and a new look for PietschSoft.com is coming!
I am currently working on a new website for PietschSoft.com. My blog isn't going anywhere. Since it is the main content of my site I am making it the center of my site. I am working on making existing URL's for my blog still work with the new site. But, I'm not sure if I'll maintain compatibility for the URL of the RSS feeds.
For any of you who are consuming the RSS feeds; they may break when I launch the new site. If any of t... [More]
You have your ConnectionString for your ASP.NET web app stored in the Web.Config file. Now how exactly how do you get that ConnectionString out of there from within your code? Sample Web.Config section with a ConnectionString: <connectionStrings>
<remove name="LocalSqlServer" />
connectionString="Data Source=myDBServer;database=myDB;Integrated Security=True;"
1 <%@ Control Language="VB" ClassName="ClientCallbackControl"%>
2 <%@ Implements Interface="System.Web.UI.ICallbackEventHandler"%>
3 <script runat="server">
4 ''This is the variable that holds the client callback
This is the first time I ran into a situation where I needed to Join two tables (one with a varchar field and one with a varchar field that contains pipe delimited data) so I decided to post it for other who may not know you can do this. Below is a simplified example with solution of getting all rows of the first table whos values are contained in the pipe delimited field of the second table. This is really simple to do and you don't even have to use any User-Defined Functions or Cursors to... [More]
Heres a really small code sample on how to check which mode Windows was booted up in (Normal or Safe Mode). This works in .NET 1.x and 2.0.
1 'This code checks to see which mode Windows has booted up in. 2 Select Case System.Windows.Forms.SystemInformation.BootMode 3 Case BootMode.FailSafe 4 'The computer was booted using only the basic files and drivers. 5 'This is the same as Safe Mode 6 Case BootMode.FailS... [More]
Ever wanted to hear your favorite video game music played on piano?