VS 2008 Add To Uac And Firewall Exception?
Dec 21, 2009is there a way to add to firewall and uac exception list for XP,Vista,Win7?
View 4 Repliesis there a way to add to firewall and uac exception list for XP,Vista,Win7?
View 4 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
How 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 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 RepliesIt is possible to catch an exception and throw a new exception which wraps the first exception as an inner exception: [URL] Also, if I call a function and it throws a certain error, but I catch it, will the calling code's catch handler execute? If so, and it is of a higher exception type, is this not wrapping the exception? eg I can throw exception ex of type IndexOutOfRange, log it but rethrow, catch a higher up exception and do something, or I can throw a new exception and wrap an inner exception like:
View 1 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 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 RepliesI 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]....
How 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 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 RepliesI 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 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 RepliesI have a large project where we have 2-3 dll projects that are converted from VB6 to VB.NET. We have fixed all the issues that caused compilation errors, and most of obvious issues in running, so now we have basically a program up and running. The exe is created from scratch in VB.NET, using a lot of functionality from the converted dll's (including GUI forms). What I wonder is when I run the program in debug mode, I get a bunch of warnings in the "Immediate Window" saying:
A first chance exception of type 'System.Exception' occurred in Microsoft.VisualBasic.dll
...and some of other type (but most of them in Microsoft.VisualBasic.dll).I was wondering if this is common in projects converted from VB6, or if it is caused by bad design in our code...
When I try to create a instance of a COM class it throws an exception as Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
View 2 RepliesWhen I try to create a instance of a COM class it throws an exception as Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
View 4 RepliesI'm trying to catch a user defined permission exception - i.e. a user does something their level of system access won't allow, permission exception is thrown. My problem is, the exception is caught and then rethrown as a genertic System.Exception.Is there any way I can deduce the original exception type, without resorting to string comparisons, like if ex.ToString.Contains("Permission denied"
View 2 RepliesWhen catching an exception in .net, you can have as many type-specific exception blocks as needed. But I usually try to have at least one "general" exception catch block. But is there a way to get the type of the "real" exception thrown that is caught by the generic exception handler, perhaps using reflection?For example, if I have
Catch ex As System.ServiceModel.FaultException(Of InvalidUser)
ProcessModuleLoadException(Me, ex)
Catch ex As System.ServiceModel.FaultException(Of SQLExceptions)
[code].....
i have about 20 possible exception messages that i want thrown when an error occurs.i need somthng like this when catching the exception
Try
' do domthing
Catch ex As CustomInvalidArgumentException
'do domthing
[code]....
do i have to create a class that inherits from Exception for each type of exception?