Home > Software engineering >  VB development model selection software, want to invoke the image, with what method to deal with the
VB development model selection software, want to invoke the image, with what method to deal with the

Time:09-30

Everybody is good:
Selection using VB to develop software, I want to invoke images (around the whole program is about 50 pictures), ever thought about a direct call image path, but the leader said the best software best exe files and MDB files, only want to ask you what kind of convenient processing is better, my personal search on the Internet into two methods:
1) will be converted to binary images, into the access database,
2) packed into the picture dat file, use program calls

Excuse me everybody what better way to deal with this kind of situation probably I use, best method is relatively simple, thank you!

CodePudding user response:

"But said the best software leadership best only exe file and MDB file"
From this sentence, a is you mentioned in the MDB inside, the other one is on the exe,
In exe inside, which means that the image as a resource to invoke, establish the rc file, add the 50 picture.

CodePudding user response:

If the file can not directly into the database, though I personally not very admire it

CodePudding user response:

Put in the resource file is convenient... The compiled an exe file only,

CodePudding user response:

Database approach is more flexible, you can add or delete pictures at any time, and resources you need to recompile,

But use the database directly to save the file data, the query can be slow, if must be saved in the database, suggest at least use two table, a table of contents for fast query, another data table is used to store data,

CodePudding user response:

Considering you have 50 pictures, use the MDB (storage time compression, decompression) when reading, or directly in the catalog,
  • Related