Cita de: Ikillnukes en 16 Junio 2013, 19:57 PM
Aparte de tu y yo, quien más ha participado?
ABDERRAMAH
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úCita de: Ikillnukes en 16 Junio 2013, 19:57 PM
Aparte de tu y yo, quien más ha participado?
Cita de: Ikillnukes en 16 Junio 2013, 19:42 PM
Tema: Librería de Snippets !! (Posteen aquí sus snippets) (Leído 10,100 veces)
Anda! 10k de visitas! Enhorabuena
#Region " Open In Explorer "
' [ Open In Explorer ]
'
' // By Elektro H@cker
'
' Examples :
' Open_In_Explorer("C:\Folder\")
' Open_In_Explorer("C:\Folder\File.txt")
Private Sub Open_In_Explorer(ByVal File_Or_Folder As String)
If File_Or_Folder.EndsWith("\") Then File_Or_Folder = File_Or_Folder.Substring(0, File_Or_Folder.Length - 1)
If IO.Directory.Exists(File_Or_Folder) Then
Dim FileInformation As IO.FileInfo = My.Computer.FileSystem.GetFileInfo(File_Or_Folder)
Process.Start("explorer.exe", " /select," & IO.Path.Combine(FileInformation.DirectoryName, FileInformation.Name))
ElseIf IO.File.Exists(File_Or_Folder) Then
Dim FolderInformation As IO.DirectoryInfo = My.Computer.FileSystem.GetDirectoryInfo(File_Or_Folder)
Process.Start("explorer.exe ", FolderInformation.FullName)
Else
Throw New Exception(File_Or_Folder & " doesn't exist")
End If
End Sub
#End Region
#Region " Open With... "
' [ Open With... ]
'
' // By Elektro H@cker
'
' Examples :
' Open_With("C:\File.txt") ' And select "Notepad.exe" in the Dialog...
Private Sub Open_With(ByVal File_Or_Folder As String)
Dim OpenWith As New OpenFileDialog()
OpenWith.InitialDirectory = Environ("programfiles")
OpenWith.Title = "Open file with..."
OpenWith.Filter = "Application|*.exe"
If OpenWith.ShowDialog() = DialogResult.OK Then
Process.Start(OpenWith.FileName, " " & """" & File_Or_Folder & """")
End If
End Sub
#End Region
' Scroll ListView
Private Sub Scroll_ListView(ByVal ListView_Name As ListView)
ListView_Name.EnsureVisible(ListView_Name.Items.Count - 1)
End Sub
' [ListView] Auto-Disable ContextMenu
Private Sub ContextMenu_Opening(sender As System.Object, e As System.ComponentModel.CancelEventArgs) _
Handles Listview1_ContextMenu.Opening
If ListView1.SelectedItems.Count = 0 Then e.Cancel = True
End Sub
#Region " [ListView] Copy Item To Clipboard "
' [ [ListView] Copy Item To Clipboard ]
'
' // By Elektro H@cker
'
' Examples :
'
' Copy_Selected_Items_To_Clipboard(ListView1, 0) ' Copies Item 0
' Copy_Selected_Items_To_Clipboard(ListView1, 0, 2) ' Copies SubItem 2 of Item 0
Private Sub Copy_Item_To_Clipboard(ByVal ListView_Name As ListView, _
ByVal Item As Int32, _
Optional ByVal SubItem As Int64 = 0)
Clipboard.SetText(ListView_Name.Items(Item).SubItems(SubItem).Text)
End Sub
#End Region
#Region " [ListView] Copy Selected-Items To Clipboard "
' [ [ListView] Copy Selected-Items To Clipboard ]
'
' // By Elektro H@cker
'
' Examples :
'
' Copy_Selected_Items_To_Clipboard(ListView1) ' Copies all SubItems of selected Items
' Copy_Selected_Items_To_Clipboard(ListView1, 2) ' Copies only SubItem 2 of selected Items
Private Sub Copy_Selected_Items_To_Clipboard(ByVal ListView_Name As ListView, _
Optional ByVal SubItem As Int32 = -0)
Dim text As String = String.Empty
For Each Entry As ListViewItem In ListView_Name.SelectedItems()
If SubItem = -0 Then
For Each Subi As ListViewItem.ListViewSubItem In ListView_Name.Items(Entry.Index).SubItems
text &= " " & Subi.Text
Next
text &= ControlChars.NewLine
Else
text &= ControlChars.NewLine & ListView_Name.Items(Entry.Index).SubItems(SubItem).Text
End If
Next
Clipboard.SetText(text)
End Sub
#End Region
Cita de: Psyfurius en 16 Junio 2013, 17:50 PM
http://www.kat.ph/ está offline o es mi red? Quien me puede confirmar!?
Cita de: ABDERRAMAH en 16 Junio 2013, 00:38 AM
ver si pruebo con el uninstall tool o algo así porque no funciona el desinstalable.
Cita de: Geek7 en 14 Junio 2013, 16:29 PMComo hago esto?
Cita de: IMPEESA en 15 Junio 2013, 07:26 AMsaludos \m/ (cual es la etiqueta para spoiler??? o no hay???)
Cita de: IMPEESA en 15 Junio 2013, 07:26 AM
como podria ver las claves en texto plano???