Detecting External IP Address?
Aug 13, 2005
How can I detect the External IP Address of machine which is running my Application. By External IP address means that IP Address through which PC running my Application is accessible through Internet. and not the local IP Address .
View 4 Replies
ADVERTISEMENT
Jan 28, 2009
I am writing a usability testing application, it starts the screen recording, gives the user tasks, and then when finished brings up a survey and stops the screen recording. My problem lies in the last part of this process, because the screen recording app brings up a msgbox when recording is over saying where the file is put and then when that is closed it brings up the screen recording application. I am trying to block the user from seeing this so am currently using the following method.
Private Sub WatcherHandler(ByVal sender As Object, _
ByVal e As System.IO.FileSystemEventArgs) Handles FileSystemWatcher1.Created
Dim Camtasia As Integer
[code].....
Basically when the msgbox from the screen recorder comes up it means a file has been created...so the folder is watched and when the file is created the msgbox is checked for, when it exists a short timer is enabled and then knowing the window exists it is hidden using showwindow findwindow approach. Although this approach does work, Camtasia needs to be closed and re-opened after in order to record again and for some reason it does not always work.
View 1 Replies
Apr 17, 2009
I need to be able to detect when an external program closes so that I can start another event within VB 2005. I have tried to do this by monitoring the processes on my computer. The problem is that this programs comes up as some weird sub-process. It has an Image Name, which is indented from the other Image Names, and it shows that the User Name is the Administrator. This is the only information you can get from the Processes tab. There is a Task Name under the Applications tab, however. I was wondering if there was some code to monitor the Applications tab instead of the Processes or if there is yet another way to do this.
View 1 Replies
Apr 1, 2012
I want to develop a function that will return the external [public] IP from my router.
Not the Internal [local] IP, something like 192.168.1.X.
But something like this 216.XXX.XXX.XXX
View 3 Replies
Jul 25, 2011
Does anyone know how I could get my app to show the ISP of the machine it is running on, I can get internal and external IP addresses, just need to know if possible and how to look up ISP from this information[url]...
View 13 Replies
Dec 5, 2008
I'm using VB.NET 2003 Application program. i need to get External IP Address (internet). i searched internet and found come codes and tried that...i tried this code... but it returned my internal IP Address...
Code:
And i tried this code too...
Code:
But its always returns (m.fail) instead of (m.Success). so i'm not able to get External Ip address.
Using command window - Immediate, i get values for "r" and "m". and m.success = false...
Quote:
I don't have fire wall setup in my machine. and i have internet access too...anything wrong in that code.. or anything i'm missing... if anyone have any idea how to find out the External Ip Address.
View 2 Replies
Jul 24, 2011
Need to get local and external IP address to display in my app, but then if possible somehow lookup the ISP using the external IP address got following code to get hostname and local IP address, but it is showing IPv6 address when I would prefer the IPv4 one
[Code]...
View 4 Replies
Apr 9, 2012
I started to setup a Server and a Client for personal purpose. When I try to connect the Server by a computer inside a shared network, with local IPs, works but when I try to connect an external IP, doesn't work.[code]
View 3 Replies
Jul 26, 2011
Does anyone know how I could get my app to show the ISP of the machine it is running on, I can get internal and external IP addresses, just need to know if possible and how to look up ISP from this information
View 1 Replies
May 14, 2011
I found this code online on how to obtain my external ip address
[Code]...
but i get a blue line under Inet1
View 3 Replies
Oct 3, 2009
How can i use the address bar to send commands to a external application?
Example:
AOL Instant Messenger -
I havent used this application in a long time. But i remembered if you wanted to add a friend to AIM from their online profile it directed them to a link such as:
aim:addfriend=contactID
and AIM would pick this up and add it the contactID to the application. The link i posted is more than likely not the correct link they use but it shows what im trying to accomplish.
Im looking to achieve something along the lines of:
myApplication:command=commandValue
View 2 Replies
Jul 6, 2011
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 Replies
Aug 11, 2009
SocketException 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]...
View 3 Replies
Mar 8, 2009
Can anyone point me to some code which can help obtain the network address from the host IP and subnet mask?
View 3 Replies
Aug 6, 2011
I 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 Replies
Nov 27, 2009
I'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]....
View 2 Replies
Feb 3, 2012
I wanted to know if it is possible to Zip a folder without any external dll nor any external references - just with native features.I've been able to Zip files with System.IO.Packaging, but it does not include folders and I cannot tell it to Zip the parent folder.I know there are external dll and so, but I'd like to know if it's possible to make it from a native way.
View 1 Replies
Jun 28, 2009
' Use Your work Group WinNT://&&&&(Work Group Name) Dim DomainEntry As New DirectoryEntry("WinNT://Wokgroup") DomainEntry.Children.SchemaFilte
[code].....
View 8 Replies
Feb 9, 2011
In member register page, I added email address validation but it only check the email address format, such as .com, .net, .org.If user inputs fake account such as aaabbb01010@gmail.com, how to verify it and return an error?
View 2 Replies
Oct 3, 2010
how to assign a static ip address and dns adress by VB2008?
I search in MSDN,use system.net.ipaddress??or something else?
View 3 Replies
May 11, 2010
does anyone know how to get a computer's mac address with an IP address?
View 25 Replies
Jan 30, 2010
where i put the *'s i get the error "The parameter 'address' cannot be an empty string. Parameter name: address".
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Dim mail As New MailMessage()
Dim SmtpServer As New SmtpClient
[code].....
View 9 Replies
Sep 15, 2009
I am writing a program that expands the usage of the clipboard, but I need to tell when the user has either cut, copied, or pasted something so I can write code accordingly to that. I need to know how I can check to see when the user has entered a command like this.
View 2 Replies
Aug 1, 2011
I do not understand why this is not being detected.when I do a test in the immed it comes back true for a match, but the code never run's.[code]
View 2 Replies
Jan 26, 2012
I have a query I am creating a Window App in vb.net (4.0) in which I have to use multiple databases although all databases are same with same db structure & stored procedures,just names are different. In the very starting of application, I need to give a option to the user that these are available db & user will select which one to connect & use.
So is it possible to detect how many db are available in the SQL Server through vb.net & how can achieve this (to provide options to the user) What would be the best approach?
View 3 Replies
May 4, 2010
I have worked with PHP and other programming languages but I am new to VB. I want to write an application that is run manually every day, and each time it is run it checks for modified and newly created files in a particular folder
View 4 Replies
Jun 6, 2011
i want to detect if listview has been updated
eg: there are listview1,listview2 and a button1 .u can send items to listview2 from listview1 .if the listview2 has an item button1 will enable if the listview2 is empty button1 will disable
what is the suitable event for this?? (there is an event called BindingContextChanged is it the suitable event?if so how to use it??)
View 1 Replies
May 7, 2009
In the app we use a third party dll for looking up names and addresses.This resides in the system32 directory.Before I try and access this dll I need to be able to find out if it has been registered on the PC.So in short does anyone know the code to be able to check if a dll has been registered in the registry?
View 1 Replies
Aug 16, 2011
I am facing problem while in detecting the multiple key combinations ..here is my cod
Private Function keyboardCallBack(ByVal nCode As Integer, ByVal wParam As Integer, ByVal lParam As IntPtr) As IntPtr
[code].....
View 1 Replies
Apr 26, 2009
I have a camera with a LiveView function (images aren�t snapped, but they are directly sent to my computer), which I managed to connect with VB.net, so I have got the image in a picture box on my form.The next thing I want to do, is to gather 3 spots from the image... The spots are all red, something very similar to #FF0000 (it is a camera + lights, etc... some tolerance needed). So, can anyone help me here?
I think the working "check list" could be something like this:
- Get red, green and blue channels separated
- Change green and blue into gray scale (100% blue / green = black, 0% b / g = transparent)
- Put these b / g both into 50% alpha and put them over the red (which means where is both green and blue = black, only one of them = 50% alpha black, none = transparent)
- Somehow select the areas with most red
- Get center of these areas - my points
View 12 Replies