Link to home
Start Free TrialLog in
Avatar of triphen
triphen

asked on

Embedded File within VB Project

Hey experts,

I have two files, a RPT and EXE file that I want to copy into a specific directory on execution on another EXE that I am compiling in VB6.

When I run App.exe I want it to copy report.rpt and app2.exe into C:\Test, but I dont want the report.rpt or app2.exe to be their own files prior to the copy, I want them to be embedded into app.exe....I hope that makes sense.
Avatar of eemit
eemit
Flag of Germany image

You can embed files into a resource file (.res), extract them at program start and delete them
at program end.
Avatar of triphen
triphen

ASKER

How do I do this?
ASKER CERTIFIED SOLUTION
Avatar of eemit
eemit
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of triphen

ASKER

Thanks!