-
Jan 30th, 2013, 01:27 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Update Resource assembly
Hi I was wondering is it possiable to add to a compiled exe resource, I was thining of making a small app to compile text files into a exe and then addd password to open it.
I know when doing this in VB6 you had to store the file at the end of the exe, but was wondering is there an easyer way to do it in .NET
Thanks.
-
Jan 30th, 2013, 09:56 PM
#2
Re: Update Resource assembly
What do you mean add a password to open it ?
-
Jan 30th, 2013, 10:58 PM
#3
Re: Update Resource assembly
You just add them as a resource... then access them through the app's resources class (I think it's under the My namespace) ... so your app would start up, ask for a pwd, if it's right, open what ever you needed... but...
Strings are strings are strings... doesn't matter if they are litterals like "Hello World" or resource elements... they will be unencrypted and completely viewable in a resource editor or decompiler... so you may want to encrypt them... and the password too...
-tg
-
Feb 1st, 2013, 04:47 PM
#4
Thread Starter
Fanatic Member
Re: Update Resource assembly
hi Thanks for the help I sorted it now, I made a little class that uses resources to package files into one big file. My idea is to make a king of text ebook compiler for text files.
here my class in case anyone is intrested.
http://www.vbforums.com/showthread.p...55#post4334855
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|