Hi all, I am currently trying to make a program that will calculate a file size depending on the height width bit depth, and take the first 4 charachters or a description as well
as a date and create a file name for it. The inputs are as follows
Height - 640
Width - 480
Depth - 8
Description - trees
Date - 150604
The problem comes as I use vb and I am unsure of how to create an array to hold the first 4 chars of the desc and join it with the date and add a ".bmp" Extension. Idealy what the output should be like is as follows.
Height Width Bit Depth File Size Filename
640 480 8 300kb tree150604.bmp
Any help would be great, I will ask the question again if anyone can post a program, for double points.