Creating Inactive Users In VB?

Jan 26, 2011

I am having trouble creating inactive users in VB. I watched the tutorial [URL]but it is for C# and the code behind won't work in VB. I need the users to be inactive when they register and send the administrator an email saying someone has registered to be approved.

View 3 Replies


ADVERTISEMENT

Setting Active Users On SQL Server To Inactive During Blackout

Feb 23, 2012

For example, a user logs in and sets his status in SQL Server to active. While using the program, it suddenly blacks out. The status in SQL Server remains active. When the user logs in again, he can't access the same account in the program because in SQL Server the status remains active. How can I set the status to inactive during blackouts?

View 1 Replies

Creating Different Users That Have Different Authorization Using .net?

Apr 25, 2010

I am not capable of creating different users that have different authorization using vb.net.

View 5 Replies

Creating Win App To Communicate Between Users On LAN

Jun 4, 2012

My project is to create a windows application for communicating between users on our LAN, to both send and receive short text messages. I am attaching a rough draft of my Form in Basic, with notes about what I want in the different parts. I am only trying to find out if my goals are possible in VB-2010, before I invest a lot of time searching for and experimenting with the code... so here are my initial questions:

1) Is it possible to build such an application in Visual Basic 2010, and would I be able to use the free "Express" version I have downloaded, or would I need to purchase the full version?
2) Basically, each user would run the EXE program which is the main window (like the attached), and would see all users connected to the LAN (and listening on the specified port) in the ListBox... would receive incoming messages in the top window (output from a console module I have already got working), and be able to send to anyone on the LAN using the bottom window... Is all of this possible in VB-2010?
3) Is there any complications making this application work well on both Windows XP and Windows 7 (64bit) user machines?

I don't expect this to be easy by any means, I just want to know if I'm embarking on something that is possible or not.
Attached image(s)

View 10 Replies

Creating Report For Total Users Per Job

Jul 17, 2009

So I had a report I needed to create and needed to get the total users per job for a system that I was not (and still am not) very familiar with. I asked the developer for that system for the code and was told it was no easy task. He sent me a query that didn't look anything like a user count. I told him I needed something to get all the users for each and every job in order to put it in the report I was building for one of the clients. I was told that wouldn't really work. I looked at his code as it worked on a per job basis.

The following is an example of the "logic" used to get the user count per job in asp.net:
TRUNCATE TABLE1
INSERT username INTO TABLE1 FROM QUERY1 WHERE CRITERIA MET AND job = *passedinjob
INSERT username INTO TABLE1 FROM QUERY2 WHERE CRITERIA MET AND job = *passedinjob AND username NOT IN TABLE1
SELECT username FROM TABLE1 and put in a dataset
[Code] .....

There were no UNION statements in the query1 or query2, there was no select count(*) from table, there was no recordset.count..

View 1 Replies

Creating Settings For Multiple Users

Jun 28, 2011

I have a form which has a textbox named "textbox1", and a button named "Button 1". Button 1 is meant to be a submission for textbox1 (i.e. when button1 is pressed, the value of textbox1 is saved and remembered). I want the value of textbox1 to be remembered on any computer, but I need it to be update-able too. I tried using settings to do this like so:

Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextBox1.Text = My.Settings.TextBox1

[Code]....

but the problem in doing this is it only works for the current user. When the application is then put on another computer the value is blank.

View 4 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

Creating A Tool To Log Encountered By Users Of System

Jan 14, 2009

I haven't been doing a programming for awhile now. But, I was a VB programmer before. I will be creating a tool to log issues encountered by the users of our system. It will be a web based. I'm planning to create it in VB.Net. Any resources that you could share is greatly appreciated. I'm looking for a ready program that I could start with to speed up my programming.

View 1 Replies

VS 2010 Creating Settings For Multiple Users?

Jun 28, 2011

I have a form which has a textbox named "textbox1", and a button named "Button 1". Button 1 is meant to be a submission for textbox1 (i.e. when button1 is pressed, the value of textbox1 is saved and remembered). I want the value of textbox1 to be remembered on any computer, but I need it to be update-able too.I tried using settings to do this like so:

Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextBox1.Text = My.Settings.TextBox1
End Sub

[code]....

but the problem in doing this is it only works for the current user. When the application is then put on another computer the value is blank.

View 1 Replies

Creating A Function To Enable / Disable Bttns Based On Users

Mar 8, 2012

What i am trying to is create a function were by a user when he logs in, based on the rights given to them they can either use certain buttons . I no i have to use the enable and disable function.[code]if username is true and user_name is Sales then enable x y z buttons. i been trying looking around and reading and found the following which i cannot get to work with my system but they follow a similiar patten to what i want to achieve.[code]

View 1 Replies

Creating A Logon System To Check Users In SQL2008 Express?

Jun 21, 2010

I am currently creating an application to track timekeeping (a clock in/out system) and I am trying to work out the best way to do this.

I have a Main Form which contains buttons to ;

- Log in
- Out for Break
- In from Break
- Log out

When a user presses the "log in" button the logon form appears, the user then enters their username and password. What happens next is where I would like the help.

Process is as follows:Click Logon Enter Username/Password Check Logon Form for errors (eg no password etc) Check User is in Database (using SQL query) If user is in DB and username and pass are ok then refer back to the main form to perform Stored Procedure for what the user wants to do (eg logon or or out for break etc). Set label on main form to show user as logged on My question is should I be using a public variable and calling the main form again or in the user logon form having 4 options and using an IF ELSE to select the appropriate Stored Procedure?

View 3 Replies

Valid Delete Command - Creating A Form That Creates New Users And Then Updates Them To A Dataset

Dec 29, 2010

I am creating a form that creates new users and then updates them to a dataset, I have done this ok, but I am getting a runtime error when I delete a record. Please see below the exception being thrown

"Update requires a valid DeleteCommand when passed DataRow collection with deleted rows"

My code below

CODE:

So I know I need to add a delete command, but how do I write this in code and do I write it in the saveitem click event? I guess I would because the app crashes when I click save to update the dataset.

View 5 Replies

File I/O And Registry :: Creating A Text File, And Using It Among Different Windows Users

May 31, 2009

I created an application that when a user logs onto their Windows account, a Form is displayed outlining the current Computer Usage policy set by the insitution and gives the user two options either Agree or Dis-Agree. The two options are in the form of buttons, with events that depending on what the user clicked, will create a log text file at a specified location, with enteries of Date,Time,CurrentUser, and if they agreed or disagreed. If they agreed the application after creating/amending the file will then terminate, otherwise it will update the file and then force Windows to logoff the current user.

Now I made a shortcut of the .exe of the application and placed it in the startup for all users, and yes the application loads at startup for all the users following the procedures mentioned above. The problem I am facing is, that if the current user logs off, or is forced to log off, and another user logs onto Windows, goes through the whole ordeal mentioned above, the application is denied access to the logfile that was created under the previous user, and thus crashes.

So my question is, how can I created a text file using vb 2008 application, that is accessible by multiple Windows users. I have even tried changing the location of the created file to the shared folder, but the end result is the same.

View 1 Replies

Autoscrolling Inactive Richtextboxes?

Sep 6, 2011

How can I make inactive textboxes / Richtextboxes autoscroll? I have Multiple richtextboxes that are constantly being appended with data automatically and at the moment only the one that is active scrolls and all the others stop when the fill up. How can i get round this?

View 3 Replies

Hotkeys For Inactive Application?

Oct 14, 2009

how I would make hotkeys e.g "ctrl + 1" to do an action even when the application ism't the active window.

for example I am working on photoshop and then i press ctrl + 1 and my app appears in front of it.

or if I press "ctrl+2" a new window will open.

I need this to also work when the application is hidden and in the system tray as well as when application is visible

View 6 Replies

Sending Keystrokes To Inactive Window

Oct 24, 2010

I'm sending keystrokes to in inactive window. And I got that all good.

But now on my program there is a textbox pass, and I want to get that text, and send it threw postmessage. But It doesn't seem to work.


Dim pass As String
pass = textbox1.text
PostMessage(windowHandle, WM_KEYDOWN, pass, 0)

View 2 Replies

Make Subroutines / Properties Inactive In Classes?

May 27, 2010

I am working on a bitmap class module in Visual Basic 2010 that has an option to create a graphic grid on the bitmap.

[code]...

View 3 Replies

Make Windows XP Inactive While Program Is Running?

Jan 6, 2009

I am making a "fake Operating System" or "Virtual Machine" or what ever you want to call it. It has all of its own programs. I want Windows XP to stop running so that it will go faster and so on.Okay so I will obviously need coding on the Form1_Load and Form1_FormClosing Subs.Here is my attempt at coding it (Note that this is just the attempt at coding this particular part. It is not necessary to give you everything cause it would be to much and it might confuse people) :

Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
System(My.Computer.FileSystem.Drives.Join)
End Sub

[code]....

View 3 Replies

Mark Text On Inactive Form With 1st Klick

Apr 11, 2012

imagine following situation 2 forms, one form with some buttons and another form with a RichTextBox on it, if i click on the buttons the text in the RTB changes. Now i want to mark some words in the RTB with the mouse. The form with the buttons is the active form, if i click in the RTB and try to mark something, the form gets focus and comes to the front but if i move the mouse nothing happens. I have to perform a second click at first to mark something.I already tried a lot of things like setting focus to the form if the MouseButtonDown event fires, but all of that doesn't work. The only possibility that works if i set focus to the form when ever the mouse moves over the form, but this is annoying, cause everytime i move the mouse on the form the form pops to the front.How can i manage to mark the text with one simple click? Applications like OpenOffice or Notepad++ are able to do this as well.

View 1 Replies

Toolbox In VB 2008 Expression Is Grayed Out & Inactive

Oct 20, 2010

My toolbox was working previously & now is inactive for every program I pull up, old, new, and samples.

View 2 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

2008 - Getting Input - Finding If A User Has Been Inactive For A Time

Jan 16, 2009

I am trying to see find out if a user has been inactive for a certain amount of time by mouse and keyboard events. I want to be able to find this from windows not my form. I am lost as to where to start. I came across this "GetLastInputInfo Function" but am not sure if that is right and/or how to use it.

View 18 Replies

Declaring Object Variable - Inactive During Initialization Of Module?

Feb 16, 2012

Got a question regarding declaring a variable. Basically I have a module that writes to a text file using textwriter which is declared for the whole module to use at the top of the code. But what I want to do is clear the contents of the text file when the program is executed (using file.writealltext). The problem I have is that the file is obviously already in use as a result of the textwriter and the file cannot be modified because of this.

My question is: is there any way of declaring the textWriter object later on (not during the initial initialization of the module) without passing the object between functions? Setting the variable as inactive or something along those lines during initialization would be ideal.

View 1 Replies

WinForms - Adding Two Items As Active And Inactive In ListBox

Sep 29, 2010

I want to manually add two items as "Active" and "Inactive" in a ListBox. When the user selects "Active", I want to get the value "A" and when "Inactive" is selected, I want to get "I". How do I do this in VB.NET.

View 3 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

Enable Or Disables The Automatic Generation Of Inactive Button Images?

Jan 13, 2011

I am trying to get a checkbox to activate and deactivate a button. While the button is deactivated it is dimmed or faded out. While Actvated the Text and button is fully visable. I did use ctype to activate the button from the checkbox.

Private Sub COMMEDIT1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles COMMEDIT1.Click

COMMFORM1.ShowDialog()
End Sub
Private

[code]....

I found this code in the help section online to enable & disable an inactive button but do not know how to apply this to the button.Enable or disables the automatic generation of inactive button images.

View 4 Replies

Make The Internet Window (java Popup) Active/inactive All Time?

Nov 26, 2011

I want to be able to make an internet window (its a java game in a popup) that are "active" or even "inactive" all time.In example: I'm opening a MSN chat window, in the game a symbole next to my name changes to "ZZ", what i want to do is to make this "ZZ" won't appear

View 24 Replies







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