Prevent User To Delete Files?

Sep 20, 2010

can FileSystemWatcher prevent the user to delete a file ?

View 3 Replies


ADVERTISEMENT

User Cannot Delete FTP Files

Apr 5, 2011

I created a program that allows my users to upload files to an FTP server and make folders. I have one problem. they cant delete the files yet. [url] you want to see the Upload page just enter random credentials). I was wondering if someone can help me make another form that displays files and folders and subfolders, maybe a listbox and when a user highlights something and clicks the delete button it will delete it or the rename button.

View 12 Replies

Prevent Exe Files To Be Copy?

May 3, 2009

small project .i have the exe inside bill which i will install in another system the bin files is ok it work finei need to make it secure . can u suggest me how to make it suceure so that if someone copy and use in another machine it cannot run and display message. it can be by registry or by dll files

View 3 Replies

Prevent Files From Being Deleted / Modified

Apr 7, 2009

so I know how to protect my data know. But how can I create a file that only I can open/delete/move?

View 6 Replies

CD Collection Prevent User For Duplication

Nov 12, 2011

I'm writing a program on CD Collection. My problem is write a code that prevents a user to enter a CD collection name that is already stored in the filename.txt.

The rest of my program is okay, but the only problem is something do with btnAdd control.

Here's my whole program:

Option Explicit On
Option Strict On
Option Infer Off

[Code].....

View 14 Replies

Prevent A Form From Being Resized By The User?

Jul 13, 2009

i have a form that needs to be maximized in vb.net. i dont want the user to be able to change its size or move it around.

View 5 Replies

Prevent User Closing A Process?

Oct 29, 2011

I am writing an application that needs to be running all the time and I don't want the user to be able to close it. I don't want to hide the process from Task Manager. All I need is that when the user tries to terminate the process, he has to enter a password.

View 9 Replies

Prevent User From Moving Form

Jan 7, 2009

I have the following settings:

ControlBox : False
WindowState: Maximized

Because I want the user to have a full screen application that they cannot close without using my Exit menu. The problem is, they can simply grab the title bar of the form and drag it, exposing the desktop!

View 3 Replies

Prevent User From Using Certain Chars In Textbox

Apr 29, 2010

I have a Textbox in which the user types in a name for a folder to be created. However, Windows does not allow the followin chars:

[Code]...

View 12 Replies

Prevent User Order Column

May 27, 2009

i want prevent user order column.i have a datagridview , it has allowuserordercolumns properties and it is set to false. But i didnt see so. i still order column.how can i prevent user ordering column.

View 6 Replies

Prevent File Opening (temporarily) On Certain Files

Jan 21, 2012

I want to prevent file opening (temporarily) on certain files. I've tried encryption, which is fine, but a bit slow for my purpose. The actual end product doesn't have to keep some computer hacker type from getting in, just the lay user. I was wondering if it was possible to encrypt only part of a file and reverse this after or what options I had.

View 1 Replies

Setup And Deployment - Prevent Moving Files?

Mar 4, 2009

I am creating a setup file using features brought by Visual Studio.I have some files which can't be removed from the application's folder. How to put the condition on it? or how to prevent user moves it after installation is done?Those files are critical (eg .dll).I already set the 'Hidden' property to 'true', but I think that is not the correct way :)So I try to find another way to do that.

View 1 Replies

Asp.net - Prevent Multiple Logins For A Single User?

Jun 9, 2011

How can I prevent a single user from logging in to my asp.net website from more than one computer at the same time?I have tried using the application server side state managenment but it is not work properly.

View 1 Replies

Code That Prevent User To Given Number Less Than 8 In The Text Box?

Sep 11, 2011

what is code that prevent user to given number less than 8 in the text box. If the user give less then 8 number then message box box will appear which show Minimum Number is 8. Here is my code

Private Sub btnregister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnregister.Click
If TELEPHONETextBox.Text.Trim.Length = 0 Then
MsgBox("Please Enter Phone Number", MsgBoxStyle.Question)
Me.TELEPHONETextBox.Focus()

[code].....

View 2 Replies

How To Prevent User From Resizing Program During Run-time

Mar 22, 2009

How do I prevent the user from resizing my program during run-time? I know how to disable the max and min buttons at the top, but I can still click the edge and drag it to resize my program. I want to be able to disable this feature so my program stays the same size the whole time.

View 2 Replies

Prevent A Textbox From Receiving User Input?

May 5, 2010

Preferably without turning the "Enabled" property to false, because I still need to output text from it.

I made a custom control in which there is a textbox but I want it used only as an output control, for showing text and stuff. Problem is that as soon as my form opens up the focus is turned to the textbox and I cannot catch my keyboard events on the form anymore(since the other controls are pictureboxes). I need a way to make this box "unclickable" or any way in which it is impossible to attribute the focus.[url]...

View 4 Replies

Prevent A User From Opening More Than One Form At A Time?

Mar 15, 2012

I have developed an application in VB.NET. It has 20 forms. All 20 can be opened from a menu strip control. The user should be able to open only one form at a time. How might

View 3 Replies

Prevent Duplicate Values Entered By User?

Feb 10, 2012

How do I prevent users from a inserting a duplicate value using SQL Query

datatype is VarChar(50)

e.g. the name field has already been defined as "Josh", I don't want it to be able to add another "Josh"

View 1 Replies

Prevent User From Click Checkbox On Listview?

May 27, 2012

Private Sub lv_main_ItemCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles lv_main.ItemCheck
e.NewValue = e.CurrentValue

[code].....

View 1 Replies

Prevent User From Entering Numbers Or Other Characters Such As $%

Nov 22, 2009

i want to prevent users from entering numbers and other characters such as (_,"*&^$#).... into my textbox-u know what i mean! I want my textbox to accept only alphabets. I have written a function that is able to check the numbers but i don't know how to check whether the text contains those special characters. Here is my code for the numbers. i'm sure, just as i'm able to check the numbers. i'll be able to check for those characters.

Public Function ValidateText(ByVal GetString As String) As Boolean
Dim Count As Integer = GetString.Length
Dim i As Integer

[Code].....

View 2 Replies

VS 2008 Prevent The User From Entering Record?

Jun 29, 2010

I am using a database (access) were i am not using a primary key field. I would like to prevent the user from entering records , if certain fields allready exsists.

I would like to check for 3 of the fields. When these 3 fields has been filled previously with the same data as the new data, i want to return a message.

I am looking at the fields txtWeeknumber.text & txtTopic.text & txtSubOutCome.text

Here are some of my

[Code]....

View 5 Replies

VS 2010 Prevent User O Modify Barcode

Oct 18, 2011

I am trying use barcode for input but prevent user to modify the barcode they scan, user are not allow to input the barcode number by keyboard. i am using vs 2010 vb.net

View 11 Replies

Prevent Caching Of Data - Only Allow To Download Latest Files

Jul 2, 2010

I'm using interop.msxml2.dll to open XML and txt files off an Internet server. The response that is received from the server is stored in my application's variables. I've recently noticed that the application doesn't always update the information when it goes to download a file that it has already downloaded in the past. For example, if it downloaded a file off the server when it started up, then when it attempted to download the new, changed file 5 minutes later, it would still return the same value as the first one. Even after closing the application, it would still return the incorrect, older value. How to stop this "caching" of data, and only allow the program to download the latest file off the server.

View 1 Replies

Combo Box Drop Downlist And Prevent Text From User

Feb 23, 2011

I have read through some of the other posts and I think what I want to do is slightly different. I have a combo box in VB ExpEd2010 that I want to allow the user to only select from the drop down list. However, I want to be able to set the value in the combo box to something that is not in the list. So the drop down list will have values 1, 2, 3 but I want to be able to write to the same combo box a value of 2.4, 1.2, etc.

View 13 Replies

Prevent A User From Entering Data Into A ComboBox Rather Then Selecting

May 14, 2012

Is there a way to prevent a user from entering data into a ComboBox, rather then selecting, or can anyone suggest a routine to catch and prevent entries so the user can be made aware the they are not acceptable?

View 7 Replies

Prevent The Settings From Being Lost After The User Renames The Executable?

Oct 31, 2009

my settings work, they work great to be exact. But theres a problem, if the user renames the executable to something else, all the settings are lost. Are there anyways to prevent the settings from being lost after the user renames the executable? I'm using My.Settings?

View 7 Replies

Prevent The User From Proceeding If A Specific Text Box Is Empty?

Apr 19, 2012

I am trying to prevent the User from proceeding if a specific text box is empty. All of the following lines of code SEEM TO work:

If txtTitle.text = "" Then.....
If txtTitle.Text = Nothing Then.....
If txtTitle.text = Nothing Then.....
(followed by a message box advising of the need for input)

The problem is, if the User enters a space (either accidentally or intentionally) all three of the above recognize the space as a valid entry.

View 4 Replies

Use 'Form.Show VbModal' To Prevent User To Interact

Aug 23, 2009

In VB6 i use "Form.Show VbModal" to prevent user to interact with other window than current one.I wanna know how to do this in VB.Net?

View 2 Replies

[2005] - User Controls - Prevent Them From Showing Up In The Toolbox

Feb 1, 2009

I have created a series of custom user controls for a wizard interface that I am making. Each user control represents one step in the wizard and really shouldn't be used outside of the wizard. The thing that is bugging me is that each wizard step user control shows up in the toolbox of components to insert into a form.

Is it possible to hide a user control from the toolbox? Better yet is it possible to hide a user control from other classes not in the same namespace of an assembly? Is this a good approach or should I think of a different approach?

View 5 Replies

Forms :: Prevent User Not To Leave Empty Word In Text Box?

Sep 9, 2011

what is code i should use if i want to prevent user not to leave empty word in text box after user click save button.Oh ya, i am using visual studio 2005, databse sql 2005 .Here is my code

Private Sub btnregister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnregister.Click
If MsgBox(" Are You Confirm", MsgBoxStyle.YesNo) = vbYes Then

[Code].....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved