Inet1.OpenURL - Obtain External Ip Address?
May 14, 2011I found this code online on how to obtain my external ip address
[Code]...
but i get a blue line under Inet1
I found this code online on how to obtain my external ip address
[Code]...
but i get a blue line under Inet1
If I use Spy++ and pass it Finder over the controls of every desktop window I can see the Handle of each of these controls.
View 2 RepliesI've searched and seen alot of posts about obtaining the mac address of computers but I'm not sure if I understand completely or if those are the ones I need.
I am needing to obtain the mac address of a specific computer via an ip address. Most of what I've seen returns to me an array or list of items.
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
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 RepliesDoes 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 RepliesI'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.
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]...
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 RepliesDoes 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 RepliesHow 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
I am trying to write a console app in VB Studio 2005 that writes the source code of a URL to a text file. I have added a reference to Microsoft Internet Transfer controls to my project but when my code first references Inet1 there is a compiler error. What am I missing?
View 10 RepliesI am using inet object and trying to get web sites' html source code.It usually works but in some sites openurl process is very long.So i decided to cancel axinet1.openurl process after 5 seconds and tried timer object. In timer tick i used axinet1.cancel command but it doesnt work :S Also i used timeout function of inet object but if it is small amount ,for example 5 , there is hresult 0x00 exception. So it doesnt work too.[code]
View 19 RepliesAre 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 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 ' Use Your work Group WinNT://&&&&(Work Group Name) Dim DomainEntry As New DirectoryEntry("WinNT://Wokgroup") DomainEntry.Children.SchemaFilte
[code].....
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 RepliesI'm trying to obtain data from a dll, but I do not know how to do it.My code is:
'Function
Public Declare Function SET_XML_PATH Lib "EbmPapstFan.dll" (ByRef ruta As String) As Long
Public Declare Function GET_PRODUCTS Lib "EbmPapstFan.dll" (ByRef ruta As String) As Long
[code]....
This isn't a mistake with the path because Int_A is 0. In addition, GET_PRODUCTS gives me the number of products that software has.The manual say that this function also has string character output.I don't know how obtain this other string character output.
How can I obtain the first row value. ex.
Table
ID NAME AGE
1 peter 14
2 Jogn 13
3 Luke 6
If i click peter I will get 1.I can get the clicked value but I do not know how to get the first item in the selected row.
I am following some instructions that apparently work with vb6, but as i have downloaded the lastest version of visual studio i think its up to version 10.
The code i am trying to make work is,[code..]
I searched a bit for an equivalent.
my problem is that is have to create a program in which I enter some text in a text box and then in an other text box it will display the value store in a selected byte. I really don't know where to start. I have a form with three text box and a button. One of the text box to copy o write whatever I want, the other text box to write the number the byte I want to get the value and the last text box to display the value stored in the byte I choose. With the button I will start the function that will get me the value in the byte.
View 6 RepliesI am following some instructions that apparently work with vb6, but as i have downloaded the lastest version of visual studio i think its up to version 10.[code]The error is that hWnd is not a member of windowsapplication1.form1.
View 3 RepliesI have a general idea of what the code should look like but I can't seem to finish/put it together.I have a year's worth of data such as December 01, 2010 to December 01, 2011.The problem is that there are more than 365 points, some days for example have 3 data points and others have 4, etc..What I would like is to only have 365 points of data by averaging the data points for the days that have multiple points.
[Code]...
- So far I have another column with dates from Dec 1st 2010 to Dec 1st 2011.
- I think I'll need an IF statement for if the whole range of A column equals one of 365 days, it'll equal the average data.
- then I'll need to have a statement for x+1 date for each consequtive day.
[code]...
Is there any trick that could give me the first word of the str [code]...
Say I have a rolling collection of values where I specify the size of the collection and any time a new value is added, any old values beyond this specified size are dropped off.Obviously (and I've tested this) the best type of collection to use for this behavior is a Queue:
myQueue.Enqueue(newValue)
If myQueue.Count > specifiedSize Then myQueue.Dequeue()
[code].....
I'm testing a window application which was written in VB.Net 2003.I set a few BreakPoints and Debug the project.When the debugger hit one of the breakpoints, it stops at there. Its correct.But when I try to add one of the variables to "Watch", it said "error: cannot obtain value".I tried to search the Net and found that some said "its because of structures", some said "its because of passing too many parameters." and some said "its because of too many line of codes (LOCs)".but my problem is not in passing parameters or too many line of code.the function i set breakpoint has only around 300 LOCs (including around 100 line of comments)And the value I tried to get is from my TreeView which is on my Win Forms.its very strange that I can't even get the value from Forms.
View 7 Replies