Archive for the 'Programming' Category

Preventing File Locking in E-mail Attachment

Posted by Johan Cyprich on 28 Jan 2008 | Tagged as: Programming

I’m trying to attach a file to an e-mail that I’m sending using the SmtpClient class (from System.Net.Mail) using C# for ASP.NET. Everything works correctly, but the problem is that the file that was uploaded gets locked in the folder by Windows and I can’t delete it afterwards.

This is the code I used to attach [...]

Passing asp:FileUpload Data for Processing on Another Page

Posted by Johan Cyprich on 24 Jan 2008 | Tagged as: Programming

I’ve been trying to write code for a user to select a file for downloading using the FileUpload control (in ASP.NET), and then passing that information to another page that has the code to download the file from the user. After some searching, I found a Visual Basic solution that used DirectCast.

DirectCast is a type [...]

Creating a Safety Net for WordPress Plugin Integrations

Posted by Johan Cyprich on 10 Oct 2007 | Tagged as: Programming

Installing a WordPress plugin can be somewhat stressful for those who are unfamiliar with web design or programming. There are many plugins which require you to go into the PHP source code of a WordPress module and then add the function to call the plugin. Normally, the instructions just tell you to enter the function [...]

Zend Core: PHP Makes It Into Prime Time

Posted by Johan Cyprich on 09 Sep 2007 | Tagged as: Programming

PHP has been steadily growing in usage since the start of the millennium. It has overtaken Perl as the primary programming language for web applications and will likely dominate this area for many years to come. The language is becoming increasingly common in the corporate world in spite of the initial suspicion many had over [...]

C++09 - The New C++ Standard

Posted by Johan Cyprich on 16 Aug 2007 | Tagged as: Programming

Contrary to popular opinion, C++ is still the most powerful general purpose programming language. It runs circles around other languages and today’s compilers have RAD capabilities that only belonged before to languages like Visual Basic and Delphi. Many people consider C++ to be a mid level language because it has both high and low level [...]

« Newer Entries - Older Entries »