|
hi,
I intend to implement a client-server model wherein a few clients are connected to a server. Allow the clients to have secure communication (chat and/or file transfer) using the SSL protocol.Tunneling would be the most important thing to be implemented in this project.What I want to know is,
1.Can I use the TAP driver used by OpenVPN to handle the transmission of packets?
2.If yes, how can I use the driver while coding?
3.If no, can you suggest any open source drivers for VPN?
4.How to implement the SSL protocol?
5.To show that secure communication is taking place,would sniffing the transmitted packets be enough?
modified on Monday, February 11, 2008 6:44 AM
|
|
|
|
|
You're going to have to ask the people who wrote OpenVPN these questions. I've never used their library.
|
|
|
|
|
Hi,
can you give me code for deleting temp files and cookies or cache in vb.net or javascript?
Thanks & Regards
Ashish
Ashish K. Vyas
|
|
|
|
|
AshuVyas wrote: can you give me code for deleting temp files and cookies or cache
For which browser?
AshuVyas wrote: in vb.net
Possibly. You realise that the code has to run on the client? I.e. this can't be done in server side code in ASP.NET.
AshuVyas wrote: or javascript
Not possible. You have no access to the file system from Javascript.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
I can't seem to figure out how to get VB to recognize's any of the public key type's supported by PHP/OpenSSL. Any ideas?
|
|
|
|
|
Have you solved this?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
I am having a hard time populating an structured array. (0,0),(0,1),and (0,2) populate fine but I cannot get the rest if to do so. This is small part of a BasketBall Game simulation project, and it is kicking my butt. Here is my code:
Option Explicit On
Option Strict On
Public Class Form1
Dim playerData(1, 2) As Player
Dim temp1 As Integer
Dim temp2 As Integer
Dim temp3 As Integer
Structure Player
Public offenseRank As Integer
Public defenseRank As Integer
Public shootRank As Integer
Public shotsTaken As Integer
Public scorePerQuarter As Integer
End Structure
Public Sub FillArray()
'populates array values
For x As Integer = 0 To 1
playerData(x, 0).offenseRank = temp1
playerData(x, 1).defenseRank = temp2
playerData(x, 2).shootRank = temp3
x = x + 1
Next x
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim randomGenerator As New Random
For x As Integer = 0 To 1
temp1 = randomGenerator.Next(8, 11)
temp2 = randomGenerator.Next(8, 11)
temp3 = randomGenerator.Next(55, 80)
x = x + 1
Call FillArray()
Next x
OffDisplayLabel.Text = CStr(playerData(0, 0).offenseRank)
DefDisplayLabel.Text = CStr(playerData(0, 1).defenseRank)
ShootDisplayLabel.Text = CStr(playerData(0, 2).shootRank)
Label1.Text = CStr(playerData(1, 0).offenseRank)
Label2.Text = CStr(playerData(1, 1).defenseRank)
Label3.Text = CStr(playerData(1, 2).shootRank)
End Sub
End Class
thanks in advance
|
|
|
|
|
Hi
Can you plz specify what exactly is the problem u are facing...
As from what I was able to c in the code
- The structure is defined before the object of it (I do not know weather it is allowed in VB, it was surely not allowed in some other old languages)
- You do not need to increment value of the loop variable (x in ur case) when u are using for loop
Good Luck
|
|
|
|
|
Dee Kay wrote: 'populates array values
For x As Integer = 0 To 1
playerData(x, 0).offenseRank = temp1
playerData(x, 1).defenseRank = temp2
playerData(x, 2).shootRank = temp3
x = x + 1
Next x
Look at what you did in this code. You setup a loop where on the first pass, x will be 0. You fill in your array, (0,0) (0,1) (0,2), then you increment x, so now it's 1, THEN YOU REACH THE "Next" statement, will will increment x again, so now it's 2. Since the For statement says 0 to 1, 2 is greater than 1, so the For/Next terminations, never filling in the (1,0) (1,1) (1,2) array values.
|
|
|
|
|
hi guys i dont know i am in the correct forum ,but i need help ..
actually i am working in vb.net (2005) and crystal reports ,
i am retrieving from data base and showing on a report, problem is that when there is a null value in the data base so on the report it remains blanck but i want to show a 0 value as it is a numeric filed and i am performing some calculations based on that field so if it remains blank i cant perform calculations correctly , i just want to display a 0 value when there is a null value in any row in a particular column,, thanks in advance
hello
|
|
|
|
|
Hi,
In order to get the desired output you may use try using If.. Else condition like:
If IsNull(Field.Value) then
Field1.Value = 0
End IF
If hope this helps .
Regards,
John Adams
ComponentOne LLC
|
|
|
|
|
Why would you have a NULL value in a numeric column in your database anyway? (Hint, hint)
Either make the change to the database table, or have the database replace NULL's with 0's, or write code to go over the returned DataSet (DataTable) and replace NULL's with 0's yourself. THEN you can pass the DataSet to the report.
|
|
|
|
|
hi, I made a program that record a video from a webcam in vb .net but my problem is that my recorded video have a extension name of .avi and its consuming all my hard disk space. Is there any other way to make my videos size smaller?
|
|
|
|
|
hi can u please tell me about the code u use to done this task.
i m working on the same. please tell me. thanks in advance.
|
|
|
|
|
what kind of code are you asking for? For the video recording?
|
|
|
|
|
This depends on what you're using to capture the video and save it to the AVI. It has to expose some methods for changing the encoding graph so you can add/change codecs to add compression to it. From the sounds of it, you're saving each frame of video completely uncompressed, which will, obviously, take up a LOT of space.
|
|
|
|
|
I'm just using a 2.6 mega pixel webcam. It really take up a LOT of space. Just imagine that a 1 min. video will take up a 290 memory space. Can you tell me how can I compress the video?
|
|
|
|
|
Like I already said, that's up to the video capture library that you're using. It has to give you the options to compress the video. If it doesn't, you'll have to use a different library that does, such as Microsoft's Media Encoder 9 SDK.
|
|
|
|
|
I'd like to have some members in my form (boolean/String etc) but I can seam to access them.
This is the code part of my progress dialoge.
Option Explicit
Dim Abort As Boolean
Private Sub UserForm_Activate()
Abort = False
' Set the width of the progress bar to 0.
Progress.LabelProgress.Width = 0
Application.ScreenUpdating = False
DoEvents
If (bRockwellPhases And Not Abort) Then
Call generateRockwellPhases
End If
Hide
End Sub
Sub UpdateProgressBar(PctDone As Single)
...
End Sub
Sub setAbort()
Abort = True
End Sub
So problem is, how do I declare "Abort" correctly and how do I access it from UserForm_Activate() and setAbort()
Best regards Henrik....
|
|
|
|
|
hello!
I need any article on the topic "Application/ Benifits or Advanteges of a Digital Dictionary".Please any one help me to search this topic at least five pages.
i'll b very thankfull.
my email id is: abdul_bu@yahoo.com
|
|
|
|
|
Don't cross-post. It's rude. Read the forum guidelines.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Looking at his profile, he looks like a habitual cross poster
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
hi
i am nikhil, an engineering student.nw i enguaged with my mini project 'sms jukebox',for this purpose i want 2 know how can we access sms 2 our vb.net projects from mobile phone through data a cable? i am using visual studio2005. pls help me....
coooool
|
|
|
|
|
You will either need your phone connected to your PC somehow, or use a Web Service.
If you have your mobile phone connected to the PC, chances are the phone will expect data via a serial connection.
Check out the manufacturer's website for your mobile, as they may have an API you can use.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Hi,
I have encrypted the "WMV" video files. Is there any way to decrypt the Video files on-the-fly without storing on disk and play it in media player.
while decrypting i have a data as a BYTE[]. is it possible to assign the byte[] to player.
Thanks & Regards
Kumaran
|
|
|
|