VS 2005 Get IP Address For A User?
Dec 2, 2009How can I get the IP Address for a user? Windows.Forms.SystemInformation.?
View 3 RepliesHow can I get the IP Address for a user? Windows.Forms.SystemInformation.?
View 3 RepliesI am working on a windows service. I need to transfer files over network using TCP/IP. Now the problem is I have only network username to connect. Is there any way I can find the ip address of a user using its network username.
View 1 RepliesI have seen other discussions raising this topic however I'm far from confident with the results I'm getting. I wonder if someone can add some more insight into this topic.We want to dynamically load the correct contact details based on the visitor's state in Australia.We are using IP 2 Location and went out to test the database. I posted on Facebook a request for everyone in New South Wales to click a link on my post, I stored the result. I understand this is based on trust but the results are fairly unconvincing!
RESULTS: http:[url].....
how can i retrieve the ip address of the user in asp.net and/or in javascript?
View 5 RepliesIm making a chatbox using VB.Net and MySQL nothing complicated alli need to do is create another border in my database something like:
Database:
| ID Banned |
| 1 192.0...|
[code].....
I have this code to show a user their internal IP address. How can I get their external one?
vb.net Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName)
MsgBox(h.AddressList.GetValue(0).ToString)
with vb.net 2005 exp
(1) how to read MAC address
(2) what are the fundamentals ( i mean which .dll to import & any cautions to be fallowed)
(3) is the MAC address is the unique id over a network
How do i put a IP address in four textboxes (like this):
192.168.1.1
[192] <-- this is textbox 1
[168] <-- this is textbox 2
[code].....
I want connect with other user through ip address and send them a message how it will don in vb.net
View 3 RepliesIs there a 'simple' way to determine the current user's email address ? I want to automatically send an email when an application detects an unhandled exception, but would like it to come from the current user.I found this on the net and haven't yet worked out what its doing (although it seems to work). Unfortunately, as I'm not sure how it works, I also don't know what drawbacks there are to this technique.[code]...
View 5 RepliesI am using a simple encrypt and descrypt for a IP address. The app on the remote server will encrypt the ip address and the client will decrypt it. However, when the client descrypts the IP I only get some of the IP address back. The rest is rubbish.
Before: 123.456.78.98
After: fheh&^G.78.98
[Code]....
I am trying to access VB.Net exe on a client system through LAN.Its working fine for server with static IP address.In case I try to access it with server having dynamic IP address, It doesn't provide access(config file containing server name).
In Order to access that exe with dynamic IP I need to specify current IP address of server in config file.
How it's possible to access that with server name as it's not feasible to change IP address in config file on daily basis
I used code below to get client ip with asp.net before but after I moved to VDS this function begin returning only my subnet mask which is 178.18.198.1 or 178.18.198.2.[code]...
View 2 RepliesI am looking for a tool that will accept an address from the user and return a 9 digit zipcode as well as validate the address or suggest an address, like on fexed or ups website. Its got to work with vb.net and asp.net Is there a tool like this available? any recommendation?
View 2 RepliesIm trying to make a email client, iv got it all working but im looking to validate the email address field to make sure that its actually an email address so it has a @ sign.Also one other thing is, when the client authenticates with gmail id like to catch the error if its not authenticating properly. Is there a way to do this?
View 7 RepliesI want to start a new project on PC and Mobile Phone. But i'm still have so many question about the communication between PC and Mobile.
My project List:
1) My idea is establish a connection between PC and Mobile through IP address in first, but my question is 'How to do it' ? izit same like PC to PC by using Winsock open a port to access? i'm using VB.Net 2005 for PC and Net60 for mobile.
2)My mobile phone Nokia 6220 Symbian OS is support GPRS/3G. Since the GPRS/3G can connect to the internet, izit means mobile itself have a IP address and service provider in order to surf the web? So, can i connect my mobile phone to PC through this gateway?
I am trying to download the source code from a web address using
For Each emailAddressLink As String In Form2.ListBox5.Items
'MsgBox(emailAddressLink)
Using MyWebClient As New System.Net.WebClient
[Code].....
I know you can use regex to verify an email address format, but is there a way to, outside of sending an email to the address to verify that an email address is actually a working email address?
View 4 RepliesWhat i want is :
There is one windows app ( made in .NET 3.5, VS2008, C# ) for Windows XP SP2 & SP3
generally users can change there IP or modify their IP Address.
Now,when my apps starts i dont want users to change there IP Address untill my app stops.
I have a database that has a text and a lot contain a free form of the person's address, city, state, and zip.
Incoming text would be:
John W Doe 1234 Big Lake Dr., Fort Worth, TX 76120 111-222-3333 jdoe@domain.net
Output of function should be:
1234 Big Lake Dr., Fort Worth, TX 76120
Here is some code I tried but doesn't seem to find anything:
Private Sub btnXMLTest_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnXMLTest.Click
lblOutput.Text = fnRegex("'John W Doe 1234 Big Lake Dr., Fort Worth, TX 76120 111-222-3333 jdoe@domain.net")
'other samples
[Code] .....
I know, it's a bit weird asking for a query to tell me my own email address right, I'll explain further...
I'm writing a COM add-in for Outlook 2007. One of the subs generates and sends an email to a particular address and this all works fine.However I have a need to have an option for the sender to be able to include themselves on the recipients list.As more than one person will be running this I cannot just set the sender's email address manually and would prefer to just add a check box on the form to enable this feature.
The only bit I'm stuck on is working out how to find the email address of the person sending the email. I could do it with an AD query against the logged on user but this needs to work for non-domain users also so need another method.
Are there any IP Address filters or masks available in Windows Forms as per following screenshot? A backslash shouldn't be allowed or it should be filtered somehow.
View 1 RepliesSocketException was Unhandled: Only one usage of each socket address (protocol/network address/port) is normally permitted I get this error every time i click collect a second time.
[Code]...
Can anyone point me to some code which can help obtain the network address from the host IP and subnet mask?
View 3 RepliesI made web browser which consist address bar that I use it to type addressess in it i.ewhen I type [URL] it opens [URL] but when I go to anther page in google it doesnot show it's link in address bar lix InterntExplorer or other international browsers so how to show any link or any sub page's link in my browser address bar ?
View 1 RepliesI'm trying to use the DHCP API (using the references on pinvoke.net) to retrieve a computer's MAC address when given the IP address but I can't get the code to work. I've run all the C# code on pinvoke.net through the C#-to-VB converter but I'm stuck now.
Here's what I have so far. The value of res is always 5 (should be 0). Thing is, I can't find any documentation on what the return codes mean
vb
Private Sub GetMACDim client As String = "1.1.1.1" Dim server As String = "0.0.0.0" Dim si As New NativeMethods.DHCP_SEARCH_INFO si.SearchType = NativeMethods.DHCP_SEARCH_INFO_TYPE.DhcpClientIpAddress si.ClientIpAddress = Convert.ToUInt32(StringIPAddressToUint32(client)) Dim res As UInteger Dim oInfo As IntPtr
[code]....
I have to make a basic program that: Create a program with a simple interface that
1. Asks the user type his/her email address into a textbox.
2. When the user clicks the "Evaluate Email Address" button, one of two message boxes pops up: "That is a valid email address!" with an "Information" icon, or "That is an invalid email address!" and on a second line, "Please retype your email address.", with an "Exclamation" icon
3. To be considered valid, the email address must -include an "@" symbol, and -it must end in either ".com", ".net", or ".org" or ".edu" (I don't know how to check a string and test if its last four characters end with any of these and make it say not valid email address. I think I might have to use a case statement)
I wouuld like to open outlook with new email with provided subject line, body message and attachment but no email address. User will enter the email address and click send . How can I do this?
I used following code but it gives me error for to address
Dim SmtpServer
As
New SmtpClient()
[Code]....
' Use Your work Group WinNT://&&&&(Work Group Name) Dim DomainEntry As New DirectoryEntry("WinNT://Wokgroup") DomainEntry.Children.SchemaFilte
[code].....
Im using VB2005 express and the app im creating uses the web browser control.Basically I want to know if its possible to make the web browser control connect through a different ip address and port from your default web browser.
View 7 Replies