Log The Ip's Of The Users?

Feb 18, 2010

I want to log the ip's of the users that use my vb.net program.

First of all, is this legal?

If it is, how can i log the ip's in a textfile on a webserver?

Im thinking about a small non-visible webbrowser that sends the ip to a .txt file.

View 2 Replies


ADVERTISEMENT

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

.net - Get Users IP Address When Many NIC?

Oct 24, 2010

I am wanting to get the users IP address (the logged in user will be running the application under there user context on there local PC), but many PC's in our environment have multiple NIC's that have been added by VMWare Workstation, I would like to exclude these type of bridged connections and only show the "primary" NIC on the PC.The following function will get the IPv4 address, however on my test PC it is returning the bridged connection and not the IP Address of the network facing NIC.

Shared Function GetIP(ByVal computerName As String) As String
'Dim ipEntry As IPHostEntry = Dns.GetHostEntry(computerName)
'Dim tmpAddr As IPAddress() = ipEntry.AddressList

[code]....

My users have a mixture of DHCP and static addresses so cannot limit the NIC to either of these connection types. We tend to have a 172.16.x.x IP range, so is there a way to modify the above function so that it will only return a 172.16.x.x address?

View 2 Replies

Allow Users To Use The Enter Key Instead Of Just The Tab Key?

Jun 12, 2009

My form's KeyPreview is set to True. I want to allow my users to use the Enter Key instead of just the Tab key. I have the following code in my form's KeyPress event:

Private Sub frmDesigner_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
If e.KeyChar = vbkeyreturn Then

[Code]....

It doesn't like vbkeyreturn, which I used in Visual Basic 6.0. I think I must be close to having it right.

View 3 Replies

ASP.NET / VB ... Users Log On And See The Own Data Only?

Nov 19, 2011

I'm attempting to make a system that stores employees details...name address etc. I would like the users to be able to log on, see and change their own details only. Is this possible is asp.net and if so how? I'm really new at this so if you could keep answers as simple as possible.

View 2 Replies

Get All The Users Under A Tree From AD?

Mar 18, 2011

i am trying to get all the users under a tree from AD with the following code:

Code:
Dim RootEntry As New DirectoryEntry("LDAP://OU=Mayor,OU=IS,OU=Users,DC=*******gatn,dc=gov", "myusername", "mypassword")

[Code].....

View 2 Replies

Get All Users And Domain Name?

Mar 27, 2010

i am trying to get a list of domains' and users' name on a computer so that users can select to run a program in other identity, but I can only find the current user and I can't find any post about getting these. Is there any post or any Identity classes that can help me to get all users and domains?

View 3 Replies

Get All Users Of Windows?

Aug 13, 2010

How can I get all 'local' users of windows ?I know how to get the currently logged in username, but don't know how to get a list of all the users.

View 2 Replies

Get Rid Of Message When Users Run App?

Jun 22, 2010

When users run my vb2008 executable they get the windows security message "The published could not be published. Are you sure you want to run this software?"

Is there any way to get rid of this message when users run my app? Or do individual users need to change their security settings?

View 1 Replies

How To Create AD Users With .net

Sep 16, 2009

I'm writing a program in vb.net that automatically creates users from a database.It works fine, as long as there is no comma or there are no two spaces in the CN.

I am using the WinNT interface, so in fact it creates a SamAccountName and copies it automatically to the CN.When I create the entry manually in AD, I can add comma's and spaces without problems, so it should be a programming error.

[Code]...

View 3 Replies

How To Know The Users Online

Jun 8, 2011

My friend s doing an online project...He wants to know how many users(REGISTERED) are LOGGED-IN CURRENTLY in his site...i.e if i'm ADMINISTRATOR of this DANIWEB, i want to know the USERS CURRENTLY LOGGED-IN...

View 4 Replies

How To Switch Users

Jan 3, 2009

How to switch from users A to user B in visual basic? User A should not log off.

View 3 Replies

How To Use VB DLL Across All Users On Machine

Jul 17, 2009

How do I register a vb program dll for all the users of a machine? I have admin rights and have tried to register the dll using regsvr32 . Its get registered and is functioning only for my user id. If some one without admin rights come and login then it is not working.

View 1 Replies

Only Allow Users To Add New Records?

Jan 30, 2009

All I need to do is only allow the users to add new records, I am not using a datagrid rather a details form (i.e. individual text boxes etc...).

I do not want the users to be able to view current records or edit them. If I just used plain text boxes then that obviously would be simple but I've already designed my rather detailed forms using the data objects (so taking the fields straight from the Data Sources mainly because it saves me writing the connection strings and stuff.

Hope this is possible without going back to using normal text boxes and writing the connection string out my self, only because that's a long way back to go right now.

View 5 Replies

A Temporary Directory Available For All Users?

Aug 21, 2010

A temporary directory available for all users?

View 2 Replies

Access Users Cookies In VB?

Dec 11, 2009

I am trying to write VB Code that would allow me to access a users cookies from their PC. Is their any code snippits that any of

View 2 Replies

Add Users To SQL Server Programmatically?

Dec 30, 2009

So I'm creating this app that will install SQL server 2008 express, add some SQL users and then import a database.

Is there a way to create users for SQL express in Vb.net?

View 1 Replies

Adding Users To AD Using LDAP?

Mar 21, 2012

I'm writing an application that will add users to Active Directory. I'm trying to use this code to connect to the "Users" shared folder in AD

[URL]

However it adds the user in with the shared folders, instead of within the "Users" shared folder. Shouldn't CN=Users mean it will add it to the "Users" folder?

View 1 Replies

Allow Users To Create Application Add-ons?

Nov 24, 2010

I have a rather popular application, and I was wandering if I could allow users to create add-ons for this software. I was unable to think of a method of doing this, and I do not know where to start. If you have any questions in order to provide a better response, feel free to ask.

View 2 Replies

Allow Users To Download A File?

Apr 15, 2011

I'm using the following code to allow users to download a file.

Dim myFile As FileInfo = New FileInfo(strPath & strFile)
Response.AddHeader("Content-Disposition", "attachment; filename=" & _
Replace(myFile.Name, ".resources", ""))
Response.AddHeader("Content-Length", myFile.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.WriteFile(myFile.FullName)

This method has the annoying problem that any code after this line does not execute correctly.

It pretty ancient code, so I'm guessing there are probably better ways to do this these days.

View 1 Replies

Allow Users To Send Each Other Messages?

Jan 5, 2011

In my program I am using a MySQL database and I want to allow users to send each other messages ("Emails"). How can I go about something like this? I'm not wanting someone to do my 'homework'

View 4 Replies

Application Crashes For Other Users

Jun 8, 2010

I recently finished an application which I spent a long time making, but when I sent it to my friends so they could beta test, everyone single one of them said it stopped responding on start up. I took the .exe out of the project>bin>debug>application.exe and thats what I gave them, and it doesn't crash for me, so i was wondering what might be causing it to crash, or if they would need extra files for it to work properly?

Also, when my friend opened it, he says he got an error that says:
Name: Microsoft .NET Error

View 1 Replies

Best Way To Validate A Users Input?

Apr 12, 2010

What is the best way to validate a users input? I need to validate a "Name" entered in a textbox, as well as an enetered "Score".

View 8 Replies

C# - Tracking Logged On Users?

Feb 11, 2010

On a project I'm building for a client, one of the requirements is advanced user tracking. The client would like to know what pages an authenticated user is visiting, and when. I read through this post, which is probably the method I will go with. However, that seems a bit tolling on the database, and being that the client may use Azure to host this, I would like to keep the # of db transactions to a minimum [although this was not one of his requirements.. Anyway, I'm torn between the following two methods..

Method One: Log to db on every HTTP request using a HTTP module Method Two: Store in visits in session and log everything to database in one swoop during Session_End event

View 1 Replies

Can Webservices As Singltons With Different Users

Jun 23, 2010

I am developing an ecommerce app that is using the UPS shipping webservice. I have read that it is good to create a singleton so there is only one instance of a webservice at any time. My code for that is below.

Public Class Ship
Private Shared sync As New Object()
Private Shared _Service As New ShipService

[code].....

View 1 Replies

Checking For Different Users In Database?

Jun 21, 2010

I've been looking all around and i have not found a appropriate solution for my question.Here it is. I've a database table which has the field "username" and "password" and within the "username" field, there would be users like "admin","cashiers" etc. I would like to generate a login page using php that actually detects what are the users logged in as. additional info: I'm using Flash, php and MySQL. So i would just need the solution to how am i to detect.

View 3 Replies







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