How to install iOS and Android SDKs for Visual Studio 2013 Premium & Ultimate

I was going to install Visual Studio Community 2013, but it asked me to uninstall Visual Studio 2013. I started checking some demos about Visual Studio Community 2013 (you can check the demo from Channel 9) and noticed that you can install the same tools as in Visual Studio Community 2013 to Visual Studio 2013. So let’s get started.

Continue reading

CSS Tricks Quickie – Multiple Border Styles and Radius

Did you know that you can set multiple border styles for the sides of divs and images. By using the following css script, you can define any multiple borders you want:

div
{
border-width:5px;
border-style:dotted solid;
}

By using this with another css trick, the border radius, you can set some nice effects when hovering images. The radius css is below (all three must be include to work in all browsers):

-moz-border-radius:13px;
-webkit-border-radius:13px;
border-radius:13px;

Do you have some more simple tricks? Let me know in the comments 😉 Happy CSSing!

Resources

Are you a Brogrammer or a Programmer?

So I was listening to Windows Weekly and heard Mary Joe Foley, from Cnet, mention the word Brogrammer. Hmmm never heard that before!

What is a Brogrammer?

A simple search sent me to the UrbanDictionary.com and according to this site, a Brogrammer is:

A programmer who breaks the usual expectations of quiet nerdiness and opts instead for the usual trappings of a frat-boy: popped collars, bad beer, and calling everybody “bro”. Despised by everyone, especially other programmers.

I continued my search, and guess what I found.. Continue reading

Solution | Unable to write output file ‘…pdb’; unspecified error

Visual Studio 2005 / 2008

During this weekend, I started having a problem when building a solution in Visual Studio. It would load the following error:

Unable to write to output file Solution_Name.pdb

This Visual Studio solution has 8 projects, and a lot of files and folders. I tried several solutions that I found on the net, which worked for others, but none worked for my case including:

  • Delete the .pdb file from the solution – Didn’t Work
  • Delete the Debug folder – Still Didn’t work
  • Delete the whole obj Folder – Nothing Continue reading

Get data from an SQLDataSource to a DataTable and Bind Grid

This week, I needed to bind a gridview to and SQLDataSource. The only problem is that I need to include extra rows. How to do this? First I removed the binding code to bind the grid directly from HTML (in gridview remove the DataSourceID attribute).

Then I wanted to get the data from the SQL Data source and convert to a data table to insert and update the table as needed. Next is the code to get the data… Continue reading

ASP.Net 4.0 Validate Request

When creating a CMS sometimes you need to allow certain tags pass through the ASP.Net Validation. To allow tags be posted, in v2.0, you had to include the following tag in the page directive:

ValidateRequest="false"

But in .Net 4.0, this is not enough. You also need to include the next tag (httpRuntime) in the web.config file under <system.web>:

<system.web>
<compilation debug="true" targetFramework="4.0" />
<httpRuntime requestValidationMode="2.0" />
</system.web>

There is also other information on Error validation in .Net 4.0 here

Resources: here