I have a project with only 1 component added. Is there anyway to create an EXE that will not need an installer using VB6, but can run on any machine that can run a basic VB App?
This may be a foolish idea, but I have wanted to know. Is it possible to take a component such as an OCX and recreate it at the first execution with alternate data streams?
How did you get this file with alternate data streams installed on the machine though? I'd think you'd need an NTFS to NTFS copy operation with a streams-aware utility. They aren't likely to be picked up in a zip file or via a web download, etc.
And even then you'd still need to register the OCX.
I am thinking along the lines of keeping the binary for the OCX within the executable. Then at the first execution of the file, write the OCX and register it. Then each subsequent execution it will check to see if the file is there. If the file is there it will skip the recreation of the OCX.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.