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

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.
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

777 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