securiy of vb forms

Posted on 2004-10-10
Last Modified: 2010-05-02
hi all.
as in case of MS-Word we can protect our documents using "Password to Open".
Is there any way to protect my VB project and form files from others (anything other than just saving the files in a particular directory that only i know).
Question by:soodsandeep
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

AbhishekSharma earned 24 total points
ID: 12274311
As such no option is available in vb for this. you can use winzip to protect your form from opening. in winzip you can protect ur files with a password.

And second option is :- u can download software from internet which make ur files or folder invisible to all the uses untill u provide the password in that software to make ur folders visible.
LVL 10

Assisted Solution

anv earned 23 total points
ID: 12274502
u can use VSS (or Visual Source Safe) for securing ur Forms...

add whole of your project to vss...

create your account using VSS admin...

LVL 10

Assisted Solution

fds_fatboy earned 23 total points
ID: 12274943
You could always change the Windows security settings on the source code folder so only you can see it. Other than that VSS (see anv's answer above) is a reasonable solution - it's what I use  at home and work.

Anyway - you should be taking regular backups, so if anyone does tamper with it - you will know.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 10

Expert Comment

ID: 12274953
Whoops - I got half way through overwriting a sentence and accidentally submitted

>> Anyway - you should be taking regular backups, so if anyone does tamper with it - you will know.<<

should have read:

Anyway - you should be taking regular backups, so if anyone does tamper with it - you can go back to your previous version.


Author Comment

ID: 12294779
Thanks all.
but can i use VSS on my standalone machine running on windows 98 to implement security. How ?
LVL 10

Expert Comment

ID: 12294849
yes of course u can...

just follow the steps above...

LVL 10

Expert Comment

ID: 12572454
Split points between all participants

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question