VS 2008 Check If The Firewall Is Off?
Dec 29, 2009How can i make a program to check if the firewall is off.And if the firewall is off how can i turn it back up again.
View 3 RepliesHow can i make a program to check if the firewall is off.And if the firewall is off how can i turn it back up again.
View 3 RepliesI saw the other day in an application there is a Shield sign on a button then when i click it if i didnt Run As Administrator firewall asks me to give it admin....anyone knows how to do it? i really need it for file associate function because it requiers admin rights .
View 3 RepliesHow do i check if specific port is blocked by Windows firewall , both in incoming and outgoing connections.
I've seen code samples such as this one:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim host As String = "localhost"
Dim port As Integer = 6900
[Code]....
But how can i know if the exception is thrown specifically because of firewall blocking, and not because of other socket errors?
I need to check if port exist in the firewall list I am currently using this piece of code to check if port 80 exist do something if it doesn't then add it. This works fine but I feel It should be cleaner[code]...
View 1 Repliesis there a way to add to firewall and uac exception list for XP,Vista,Win7?
View 4 Repliesi dont want my local ip..its a remote computertheres diferent ranges in the ips but from where i am looking for the ip im connected to the same network..lets say my ip its 10.31.47.54 but the one i try to see if its one its the above....but its behind a firewall..i know its on...but when i ping from my code
View 22 RepliesMe and my friend both wrote an app to send emails, same code. When I run my app, I can let it send an email. When I run my friends app, the firewall blocks the outgoing emails. Is there any way to let the emails send from my friends app, by changing code or so? I don't want to add it to the whitelist of the firewall.
View 5 RepliesI need to create a firewall in vb.net. Give me some idea how to proceed .
View 1 RepliesI am trying to intercept connections on port 2302 that is being used by a game. I was think about using something along the lines of
#Region " Imports "
Imports System
Imports System.IO
Imports System.Windows.Forms
[code]....
I am unable to get on to internet explorer or IM on my laptop . I am using Windows XP.Each time I log-in it says my firewall is blocking.
View 4 RepliesCan we call firewall an interface?
View 1 RepliesI've never use a .net WB control before. When navigating to an internet web page I kind of assumed the firewall would block it or pop up a dialog telling the user that someapplication is attempting to access the internet.
View 1 RepliesIm trying to add my application to firewall exception through regedit but when i add the sub key it doesnt work.
I dont have to have an installer for a chat program because its only 1 file.
FireWall Dir:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyFirewall Rules
I get EMails from my firewall router for any alerts (when they occur) as well as the complete log (every day at 4:00 AM) - I have been saving the logs manually by copying and pasting the EMail body into a text editor and saving. I started on a VB project and have run into a bit of a snag.
Heres part of the code that 'grabs' each EMail:
For i = 1 To oItems.Count
oMsg = CType(oItems(i), Microsoft.Office.Interop.Outlook.MailItem)
If oMsg.Subject <> String.Empty Then
[code]....
I know that you can make an installer with visual basic and have an option to run as admin and add to firewall. But is there a way to do this with out installing?
View 3 RepliesI am trying to control the security board using the Windows Firewall which connects to my server that was made in VB.Net. My only problem is when I open the Windows Firewall my server crashes. It also displays this error: "Error, win%fir%90y4e does not support this server. upgrade you version of Winsock.". So I upgraded myself to the latest Winsock that there is out there. After doing so I try again and my server still crashes, but this time with a different error. The error this time was the following: "Error, no client is available for win%fir%90y4e. try again later.". What do I do?
View 5 Replies"how to do anti-bypass firewall using Service"
some way bypass the firewall, such as using : software Ultrasulf , Proxy-Server , Web-Proxy
In this case , i will anti-bypass firewall on Proxy-Server and Web-Proxy , i will write a services in window
I think it as same : First , capture package with IP-Address , then request from proxy-server . Second ,very importanly , in here , we compare with IP-Add is truth , if IP-Add not truth , at list Block IP-Add , else accept to request to website
I built a WCF service that exposes itself for a web application, it accepts an object and prints the data on the clients machine. Works fine on my development machine, and the service is up and running on any machine i install it on. I can enter ip address in clients machine web browser and see it is running. Problem is when i send the object to the clients machine it returns an error, that sounds like it could be because of the clients windows firewall. Where would i start at to deal with this problem ?There was no endpoint listening at http://192.168.1.168:2202/PrintLabel that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
View 1 RepliesI 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 trying to write a program that captures log information from my Cisco 5510 firewall. I have a service working where it will perodically write text to a file. What I need now though is how to capture the actual traffic coming from the firewall on the network. It uses UDP port 514 to send it. I need to know how can vb capture that traffic and write it to the log file. I am a beginner to vb.net so please be patient with me if it seems like I am asking too many simple questions.
View 10 RepliesVB2005. In my application I am required to go to a website, collect info, and then display both the webpage and the info collected. For this I am using the System.Windows.Forms.WebBrowser component and have it working faily well. The only thing now is that in order to get to external websites the company requires us to login to the firewall proxy server. For example when I visit [URL] a login box pops-up for our firewall server [URL] and I sign in with ID 9999 and password "pass". I am trying to programatically do this with the WebBrowser by using the credentails but have not found any relevant examples. Is this possible with the System.Windows.Forms.WebBrowser component?
View 2 RepliesIs there anyway to find what virus software is installed and whether it is up to date, and whether firewall enabled/disabled from within a VB app?
It is for a health check tool for my customers, so picks up and shows lots of info such as ram, processor etc and want to be able to show antivirus name and as much info as I can about version, updates etc
Use WMI and admin credentials to tell windows firewalll to unblock a port
View 5 RepliesHow can i allow the user to only check one check box on a CheckedListBox1..I was thinking of using a timer but that might be a stupid thing to do.
View 3 RepliesI think I have a function that'll throw up a messagebox if the current day is the Saturday before the Daylight Saving Time change for the US. The days it changes is the 2nd Sunday in March and the 1st Sunday in November, the time doesn't matter in this app, just the date.
Private Function CheckDST() As Boolean
With DateTime.Today
Select Case .Month 'Month is one based
[code].....
How do I check if a process is 64bit?
View 5 Repliesim using VS08 and i got this script to check if username is in database if not insert it which works halfway lol which it says the username is being used even when there is no username in database.. here is the script
Call ConnectDatabase()
Dim myAdapter As New MySqlDataAdapter
Dim query As String
[code]....
and is there a way i can create a label on login form and when the user creates a username it will go to the login form and put up on the label "you have created a username" or something like that?
I have a need to monitor available memory while my application is running, as a hard number and compared to available memory. How can I do this?
View 5 Repliesi saw Anti virus auto run when usb enable but i don't how to check port usb? my idea.i want to run my program when have port usb open
View 8 RepliesThe issue, is that I'm developing an app that won't be installed and will be used on a bunch of different PCs. The app is free, but uses some 3rd party tools and code, so the user must be aware of the licensing agreement for those tools.
Since it will be used on a bunch of PCs, I don't want the end user to have to accept this license agreement a million times.
Is there any way I accomplish this with a local resource of some sort?I was thinking I could add a license file that should be moved around with the executable, and that could contain a license agreement code, then i could prevent the app from being used without that file.