Block Connection To An IP Address (Incomming And Outgoing)?
Oct 25, 2009
Is there a way I could block connections to an IP address (Incomming and Outgoing) in visual basic 2008? I have a different method, using the windows hosts file. I could make it redirect, but on the host file, could I make it launch a certain application when it blocks an IP. Like, launch a file called blocked.html that says "Webpage blocked" on it? and if u get this far, how can I see when an app attempts to connect to the internet. Like on bit defender firewall, say aim6.exe trys to connect to a server, how could i warn the user of this???? (Maybe using winsock)
View 1 Replies
ADVERTISEMENT
Oct 29, 2009
Is there a way I could block connections to an IP address (Incoming and Outgoing) in Visual C+/C#/C???
I have a different method, using the windows hosts file. I could make it redirect, but on the host file, could I make it launch a certain application when it blocks an IP. Like, launch a file called blocked.html that says "Webpage blocked" on it? [code]...
View 3 Replies
Aug 5, 2011
I m using proxy in httpwebrequest
[Code]...
But i m unable to check any outgoing connection from my application in fiddler how i can check what request my application sent to server if i m using proxy
View 4 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
Sep 21, 2009
i want to block ip address individual and reange ips.
View 1 Replies
Feb 25, 2012
Does anyone know the code to address Logical Block 0 of a disk? This is my dump of block 0 of a multipartition disk.
[Code]....
View 15 Replies
Nov 16, 2010
What 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.
View 3 Replies
Dec 9, 2011
I have to create a block of code that detects the Local IP address of connected adapter and returns it as string to a TextBox.
View 7 Replies
Dec 3, 2009
I'm having a problem with some users, my vb tools always check at the splash screen a response from a server with a simple:
Dim MyResult as string = oWebclient.DownloadString("www.mydomain.com/page.php")
This actually works for most users but in some clients the firewalls I think they block this call or bypass or something like that, I found that after telling the user to turn off the firewall everything works ok, now I have some users that according to them they don't have a firewall or they already disable and still they have the problem.
You can see from the image the error message they receive, so my question is do you know any kind of free tool that I can send to the user to maybe log what program or whatever is blocking the program to connect?
View 6 Replies
Dec 1, 2009
I'm trying to incorporate TransactionScope into my code and am failing at the first hurdle. I am unable to open a connection inside TransactionScope block. I get exception Connection Not Open.
Public Sub PerformDBWork()
Dim cnA As New OleDbConnection(My.Settings.DB_CONN_BUSINESS)
Try
cnA.Open()
[code].....
My cnA.Open() fires as expected but my call to cnBusinessDB.Open() fails.
View 5 Replies
Oct 28, 2009
I 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?
View 2 Replies
Jun 12, 2011
heres the script basically it sets (supposed to) Local area connection ipv4 static ip address to 10.XX.XX.2 but it dosent work it works fine if you run cmd as addy and put the script in netsh interface ip set address "Local Area Connection" static 10.XX.XX.2
Dim txtlen As Integer = Len(TextBox2.Text)
Dim IPAddy As String = ""
Dim asciiSplit(4) As Char
[CODE]...
View 3 Replies
Jul 13, 2011
m new in Visual Basic programming, recently I have developed an application to send and receive UDP packets using the Socket Class. Everything is working ok, but there is one more thing I have to acomplish, which is specify the outgoing UDP port for outgoing packets (SendTo method), I need to do that because the application in the other side just process packets from an specific UDP port at the origin
View 3 Replies
Sep 16, 2009
someone know how to change the name of .tif image after sent a fax??i've these object:
Set FaxServer = CreateObject("FaxServer.FaxServer.1")
Set FaxDoc = FaxServer.CreateDocument(Server.MapPath("fax.doc"))
View 1 Replies
Jan 19, 2009
It doesn't look like much is out there after searching but I was wondering if anyone has seen any vb.net projects to create a simple outgoing telephone dialer? Maybe something that can talk to a PC modem?
I'm not sure but was even wondering if this is something that can be done in a procedure? Doesn't look like there are any features that lend itself to it.
I thought also, I may do something with an RS232 stream and then use an external hardware dialer.....if I did that, I'm sure I could do the code in a Sub.
View 4 Replies
Feb 29, 2012
Recently I've been into PBX call accounting programming on VB.Net 2010. My results are way too successful including friendly user-interface and connection datareceiving coding. Except for one. That is the call duration of calls, incoming and especially those outgoing. In my project I didn't use any API (like TAPI for PBXs) thus is there any option how to detect the state of the outgoing call, whether is still ringing, ended without answer or answer at some point of time...because in my project nevertheless what call state is being processed, I'm getting the total call duration from the moment that call was initiated to the moment is being finished or not-answered.
Here is a sample of my project where the DataReceived event is fired whenever there's something to parse from PBX to the PC.
Programming language : Visual Studio 2010 Ultimate - Visual Basic .Net
Database : Microsoft SQL Database
PBX Machine : Panasonic KX-TEM824
P.s. If you need to provide some code I'll post a sample of my project where the DataReceived Event is being handled.
View 13 Replies
May 3, 2010
I want to write a Macro or script to identify if there is any SSN like numbers in the outgoing outlook mail? The SSN format can be like 123-45-6789 or 123456789. Is it possible with outlook Macro?
View 2 Replies
Feb 4, 2010
Is it possible to filter the incoming and outgoing data on a COM port terminal... to distinguish it?
View 2 Replies
Sep 18, 2009
Is there a way to determine if a System.Net.Sockets.Socket has sent data that has not been received/read by a specified remote endpoint with a connectionless protocol?It never hurts to try.
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
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
Jul 25, 2010
I have a server which has around 300+ users on it. Though the problem is that its coded in VB6, and if somebody has a bad ping, everybody has a bad ping. I need a tunneling server which will tunnel the incoming and outgoing connections and make there ping appear to be 0 in the server. Client to Server, Server to Client.
View 1 Replies
Mar 28, 2011
as topic, i need to send an e-mail without outgoing authentication becouse server hasn't outgoing authentication.. how i can do this??
View 1 Replies
Jul 13, 2011
Is it possible to make a program similar to outlook express where I can send/receive emails , I already made one sending emails but I need to receive emails too
View 2 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 4, 2011
Details : I have the MultiModem (MT5656ZDX) . I wrote visual basic application for making the call using 'MakeCallAsynch(txtPhoneNumber.Text)' function. Also i have the callback event handler for get the line status and write the log. But my tapi call is not going the status except DAILING,PROCEDING,CONNECTED,DISCONNECTED and IDLE. Its not showing the line busy, phone swithed off status. Please guide me regarding this.
My event handler
Friend Sub LineProcHandler(ByVal hDevice As Long, _
ByVal dwMsg As Long, _
ByVal dwParam1 As Long, _
[code]....
View 10 Replies
Dec 10, 2009
I have the MultiModem (MT5656ZDX) . I wrote visual basic application for making the call using 'MakeCallAsynch(txtPhoneNumber.Text)' function. Also i have the callback event handler for get the line status and write the log. But my tapi call is not going the status except DAILING,PROCEDING,CONNECTED,DISCONNECTED and IDLE.
Its not showing the line busy, phone swithed off status. Please guide me regarding this.
[Code]...
View 1 Replies