password protect my code in vb6
Hi there,
I have returned after a long time hope every thing on devX is going on fantastic as it was earlier.
I have a query if any body could solve it i wud b grateful, u can even mail me personnally on 'wadheramanish@yahoo.com'.
How can i password protect my code in vb6 without using visual source safe?
What i want is whenever i open my vb code, vb should prompt me for a password and then only show me the code.
Thanks
Manish Wadhera
'wadheramanish@yahoo.com'
# 1 Re: password protect my code in vb6
the easist (and free) way to do it is to package your code in a password protected zip file, otherwise there are third party applications that allow you to protect files or folders.
BTW why do you want to do it?
Marco
mstraf at 2007-11-11 17:26:10 >

# 2 Re: password protect my code in vb6
the easist (and free) way to do it is to package your code in a password protected zip file, otherwise there are third party applications that allow you to protect files or folders.
BTW why do you want to do it?
Marco
Hi!
thanks 4 replying, actually i develop and sell software and i often have to copy, edit and recompile my code in front of my customers and since their computers are on network, i fear somebody might access the code.
So i need to protect my code so that even if somebody else open it vb prompts for a password.
Manish Wadhera
wadheramanish@yahoo.com
# 3 Re: password protect my code in vb6
Just zip it with a strong password. Rename the zip (change the extension) and most folks won't know that they have the source code there...
Otherwise, you can't lock someone out of a project... not even using sourcesafe. If the code is on their machine, and unencrypted, then you can read it. Just open it in notepad if you want.
# 4 Re: password protect my code in vb6
I see. Well, even if you encrypt the code, when you are working on it you are exposed, if that computer is in the network, by any user with administration privileges. I do not know if some third party component allows a more strict protection to a folder, you may want to investigate.
My best advice is to bring your own laptop with you. Modify and compile the application using it, and then transfer it to the customer computers using some media.
Marco
mstraf at 2007-11-11 17:29:14 >

# 5 Re: password protect my code in vb6
If your installing VB on each computer you work on, doesn't that raise your licensing costs tremendously?
# 6 Re: password protect my code in vb6
Suggest you go with Marco's last suggestion, and transfer exe via a USB drive w/o connecting your laptop to their network. That way you also only need one installed version of VB.
gupex at 2007-11-11 17:31:14 >

# 7 Re: password protect my code in vb6
hi! everyone,
thanks a lot everyone for ur valuable answers.
actually most of my customers are schools and government milk plants, they have vb installed on their pc's already so i do not need to bother about installing vb on their pc's.
tranfering my exe through some other media as "mstraf" said came into my mind also but i need to hold my nose the other way, and i still think their must be a way to password protect vb. well i will keep on trying and if i can do that, may be through some command line parameters, i will share it with u all, thanks a lot for ur co-operation.
wadheramanish
wadheramanish@yahoo.com