Archive for February, 2006

How to Build a Radio Transmitter

Thursday, February 9th, 2006

Here are the most promising directions and plans I found online.

Listed in increasing apparent order of difficulty:

http://www.flickr.com/photos/shufflehacks/78860730/
http://sci-toys.com/scitoys/scitoys/radio/am_transmitter.html
http://www.ee.washington.edu/circuit_archive/circuits/transmit.html
http://www.geocities.com/Area51/Nebula/3736/veronica.htm
http://www.electronic-circuits-diagrams.com/radio_circuits.shtml

[tags]radio,emitter,transmitter,radio transmitter[/tags]

Recursive Troubles in Python – Can I help?

Monday, February 6th, 2006

Hey there,

If you’re reading this then I bet you’re having recursion problems. Now, the thing is, everyone’s recursive problem is different so it may be hard for me to help you.
But I’m going to try anyway, first with a dose of general recursive advice and then the solution to my own specific problem.
Hopefully one or the other will help you or at least jog some gears in your debugging brain.
(more…)

Calling Another Program from VBA and Getting the Result

Sunday, February 5th, 2006

Here is the VBA code to do this: http://visualbasic.ittoolbox.com/code/archives.asp?d=1466&a=s&i=7

So download and extract that code. Then within your VBA project add DOSOutpus.cls from the zip file to your project.

Then here’s a function I wrote which serves as an example of how to use this code, and it is also just a handy function you may want to use. You just feed it a commandline string (e.g. “ping”) and get the result back.

Public Function popen_and_read(commandline As String) As String
    Dim objDos As DOSOutput
    Set objDos = New DOSOutput
    objDos.commandline = commandline
    popen_and_read = objDos.ExecuteCommand
    Set objDos = Nothing
End Function

This was a bit tricky to find and big thanks to the author of this module for making this thing. I would have never been able to do this on my own.

The terms I searched for were:

  1. VBA Spawn
  2. VBA System Call
  3. VBA Open Pipe

Getting Started with the FedEx API

Thursday, February 2nd, 2006

FedEx offers an API that lets you do some pretty interesting things such as getting ship rate estimates, checking service availability, the all important printing shipping labels, and more.
I’m hoping this short guide will get you up and running with the FedEx API as quickly as possible.
(more…)