Como puedo obtener el peso de un archivo apartir del link?, por ejemplo el link de una imagen...
Gracias
Gracias
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú Public Function IsRuning(ByVal ProcessName As String) As Boolean
Return Process.GetProcessesByName(ProcessName).Count > 0
End Function
String.Contains(Chr(13))
Imports System.IO
Public Function ReadFileLine(ByVal filer As String, ByVal line As Integer) As String
Return File.ReadAllLines(filer).ElementAt(line - 1)
End Function
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Integer, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Integer) As Integer
Dim Folder As String = "C:\", _
nFile As String = "Archivo"
ShellExecute(0, "Open", Folder, vbNullString, vbNullString, 1)
For Each i As Process In Process.GetProcessesByName("explorer")
While i.MainWindowTitle <> Mid(Folder, InStrRev(Folder, "\") + 1, Len(Folder))
End While
Exit For
Next
SendKeys.SendWait(nFile)
Imports System.Threading.Thread
Public Declare Auto Function SetProcessWorkingSetSize Lib "kernel32.dll" (ByVal procHandle As IntPtr, ByVal min As Int32, ByVal max As Int32) As Boolean
SetProcessWorkingSetSize(Process.GetCurrentProcess.Handle, -1, -1)
Public Function DEncriptStr(ByVal str As String) As String
Dim int As Long = str.Length
DEncriptStr = Nothing
For Each x As String In str
DEncriptStr = DEncriptStr & Chr(Asc(x) Xor int)
Next
Return DEncriptStr
End Function