grab our rss feed

stevienova.com

Homepage of Steve Novoselac

Entries Tagged ‘Development’

VBA vs VB.NET - turn bytes into bitmaps

So, recently working on some things, I have noticed the HUGE difference between VBA and VB.NET, specifically with turning bytes into bitmaps.. (assume GiveMeBytes() returns a byte array that is a bitmap)
VB.NET:
Dim image As Byte() = GiveMeBytes()Dim memStream As MemoryStream = New MemoryStream(image)Dim bitImage As Bitmap = New Bitmap(System.Drawing.Image.FromStream(memStream))
bitImage.Save(”C:\test.bmp”)
 
VBA:
Dim image() As Byteimage = GiveMeBytes()
Dim bitImage
bitImage [...]

Leave a Comment | 1,511 views

Programming Home Projects - Like Playing Nintendo?

Ever since I started programming, I have always had some crazy idea on the side that I would be working on, some project, some program I could write. A few have seen the light of day (Fat Finger Media Center, Pocketblogger, amongst others..). I was thinking tonight, and it dawned on me. Doing development projects [...]

Comments (6) | 290 views

Source Control At Home: Subversion (SVN/TortoiseSVN)

Today, Joel asked me what to do to get source control going at his new job since they don’t have any. He mentioned I have never blogged on SVN or TortoiseSVN at all, so , here goes :)
Currently I am using Team Foundation Server (TFS) - which is nice, integrates with VS2005, etc. But really [...]

Comments (2) | 760 views

Importing Data From Excel Gotcha - The Top 8 Row Rule

I have ran across this a couple times now, I actually had a blog post draft written up for this but never got around to finishing it, well this week I ran into the issue again, so here it is.
Importing data from Excel (using whatever - C#, VB.NET, SSIS, Access, etc) - you have data [...]

Leave a Comment | 373 views

Installing Fonts Programmatically on Windows

Working on a project, I came across the need to install a font on a machine. Now, manually, you can just right click on the font->install. Or I am pretty sure you can just copy into %windir%\fonts\ and it then it works, but it might not be usable until you reboot, I am not a [...]

Comments (3) | 803 views

Route: Saturday Night Programming after the bars..

OK, I have to admit, this is weak. But, if you want to learn how to create an infinite loop, with one word, this is it. Route.
I happened upon this maybe 5-6 years ago, when we ended up having to set static routes on computers because of some goofy office politics, but anyways..
Create a batch [...]

Leave a Comment | 230 views

1729 - Saturday Night Programming before the bars: Natural Numbers…

Ok, so this afternoon I watched the movie “Proof” - really good movie. In the movie, they talk about the number 1729, about how it is the smallest number expressible as the sum of two cubes in two different ways. It also is a natural number - when its digits are added together, produces a [...]

Leave a Comment | 231 views

Real World IT: Backing Up Cisco Routers using .NET

Usually, in a company, there is a “development” department and a “IT” department, and usually the departments don’t really work together. Development is focused on delivering business value through coding applications for end users or B2B clients. IT is busy making sure the corporate network is humming along, and that other internal issues related to [...]

Leave a Comment | 219 views

Microsoft Popfly: Is This The Future of Application Development?

This is a screenshot of a mashup I created today using Microsoft Popfly. Is this the future of application development? Well, short answer, maybe.
It has a long way to go, that is for sure. First off, only services that have “blocks” available are able to be used. There are many services that don’t have [...]

Leave a Comment | 109 views

TFS Team Build, TFSBuild.props and Visual C++

Team Foundation Server is a pretty sweet setup. It integrates source control into the Visual Studio IDE, and makes it easy for teams to work on projects together. With a little tweaking you can set up Continuous Integration and nightly builds. There are many different ways to set up your project layouts and references, which [...]

Leave a Comment | 265 views