Well, you have a problem. You need your wrapper installed on both clients. You can't just wrap it on your end and expect the receiver to know what to do with the packet. Also, you can't write this in C# since it's going to be a driver you install into the network stack. You have to use C++ to do this.
I am trying to create a small utility which can block folders from direct access. For this purpose, I have a textbox in my form and a two buttons namely: browse and apply.
Now, whenever the user clicks on browse, the Open file dialog box appears and whatever folder has been selected by the user is displayed in the textbox.
Now, comes the major problem. In order to block the particular folder selected by the user, I have to generate two batch files (files with .bat extension) on the location of the folder, that has to be locked. Like if the folder to be blocked is in this 'C:\\myfolder\\subfolder\\lockfolder' location, where lockfolder is the particular folder which I have to lock, then in that case, I have to generate a batch file in 'C:\\my folder\\subfolder\' that will lock the folder 'lockfolder'.
Any Idea how to do that..... please recommend.
Sorry for my poor english,
Cheers to you,
I'm getting very suspicious about what you're trying to do.
I would suggest that people here stop helping you until answer the question I asked in my last post to you[^].
Dave BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
Which row is missing? Is it the first one? If it is then you will notice that it is being used as the column titles. Use strCnn += ";Extended Properties=\"Excel 8.0;HDR=No;\""; to stop using the first row as the column headers, the default is HDR=Yes.
My failometer is detecting vast quantities of FAIL!
How can I hide the black window which appears during the execution of a console application? I want to hide it, becasue I have a program which doesn't accept any user input and just goes on performing some specific tasks which takes quite long time.
No need to change your existing code just change your project output type as Windows Application instead of Console Application.
How to change your project output type
1. from your solution explorer right click your console project then choose Property menu.
2. from the application tab change the value of Output type dropdownlist.