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.
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 9 hours left to enroll

615 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