Re: How to hide jpg



Sample of what Mike is talking about:

PakFile: Packs Multiple Files To and Extracts From Single File
http://www.freevbcode.com/ShowCode.asp?ID=5883

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--


"Mike Williams" <Mike@xxxxxxxxxxxxxxxxx> wrote in message
news:e4uvt3$b6b$1@xxxxxxxxxxxxxxxx
<itko59@xxxxxxxxx> wrote in message
news:1148387397.229445.43780@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I have an application where I use about 30 jpg files. How
can I hide them in a file /lib/ instead they to be visible in the
working directory?

You could place them in a VB resource file, although I'm not sure whether
there would be any memory limitations with that method if your files are
large and / or numerous. An alternative would be to dump all of them into
a single data file headed up with some data pointers and perhaps some
"dummy stuff" between the files just to confuse people and then pull them
out of the data file at runtime.

By the way, I notice you are using a free anonymous email address and a
free anonymous news server. Where are you from?

Mike



.



Relevant Pages

  • Re: how write files to cd in VB 6.0?
    ... Chris Hanscom - Microsoft MVP ... Veign's Resource Center ... Veign's Blog ... >I want to write data file to CD, could anyone tell me how to find which ...
    (microsoft.public.vb.general.discussion)
  • Converting large single-file solution into separate data and interface files
    ... each table having 2-10 occurrences in the relationships graph), ... a single file. ... and redefining it to link to the new data file - this takes a lot of ...
    (comp.databases.filemaker)
  • Re: Build read-only file into exe file?
    ... > And I use stdio function such as fopento fread() to operate the ... > The content of the data file is constant. ... Open your resource editor in the IDE and import the file into a binary ...
    (microsoft.public.vc.language)
  • Zipping files and using them in a program... Is it possible?
    ... that are in a zip file or other type of *.data file (EXT would only ... availablity of viewing to users. ... Does anyone have a link or some resource they could point me to? ...
    (microsoft.public.excel.programming)
  • Re: resources help
    ... You want custom resource. ... In the IDE, open Resource View, right-click on ProjectName.rc node ... select the data file. ... (actually, any string would work, but RC_DATA is customary) ...
    (microsoft.public.vc.atl)