|
Possible solutions:
* Set up a proxy server and flow all traffic through that.
* Create an NDIS driver which blocks the packets as they flow in and out of the network card.
|
|
|
|
|
So which one of us got him??
I think I shot him first from right over there ---->
|
|
|
|
|
This is called a proxy server. You don't "intercept" the traffic on the client machine. The client machines browser asks a proxy to go get a page from a URL for it. The proxy server implements the rules as to which wites are OK and which are not.
|
|
|
|
|
Just write an ACL to filter websites...
|
|
|
|
|
thank you very much for trying to help me;
however, I do not want to create proxy server.
I need a way to do this from vb.net. I will go ahead and reserach what is ACL is.
thank you all for trying.
|
|
|
|
|
addhandler is a class?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
No, it's not. It's a statement.
|
|
|
|
|
But everyone wants to make a statement these days. It defines who they are!
|
|
|
|
|
Please consider using more meaningful post titles than 'Please help'.
Read the forum rules and hopefully you'll understand what I'm talking about.
Paul Marfleet
|
|
|
|
|
How is it that you ask many questions to these forums each day, and you still have no idea how to intelligently form one, or even to offer a meaningful subject ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sonia. I really think you need help from this[^] article. It might help you to understand forum etiquette a bit better. And please - buy a book; there are many good beginners books that will help you immensely. CodeProject is not a programming class.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
How do I convert a binary string to an integer? For example, "10100101" is the number 165.
I know I could right my own routine, but is there already a built-in way to do this in .NET?
|
|
|
|
|
Convert.ToInt32("10100101", 2) -> 165
|
|
|
|
|
Hi all,
I am a noob when it comes to VB. I have created a ssis package. It generates a text file called "MonthlyExport123.txt" (file path would be: "c:\Report\MonthlyExport123.txt"). Now what i want to do is this (i think i want to do it in VB as this is the option i have in SSIS) i want to do rowcount on the lines in this text file. if the lines are less then 1 (because there is a heading) i want to delete the file.
BUT i dont know how to rowcount a file???
Please help
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
Is it possible to do this in a batch file maybe??? I rename the file in a batch file... so is it possible to count the rows in a batch file and then delete it if rows are less then 1 in the batch file before i rename the text file???
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
Batch file?? You could probably hack somethline together, though this is too easy to write yourself. Just use a FileStream and a vairable to increment. Read the file line by line and increment a counter for each line.
Imports System.Io
.
.
.
Public Shared Function CountLinesInFile(ByVal filepath As String) As Integer
If File.Exists(filepath) Then
Using fs As New StreamReader(filepath)
Dim count As Integer = 0
While Not fs.EndOfStream
fs.ReadLine()
count += 1
End While
Return count
End Using
End If
Throw New FileNotFoundException(filepath)
End Function
|
|
|
|
|
Thank you.
I will put it to good use
Enjoy the rest of your day.
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
Thank you, i tested it and it is working fine. Thank you for your time
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
i want to design(program) for a internet cafe that computes In/Out of each workstation.
at the same time, it can shutdown, restart, log off and lock the workstation? kindly help me pls?
what should i do? what code should i write? help me pls
|
|
|
|
|
The first part is easy, just use a timer.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Investigate this page for shutdown/restarting...
|
|
|
|
|
Hi
I created these classes :
MustInherit Class DataTableManager
Inherits UserControl
End Class
Class OrderManager
Inherits DataTableManager
End Class
When I open OrderManager in designer , I get : Warning - The designer must create an instance of type 'DataTableManager' but it cannot because the type is declared as abstract.
Is there any way to open OrderManager in designer ?
|
|
|
|
|
Nope. If there is an abstract class in the inheritance chain, it won't work.
The designer cal only work with concrete classes.
|
|
|
|
|
sometimes the issue is the datatablemanager wasn't compiled. we have class that we call "formbase". all of our forms inherit from it. sometimes when that class is changed or something related to it changes, I have to compile the project that class is in then my form that inherits from it will show. a control would follow under the same behavior...
|
|
|
|
|
Hi,
i am developing a project(vb.net 2005) which acts like an Office Viewer. That means that on a form, the user will be able to see or change page/worksheet etc, of a Word or Excel or Powerpoint file(including Office 2007). Is there any idea how to do this?
ninkk
|
|
|
|