sending a sketch without the ide

No. That won't work. You'll have to call AVRDUDE from your VB6 program. Do an upload with verbose output enabled, and study the output. You can ignore the compile/link stages, but you'll need to work out the upload sequence.