file

Image file dimension reader

A function to read the dimensions of image files (supports BMP, PNG, and DDS) without having to actually load the image into memory. Comes with example code.

Useful mouse co-ordinate saver/detector, with image positioning!

A useful program which can load and position (in real-time) images onto the screen, and stores click coordinates into a text file. very easy to use, and very flexible.
Use this for finding the coordinates of buttons, or where to place a picture onto the screen, or where to draw an object, ect. just load images onto the screen, and get clicking!
please credit if used!

File IO Data Engine

This FileIO Data Engine can load, modify, and save files in a format similar to the Windows INI. This is the syntax:

BOF
[field1]
key1: parameter1, parameter2, parameter3
key2: parameter1, parameter2, parameter3

[field2]
key1: parameter1, parameter2, parameter3
key2: parameter1, parameter2, parameter3
EOF

These are the functions for loading, saving, modifing, and extracting data from the engine.

Fio_init() - call this first
Fio_reset() - erase all data
Fio_addfield(name$) - add a field, call with field name

File Browser v2

This is a file browser I wrote some time in 2004. It uses no media, instead it generates everything itself. The function is about 500 lines long but the important thing is it works.

Also note that this was originally written for use in DBC.

One thing though, you may want to try and implement some mouse click resets. At the moment it is currently counting a variable from 0 -> 10 which, if you are using a fast computer, will result in very fast browsing!

Download any file from the internet with DBPro without ftp.

This simple function will enable you to download any file from any url, without ftp.

'from$' is the full url, and 'to$' is the full download path (including the filename and extension) you want to save it as on your harddrive. The function returns a value of 0 if it succeeded, 1 if it failed.

You could also precompile it as a separate executable, running in hidden mode (set from the project settings in the ide), and execute it from your main application so that it runs in the background without affecting your main app.


Theme & Icons by N.Design Studio