Halting Program Execution with VB6

Say for example you want to perform batch updates, but only want to do 100 records every minute. If you’re using a DLL or ActiveX EXE to do the job, the easiest way to halt program execution is to use the Windows API Sleep method. Just add the following declaration... [Read More]
Tags: vb visualbasic

Generate dynamic file downloads with ASP

Should you ever require to generate a download file from ASP, where the file doesn’t actually exist, but is perhaps the results of a query, here is the code. Works in IE4+ and NN2+. Without the “content-disposition” header, the filename the browser prompts to save is the name of the... [Read More]
Tags: asp