Error en File.Encrypt
Publicado por NNExit (2 intervenciones) el 21/10/2007 23:23:33
Hola a todos, estoy utilizando File.Encrypt de la siguiente manera y me produce el error "Solicitud no compatible".
Imports System
Imports System.IO
Imports System.Security.Cryptography
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
File.Encrypt("c:\hola.txt")
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
End Class
Tengo instalado la version 3.0 de .net framework.
Gracias a todos por vuestro tiempo, un saludo.
Imports System
Imports System.IO
Imports System.Security.Cryptography
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
File.Encrypt("c:\hola.txt")
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
End Class
Tengo instalado la version 3.0 de .net framework.
Gracias a todos por vuestro tiempo, un saludo.
Valora esta pregunta


0