How to Import Pictures from your iPhone on Vista
November 30th, 2008
If you are Windows user and need to import your pictures from your iPhone here is how you do it.
Plugin your iPhone to your computer with the supplied USB cable.
Add a Count Column to Your Gridview, Datalist or Repeater
November 30th, 2008
Found this great article on how to add a counter column to your data rich controls.
http://www.lazyasscoder.com/AspNet/Article.aspx?id=55&title=How+To%3A+Add+a+row+count+column+to+a+GridView%2C+DataList+or+Repeater
The above article is specific to a GridView. Here is an example with a Repeater control.
<asp:Repeater ID="repeater" runat="server">
<ItemTemplate>
<%# Container.ItemIndex + 1 %>
<%# Eval("field_name") %>'>
</ItemTemplate>
</asp:Repeater>
Add Items Dynamically to .NET Arrays with C#
November 30th, 2008
If you are in a situation where you need to add an item to an array you will need to use one of the collection classes such as the Arraylist. New values cannot be added to an array that has set values.
String Array Example
string[] list = new string[] { "one", "two", "three" };
foreach (string item [...]
Format FAT32 Drives Larger Than 32gb
November 28th, 2008
By default Windows XP will not allow hard drives larger than 32gb to be formatted FAT32. If you need to format a large hard drive to FAT32 (say for an external hard drive to make backups of your Windows and Mac workstations) you can a tool provided by Ridgecrop Consultatnts called Fat 32 Formatter.
Documentation and [...]
Dreamweaver and Disappearing ASP.NET Directives
November 28th, 2008
If you are working with Dreamweaver templates and your ASP.NET directives keep disappearing try the following.
Place <%–’comment–%> on the second line after your page declaration on your content pages. You can leave your template as is.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="default" %>
<%--'comment--%>
You do not need to set the <!– TemplateInfo codeOutsideHTMLIsLocked=”false” –> to true.
This is [...]
Move your Outlook Mail to Windows Mail
November 28th, 2008
If you want to use Windows Mail instead of Outlook you can import the messages directly into Windows Mail without any 3rd party utilities. I haven’t tried this without outlook installed but I don’t think it will work since the import process asks for your MAPI profile.
Fire up Windows Mail
File/Import/Messages
Select Microsoft Outlook
Select the Outlook profile [...]
Moving a Large Number of Files with Windows
November 28th, 2008
If you are ever in the situation where you need to move a large number of files in Windows and notice that explorer is not responding you can try the move command.
Open a Command Prompt
Windows + R + cmd
Run your move command
C:\> move /y C:\source_directory\*.jpg C:\destination_directory\
Explanation
/y – Suppresses the prompt to overwrite
*.jpg – This will [...]
Apache WAMP vhost with SSL Configuration
November 28th, 2008
If you are developing in a Windows environment and need to host multiple sites on your Apache development workstation or server here are some tips for setting up your Apache configuration.
Download and install XAMPP
http://www.apachefriends.org/en/xampp-windows.html
Verify apache is running after installation
<a href="http://localhost" target="_blank">http://localhost</a>
NOTE: If you are also running IIS you will need to disable socket pooling that [...]
The requested operation requires elevation Fix for Vista
November 28th, 2008
If you are try to run ipconfig on Vista as a non-Administator user you probably have seen this error.
The requested operation requires elevation
You can get around this error by doing the following.
Click on Start, or the Windows Logo in the bottom left
All Programs
Accessories
Right click Command Prompt
Select Run as Administrator
[...]
Visual Studio.NET Error List and Task List
November 27th, 2008
Here is a great article that explains the Error and Task List within Visual Studio. The Error List shows any errors and warnings within your project and the Task List helps you track your progress and mark items as completed just as you would with an external todo list application.
Read more at http://en.csharp-online.net/Visual_Studio_Web_Applications%E2%80%94Error_List_and_Task_List
[...]









