|
hi!
Since VOIP is prohibited within some area, broadband internet ISPs block VOIP ports or drop VOIP signal and voice packets,so i want to wrapp the VoIP trffic into a package which can not be detected by ISP.
So can any one please help what should i do for wrapping?
Which technology should I use?(may be SSL Tunneling or any other?)
Please help me.
thanx in advance
Note:May be this is not the right forum,but i dont know which technology or programing lang i should use)
|
|
|
|
|
|
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.
|
|
|
|
|
Hi pals,
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,
Rajdeep.NET
|
|
|
|
|
For goodness sake man!
Google for writing text files c#.
You have learned to google by now surely?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Henry Minute wrote: For goodness sake man!
Google for writing text files c#.
You have learned to google something by now surely?
Fixed that for you.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
OriginalGriff wrote: You have learned to google something by now surely?
Nope.
Answered that for you.
My failometer is detecting vast quantities of FAIL!
"Its SQL - hardly programming..." (Caslen)
|
|
|
|
|
GOOGLE.....!!!
LEARN C# FIRST...!!!
|
|
|
|
|
.bat files are just renamed text files. Look into the StreamWriter class
|
|
|
|
|
... or the File.WriteAllText[^] method.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Oops. I forgot about that. Thanks for reminding me
|
|
|
|
|
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[^].
DaveBTW, 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)
|
|
|
|
|
So, just to recap. You're trying to:
a) Copy the currently running exe
b) Hide the console window
c) Block access to a folder
If this isn't something you shouldn't be writing then im the pope.
|
|
|
|
|
J4amieC wrote: then im the pope.
Cool, can I borrow your ferrari please
(I was also looking at his profile to see what exactly he is up to and I does seems like this program isn't on the safe side of things.)
|
|
|
|
|
J4amieC wrote: im the pope.
Stay away from those kids!
|
|
|
|
|
Rajdeep.NET wrote: I am trying to create a small utility which can block folders from direct access.
Yeah, with you're skill level, and total lack of knowledge in how Windows works, you're never going to pull this off.
|
|
|
|
|
Dear,
I have one problem, when i connect from my app to excel and when display the result I lost 1 row,
Why?
Please help me
Socheat
|
|
|
|
|
You need to be more specific. How did you connect to the excel? Was it the first row you lost?
My failometer is detecting vast quantities of FAIL!
"Its SQL - hardly programming..." (Caslen)
|
|
|
|
|
Dear
I Use like this
string strCnn="";
strCnn = "Provider=Microsoft.Jet.OLEDB.4.0;";
strCnn += " Data source=" + openFileDialog1.FileName;
strCnn += ";Extended Properties=Excel 8.0;";
OleDbConnection cn = new OleDbConnection(strCnn);
cn.Open();
string strsql="";
strsql = "SELECT * FROM [sheet1$]";
OleDbDataAdapter da = new OleDbDataAdapter(strsql, cn);
DataTable dt = new DataTable();
da.Fill(dt);
int i=0;
Application.DoEvents();
for (int k = 0; k < dt.Rows.Count; k++)
{
i++;
dgvSource.Rows.Add(i.ToString(), dt.Rows[k][0].ToString());
}
I got only 9 rows, but in fact in excel has 10 rows
Thanks
Socheat
|
|
|
|
|
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!
"Its SQL - hardly programming..." (Caslen)
|
|
|
|
|
Dear
I lose the first row.
I have include string connection like you wrote "HDR=No;" already but i got error Cound not find installable ISAM, so how can i do?
Socheat
|
|
|
|
|
Apologies, I used used the incorrect syntax:
string strCnn = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=\"Excel 8.0;HDR=No;\"", openFileDialog1.FileName);
My failometer is detecting vast quantities of FAIL!
"Its SQL - hardly programming..." (Caslen)
|
|
|
|
|
Dear,
Thanks, it work well now
Socheat
|
|
|
|
|
Hi guys,
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.
Thanks,
Cheers,
Rajdeep.NET
|
|
|
|
|