[2005] Preventing Users From Using IE?

Jan 6, 2009

Does anyone have any experience in writing VB.Net apps that control Internet usage? I have a friend that needs to have her office computers monitored in order to prevent the users from playing on the internet. I'm not sure what the best approach to this issue is.

View 9 Replies


ADVERTISEMENT

Capture Keyboard Events With The Intent Of Preventing Users From Being Able To Hit Ctrl + Alt + Del

Jun 28, 2005

I am trying to find a way to capture keyboard events with the intent of preventing users from being able to hit Ctrl + Alt + Del while my application is running. I've spent several hours poking around looking for inspiration but only finding unclear and half-baked examples. As such, I was thrilled to stumble across the article: Managing Low-Level Keyboard Hooks in VB .NET written by Paul Kimmel [URL] This article is insightful, comprehensive, well-written, and I thought it was a huge help. One little problem though, the code that was provided did not work, (I knew it was too good to be true!).

Now, Mr. Kimmel seemed very knowledgable and I think that he probably tested his code, so quite likely the problem is something that I'm doing wrong seeing as I am a newbie. As the article suggests I cut and pasted his code into a module in my project (solution I guess is the proper term), and I call the HookKeyboard method from a button on a form, and Presto! Nothing happens. Stepping through this code I see that the second line in HookKeyboard:

[Code]...

View 7 Replies

VS 2005 Preventing Buttons From Moving?

Mar 9, 2010

I have a win app with some buttons. Whenever I run the app, the buttons move away from their default location. Is there a way to fix the button in one location.

View 2 Replies

VS 2005 Users Permissions?

Apr 12, 2010

Now i'm working with users so for each user there are many permissions like add, update, view and delete, but i was thinking create a bit type data for each authorization, then i would load each one with 0 or 1 and show only the authorized form for the user. Could I do this? or there a better way to do the same?

View 7 Replies

VS 2005 Creating Different Instance For Different Users?

Aug 29, 2009

I have created a multiuser application and at different user login i want to create different instances of the application.How to do this? Can somebody give the concept of how to approach this?

View 14 Replies

VS 2005 Error On Users Computer

Jul 28, 2011

I have someone who downloaded my program using click-once. My program allows user to read a .txt file and then manipulate data The user selects the file to open by goin gto File>Open on menu strip

I have a user who gets an error message upon clicking on File Open

It doesnt open up the OpenFileDialog return ans unhandled exception

Method not found System Windows.Forms OpenFileDialog get_SafeFileName

Anyone have an idea what i should be looking at I cant re-create it on my end

View 16 Replies

[2005] Able To Set Permissions For Users As They Log Into Our Software ?

Jan 31, 2009

My problem is that i want to be able to set permissions for users as they log into our software. When the program loads the users get the logon screen. Then once authenticated (in SQL)they can access all of the forms. What i want to know is can i create some sort of access levels. So for example if i was to login to the software as admin then i can see the "system" menu whereas if i login as someone else they cant see the menu. Can it be done in SQL, like my authentication. Even if we added an extra column called access then if it was set to 0 you are an admin and if it is set to 1 you are standard.

View 3 Replies

VS 2005 - Sending Instant Alert To App Users?

Apr 15, 2009

I have a vb.net (VS 2005) application which downloads files from my webserver and shows its contents to user. And I make files at my end and upload files to webserver so that the application and download & process it. This happens at fixed intervals. Now I intent to send an instant alert to users who are using that application. For example: If I type a message and send "Hello everyone" then all those people who are currently using that product should get a popup with this message. My webserver is a hosted on a unix based system. It enables me to show html content and post files & stuff online. In order to achieve my goal of sending an alert which users should get immediately what do I need to do?

View 6 Replies

[2005] Grant Folder Access To All Users?

Jan 20, 2009

In my application, I create data and log folders that must be shared by all users using this computer. I did a lot of research, and I found a function that is supposed to grant full access to every users of a folder and its children. However if right-click properties on my folder, the access is unchanged. ow should I grant full access to all users of a folder and its children (I don't care who created it, all users should be able to read and write to that folder)?

Public Sub GrantAllAccess(ByVal Folder As String)
Try
Dim DomainUser As String = Environment.UserDomainName & "" & Environment.UserName

[code].....

View 5 Replies

2 Users Open Same Ado Record (SQL Server 2005) Via VB6 Front End?

Oct 26, 2009

is there a way to tell if the record is currently open (for editing) by another useregclerk 1 gets recordset for a person. pessimisic lock, client cursor.

View 1 Replies

VS 2005 Users Authentication - Authenticate Each User Every Time

Apr 12, 2010

I want to authenticate each user every time. in vb 6.0 i used this

Private Sub cmdIngresar_Click()

Dim rs As New ADODB.Recordset
Dim strConsulta As String

[CODE]...

So, my question is how could i modify it for vb2005, because vb2005 don't use recordsets?

View 4 Replies

VS 2005 Removing Folder From Users Programs Menu During Uninstall?

Mar 22, 2010

how to remove a Folder created in Users Program Menu under File System, when an application is uninstalled? During installation of the Application, a link is created at the users desktop and also in Users Program Menu. However during uninstallation the link for the Users Desktop and User Program Menu is removed, but the Folder created in the Users Program Menu remains.

View 4 Replies

VS 2005 - Setting A Users Desktop And Startup Program File Icon

Jan 25, 2010

I am trying to create a setup file which would automatically install a link to the executable in the User's Desktop and Startup--> Program. However despite following all the steps in the right order I do not see any short cut in the desktop and Start -> Program.

View 4 Replies

Administer Website (create New Users, Assign Users To Roles) From A Windows App?

Feb 9, 2010

I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an encrypted password format), and a SqlRoleProvider. I need to know if it's possible to administer the users (create new users, assign them to roles, etc.) from a windows application - the powers that be don't want any administrative functionality in the web app itself.Here is the membership provider definition from web.config:

<membership defaultProvider="MyProvider">
<providers>
<add name="MyProvider"

[code].....

View 3 Replies

VS 2008 Database Search - Using SQLClient That Loops Though All Users In A Users Table

Dec 29, 2010

I've got a code using SQLClient that loops though all users in a Users table inside each loop i want to preform another search in the UserOrders table, thus doing a count of all orders.

I get this error

HTML

There is already an open DataReader associated with this Command which must be closed first.

Here is my code

vb.net UserLists.Items.Clear()
Dim connection As New SqlClient.SqlConnection(My.Settings.ConnectString)
Dim command As New SqlClient.SqlCommand("SELECT * FROM Users ORDER BY PersonName",

[CODE]...

View 3 Replies

.net Desktop App : Log Users Application's Usage By Users After Remote Deployment?

Apr 3, 2012

1.I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back.

2.Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only.

View 2 Replies

Vb.net Desktop App : Log Users Application's Usage By Users After Remote Deployment

Apr 4, 2012

1. I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back. 2. Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only. Any alternative way to achive the target is just fine.

View 1 Replies

Get Path Of 'All Users' Desktop And 'All Users' Start Menu

Jun 10, 2008

I cannot figure out how to get this call to work.I have searched EVERYWHERE.MSDN is no help at all and the only thing I can find is this vb6 code that doesn't work in .net.I tried to convert it over but I've had no luck.Specifically I'm trying to get the path of the "All Users" Desktop and the "All Users" Start Menu.It would rock if anyone could help me out with this one.

View 5 Replies

Preventing SQL Injection?

Oct 25, 2010

I have this code

UPDATE OPENQUERY (db,'SELECT * FROM table WHERE ref = ''"+ Ref +"'' AND bookno = ''"+ Session("number") +"'' ')
How would I prevent SQL Injections on this?

[code].....

View 8 Replies

Preventing .NET From Saving The Project?

Dec 29, 2009

Is there a way to prevent the VB .NET editor from saving the project whenever IT LIKES TO ? It very annoying ; it so stupid that it saves things that I don't want to and that I didn't ask it to do .If I add a form and then close the editor , when I open the project again , that form is still there though I DIDN'T save it !If I change a declaration from Friend to Public and close the editor without saving , then when I open again the project , my modified code remains modified , though I DID NOT save it !Today I realized that if I delete some controls of a form and then close the Editor , then when I reopen it , the controls are missing for good ! It saved that modification by itself !

View 3 Replies

Preventing A Message Box Repeat

Feb 26, 2012

I've completed an assignment that requires me to search through two listboxes for a particular number.If the number is found, the text on a label changes to a dollar amount, otherwise a message box is displayed letting the user know that the requested number cannot be found.It works well enough, searches through the listboxes, finds the number, and displays the message box when it can't be found.However, the message box shows repeatedly up to five times.After the user clicks "OK" on the fifth appearance, the program crashed and displays the follow message."Invalid Argument = Value of '5' is not valid for 'index'.Parameter name: index."I don't know what's causing this, or how to fix it.I do use the index as a counter at a portion of the program...but I'm not sure where I went wrong with it.[code]Also there are five items in the second listbox...probably has something to do with it.

View 2 Replies

Preventing Application Elevation In .NET?

Sep 20, 2010

I designed an application in vb.net 2005 while using Administrator account on vista.After compiling the application it start requesting for elevation during startup.I will like to prevent this, because the customer is complaning

View 2 Replies

Preventing Coping Project?

Sep 27, 2011

i have develop small project in vb.net and also created setup for it with license key but when i install the project in C drive it can run on another machine with simply copy it how to prevent this piracy

View 5 Replies

Preventing Form Minimizing?

Sep 24, 2009

I have two froms when one from is opend it should not be minimized when mouse clicked outside the from like the message box in vb.net

View 1 Replies

Preventing Form2 From Moving?

Jun 28, 2010

I have 2 forms. Form1 and Form2 When the user calls for a new record to be created, Form2 shows modally centered in form1. I have disabled the control box and need to stop the form from being moved by the mouse. I do not see (Movable) in the properties list.

View 3 Replies

Preventing JIT Debugger From Popping Up

Nov 15, 2011

I have a program, I have published it, and I have been actually using it in my PC. Whenever it encounters an error, the JIT debugger comes out. How do I prevent it from popping up using try...catch blocks, or is there any other ways or code on how to do this?

View 3 Replies

Preventing Opening Another Window?

Dec 9, 2009

<VB.NET 2008>I created a MDI frame and I try to open a Winform by clicking menu.I do not want to allow opening same winform which is already opened by user.How do I check whether the winform is already opened or not?

View 5 Replies

Preventing Printing Of WebBrowser?

Dec 12, 2010

I am trying to prevent the user from activating a Print command for the content displayed in a WebBrowser. If the user hits Ctr P, the print dialog appears. I would think I have to trap this, but am not sure how to do this. There is no KeyPress event in the browser, and using the keypress event on the Form does not appear to trigger when text is typed into browser.

View 3 Replies

Preventing Software Piracy 2?

May 3, 2012

The original post provoked more responses than I anticipated. Therefore I have tried to draw them together with this post.There appear to be several schools of thought on this issue.One holds that I should not release time-bombed software because it is illegal.

Suppose I include code that often randomly checks if the user is registered and then puts up a message and shuts down the program if a check fails - rather like an improved nag screen. Would this be regarded as illegal?One holds that I should not worry about it because the pirates wouldn't buy my software anyway.

Maybe, but there's no fun in that.One holds that it is a waste of time because it is impossible to protect 100%.Maybe, but once again no fun.My view was that an honest user buying from my site would get a genuine copy. If a dishonest user got a harmful copy and lost the lot then I couldn't care less.Reed Kimble pointed out the existence of "fake sellers" who could cause harm by selling honest users a dishonest copy.This is a problem that I had not thought of and it poses a dilemma.

If I do include protection, then how do I distinguish between and honest user and a dishonest one? They will both be caught by the protection.should I not include any protection at all so that the honest user doesn't lose out, and just accept that the dishonest one gets away with it?Or nail the pirate and accept the honest loser as collateral damage?

[code]....

View 8 Replies

Preventing The JavaScript Injections?

Mar 16, 2009

What's the best way to prevent javascript injections in a VB.NET Web Application? Is there some way of disabling javascript on the pageload event?Recently, part of the security plan for our vb.net product was to simply disable buttons on the page that weren't available to the specific user. However, I informed the guy who thought of the idea that typing

javascript:alert(document.getElementById("Button1").disabled="")

in the address bar would re-enable the button.

Update:Aside from validating user input, how can I protect the website from being toyed with from the address bar?

View 5 Replies







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