G
Guest
I have an application that creates a database from a text file of DDL
(generated by Visio). Currently I have to deploy the text file with my
application and open it using the statement: SQL =
My.Computer.FileSystem.ReadAllText("CreateDB.SQL").
This works fine, but I would prefer not to have to deploy a separate text
file, and I would like to prevent the users from having access to this file.
Is there some way to easily embed the text file into the compiled
executable? If there is, I will also need to know how to open and read from
an embedded file.
(generated by Visio). Currently I have to deploy the text file with my
application and open it using the statement: SQL =
My.Computer.FileSystem.ReadAllText("CreateDB.SQL").
This works fine, but I would prefer not to have to deploy a separate text
file, and I would like to prevent the users from having access to this file.
Is there some way to easily embed the text file into the compiled
executable? If there is, I will also need to know how to open and read from
an embedded file.