Restrict Access To AVI Files?

Aug 7, 2010

I need to create a helpsystem for my work. There's two user types ... common users and admin users. The common user needs to se all stuff except admin stuff - admin must see it all.

I use Camtasia to make screencasts - AVI files, which I need to put in my helpsystem. Seams like I can't stream the AVI from embedded resources, so I guess I need to save the AVI files to the users harddrive.

I need to copy all stuff to the client PC in case of network problems.

how to I prevent common users going to their harddrives and watch admin AVI files?

View 8 Replies


ADVERTISEMENT

Restrict Drive Access?

Feb 3, 2010

I need to restict access to a drive using vb.net code

View 3 Replies

VS 2010 Drag Drop Get Filename & Restrict Files?

Jan 28, 2011

1) I'm dragging a file (.txt) into a rtb which works fine, but how do I get the filename? (messagebox whatever)

2) How do I restrict files to drop? (like a .exe)


vb.net
If e.Data.GetDataPresent(DataFormats.FileDrop) Then
Dim Files() As String
Files = e.Data.GetData(DataFormats.FileDrop)
Dim sReader As New StreamReader(Files(0))

View 6 Replies

Restrict Access To A Drive In Windows?

Feb 3, 2010

i need to restrict access to a drive in windows using vb.net

View 4 Replies

Restrict Access To A Tab In A Form Application?

Apr 25, 2011

I am building a simple windows form application in Visual Basic 2010 with two tabs. It's a program that will allow a business to enter contact information for display to an end user client.

One tab displays the business contact information for the end user client, which I have the data filled from a App.config file.The other tab acts as a settings page. The business fills in their contact data on the settings tab for the App.config file.

Once the business contact information is entered into through the settings tab, I want to be able to restrict the end user client access to the settings tab.It doesn't need to be highly secure, just a way to prevent the average end user from getting into the settings tab.

View 6 Replies

Restrict A User From Using A Double Clicking Event With Access Level?

May 10, 2009

I have a login page, which a user will have to enter username, password and accesslevel. Accesslevel is either 1 or 2. 1 for admin and 2 for users who are restricted from using certain functions. I have this module set up so that I can make use of the accesslevel throughout the forms that I have.

Module ModuleAccessLevel
Public AccessLevel As Integer
End Module

Arjun taught me how to make use of this module, so now I know how to restrict users from using certain buttons, toolstrips by doing the following:

[Code]...

View 3 Replies

Importing All Files In A Folder (all Excel Files) Into A Single Table In An Access Database

Aug 23, 2011

I am trying to import a bunch of excel 2003 files all with A:H columns and they are under the same headings etc. into a table in access 2003 database. This is a module in access im making. Im using a file search to look for every file that begins with Format (which they all do ) to get at all the files in the folder path. is there a more efficient way to do this? somehow select all files in a folder? and import each to the same table in access? The DoCmd.TransferSpreadsheet seeems to take each file path individually so I'm not sure how to get each file name in the folder to import it.

I have this at the moment:

Sub Import()
Dim db As Database
Set db = CurrentDb

[Code].....

View 1 Replies

VS2010 .NET And Windows 7 Access Denied On Writing To Or Creating Files In Project Files Folder?

May 22, 2012

Ok I know this question has been asked to death but I still have not seen a good answer. I have created an application in VS2010 using VB.NET. In my application I have an error log that is an XML file located in the Public gstLocalErrorLogLocation As String = Application.StartupPath & "ErrorLog"that gets written to in the event of an error so I can trouble shoot application easier. My application also downloads files from our FTP site and puts the files in Public gstLocalDownloadLocation As String = Application.StartupPath & "download"So I have files that get read and written to as well and created and deleted all in the Application.StartupPath which is either "c:Program Files(Application Directory)(Some Directory)(Some File)" or "c:Program Files (x86)(Application Directory)(Some Directory)(Some File)" depending on 32bit or 64bit Windows 7.

After creating the setup I install it on my test machine that have both Windows 7 32bit and 64bit.Everything in the application works great till I have to write to, delete or creat a file in those directories above. I know it is an access issue and the UAC. This will get installed on numerous systems so the options I have seen to change file or folder permission on the computers manually is not an option.What has to happen is after I install the application it just works like when you install it on XP. Some post have suggested that you us a user with administrator privilages or group which is all fine and dandy but the user I have used to test the application has all of that.

So what I am asking is how do you create an application with VS2010 in VB.NET that after creating a setup package and installing on Windows 7 will just work with out "Access to the path c:Program Files(Application Directory)(Some Directory)(Some File) is denied." If I have to install this on 100 Windows 7 computers it has to be a concreate no manually doing anything just install and work like when we installed on XP.

View 5 Replies

Add Folders And Files In To MSI And How To Access That Added Files In To Custom Action Of MSI?

May 24, 2010

Actually I want add some folders and files to MSI. Through custom action i want to copy that added folders and files to some destination/target folder.

View 1 Replies

How To Restrict The Use Of Decompiler

Jan 29, 2010

I have created an exe file. i am now worried whether my exe file will be decompiled using some vb.net decompilers.(sample coding) for some exe file named "hello.exe" to prevent the hackers from decompiling it. how to restrict the use of decompiler.i now want to make my code, invisible (or) not traceable (or) not understandable. even if it is decompiled.Also i came to know that , it is also possible to remove the obfuscation from the exe file.. so that the actual goal to trace the code is possible...

View 1 Replies

Amend And Restrict A Member?

Apr 7, 2011

Alright, simple as can be. I am stuck back doing my project again this year in college since i failed.So my question is if anyone can help me with the coding as to how i can restrict a member from the database, Also i wanna know if i am doing it right in terms of code for Amend.Try to explain it nice and simple.Sorry but unfortunately my college has blocked every single image host so i can't show ya all a screenshot but i can show ya the coding i have.

so far i have it laid out so user can input details of a member.I have 4 buttons on the form, one is Add, Amend, Delete and Cancel.I have the coding right for Add, Delete and Cancel.So i have a checkbox where if a member is restricted the change is placed on checkbox.

[Code]...

View 8 Replies

Forms :: How To Restrict TextBox

Oct 13, 2004

I want my textbox to take only letters as Input, no numbers or other keys.

And Viceversa that I want Only numbers as Input ,no letters or other keys.

View 11 Replies

How To Restrict User To Do Rating Only Once

Jan 15, 2011

How to restrict user to do rating only once..i m using AjaxControlToolkit Rating Control i VB.NET!

View 1 Replies

Restrict A Listbox To Only 1 Items?

Apr 15, 2009

How can i make it so my listbox can only contain 1 item at a time?

View 1 Replies

Restrict Image By Selecting It's URL?

Jul 21, 2011

I am trying to add Images from websites and I am facing poblem with an issue which is that when I am trying to go to google images and trying to add some Images and when I right click for some images I find "Copy Image URL" and for some I don't find it and I find "Copy link address".Now I want my users to restrict from adding the Images which contain "Copy Image URL"And I am attaching Images so that you'll understand me in a better way.

View 3 Replies

Restrict Input For A Textbox?

Feb 16, 2006

I have some textboxes that I only want numbers in and only want a range of numbers to be valid. Also I do not want to use NUDs. I already have the textboxes connected to functons and subs so I do not really want to change them.How would I do this?

View 8 Replies

Restrict Movement Of Mouse?

Nov 22, 2010

I have a picturebox (X=1200,Y=800) and there is an area in the picturebox starting at (X=32,Y=32 and is 256x256 in size). I want to keep the mouse pointer in that area for awhile.

Is there a command in vb that lets you do this? If not, can you restrict the mouse to one control?

View 6 Replies

Restrict Numbers For TextBox?

May 10, 2012

[code]...how to restrict numbers for TextBox?

View 6 Replies

Restrict TextBox Imput?

Sep 20, 2009

I Have Textbox where whatever is entered is to be used for a file name so I do not want certain keys to be entered, i.e. <>|\ /*: ? "
The code I have so far is

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress

[code].....

View 5 Replies

Restrict The Bandwidth Of An Application?

Apr 18, 2009

I'm using a webservice to update some data to server.my webservice is written in asp.net and vb.i'm invoking it from a windows application(vb.net) but when my webservice is running it uses the complete bandwidth of my internet connection. is there any way to alllocate a particular bandwidth to this webservice sothat it wont affect other applications using internet?

View 5 Replies

Restrict The Input On An InputBox?

Oct 6, 2009

I am wanting to restrict the input on an InputBox and I am confused about how to do that. I know what to do on a text box to restrict input to numbers, the ".", and the backspace key, but I cannot figure out how to tie the input restrictions to the pop up InputBox. Do InputBox 's have an object name attached to them? Or are they just called InputBox.whatever?

View 8 Replies

Access Box.com Files Using VB?

Mar 15, 2012

We have some elaborate VB Excel macros that pull data in from various files. Now that we have switched over to using box.com as our file system, we would like these macros to read/write the required data to files stored in B

View 1 Replies

C# - Restrict Same User To Login From Different Machines

Jun 8, 2012

I have a ASP.Net Web application hosted on a server. I want to restrict same user to login on different machines over the network connection but with certain conditions to be satisfied. So I thought of adding three new columns to the User table so that we can track if same user is logged in on same or different machines.

Those columns are like :
IsLoggedIn : To check if the particular user is already logged in or not.
SessionID : To check if the same user instance is opened.
IPAddress : To check if the same user is on same or different PCs.

This should satisfy some of the below conditions, but it fails to satisfy some of them. Conditions are as follows :

Both computers are on the same LAN.
Each computer is accessing the application over the internet from different locations.
Each computer is accessing the application over the internet from the same location.
Some of the application hosted which means that IP address alone is not sufficient to distinguish different computers.
Some users just close the browser without logging out. So sessions may not be ended at this situation.

How to accomplish all these conditions to satisfy with my application ?
Mainly 4th and the 5th .

View 1 Replies

Restrict Certain ToolStripMenu Items To Certain Users

Jan 22, 2012

Using VB.NET 2010:i'm making a simple "launcher" application for our work applications. I have already created the ToolStripMenu that contains the menus I want. They will be arranged like so:[code]What I need to do, is restrict access to the Admin menu, based on the Environment.UserName variable. Ideally, I would like to have it not even render - but if the only option is to have it greyed out, I am okay with that as well.

View 1 Replies

Restrict Desktop Application Only For 1 Computer?

Mar 11, 2010

Is it possible for me to restrict my desktop application only for 1 computer..

View 7 Replies

Restrict Duplicate Enties In SQL Database?

Jun 10, 2011

I have some problem in validating duplicate values while saving & updating my records to SQL database. I have following codes:

1. Decalaration Code
#Region "Declarations"
'Declaration for Navigation

[code]....

View 2 Replies

Restrict Edit Option And Some Pages?

Sep 20, 2011

I have a differenct users in my software (Windows based application), i want to give the access according to the user rights..

For Example

Admin Login can able to access and edit all the forms User Login can able to limited access to edit and view the forms Employee login can able to view the forms only

View 1 Replies

Restrict Input Of A Textbox To Only Numbers?

Sep 8, 2009

i want to restrict input of a textbox to only numbers but am doing it on asp.net, so i cant check for each character that is being inputed cause it will cost me a post back and thus lots of time?

View 1 Replies

Restrict Input To A Rich Text Box?

Apr 3, 2010

i am trying to restrict the input for a RichTextBox to certain values. I am trying to only allow Letters, the Backspace button and the Space button. The letters and backspace button work as expected but the Space button does not, i found the characters of the keyboard from this page but space is not working and it does not accept it,

View 1 Replies

Restrict Renaming A Exported File?

Feb 6, 2010

Is it possible to restrict renaming a exported file in vb.net?

View 1 Replies







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