Re: Photo Storage Program
Hi,
Just as a thought, it may or may not be of benifit to store the images into the database itself as binary data, this way you dont need to know where to save/look for them (ie a network drive somewhere) instead you look for the database, this is also where you would store your tags and any other info.
adding a save button or email button can be done easily once you get to that stage of actually making the project.
For now, thats my 2 cents :)
Re: Photo Storage Program
Thank you for your input!
How would I compress and image and tag information into a binary file?
Sorry for the noob questions, I am new to vb, so I really have no idea as to how to go about this.
Does anyone else have any input on this project?
Where would be the best place to start?
How could I go about saving tags w/ photos, and searching photos based on those tags?
How can I import/view/save photos through this program?
Any guidance would be greatly appreciated!
Re: Photo Storage Program
Hi
With the input view save question it can all be answered by looking how to store image to a database. There is heaps of examples in the codebank. As for the tags I would store them in another column of the database perhaps even same table.
Cheers
Re: Photo Storage Program
If you're using Access then forget about storing the images in the database (no, honestly, really not worth the effort!) For now it might be better to simply record filepaths for the images so that you can concentrate on the functional aspects of the program anyway.
Re: Photo Storage Program
Honestly, I was hoping that I wouldnt have to use databases like Access - I really just wanted to make something from scratch, as this program has such specific needs.
What exactly do you mean about recording file paths?
Re: Photo Storage Program
I'm really not sure what 'specific' needs have to do with this. At the heart of the project is data storage. That's what databases do. The use you put to the data to is completely irrelevant. I suppose you could use resource files to store images and work from there but the need for multiple files would quickly make this impractical especially if you want to associate tags, descriptions and so on with the files.
In an SQL database you could literally store the image complete but whilst you're developing it might make more sense to keep the filepath of the image as the primary record instead. If this was a dedicated folder then only the filename would be necessary in storage and you can construct the full path in program.
Re: Photo Storage Program
Thank you for your input!
Again, totally new to Visual Basic - so please excuse my ignorance.
I assume that Access and SQL Databases are libraries for vb...?
Do they come with vb, or are these extensions that I will need to download separately?
I've done some google/youtube searches on tutorials, but didnt really find much.
There were some youtube videos, however the persons accent was very difficult to understand.
If you can point me in the direction of some good tutorials, or maybe give me a little jump start, it would be greatly appreciated.
Re: Photo Storage Program
a good place to start would be
http://www.homeandlearn.co.uk/net/vbnet.html
they cover access databases as well :)