elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Guía actualizada para evitar que un ransomware ataque tu empresa


  Mostrar Mensajes
Páginas: 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 ... 50
251  Programación / Programación Visual Basic / Re: ayuda vb6 en: 20 Febrero 2013, 22:33 pm
bueno vamos a darte una manito  :rolleyes:

podrías hacerlo así.

Código
  1. Dim i As Long
  2. 'MsgBox (flex.Rows) numero de filas
  3. 'MsgBox flex.TextMatrix(1, 2) tipo matriz
  4. For i = 1 To flex.Rows - 1
  5. Debug.Print flex.TextMatrix(i, 2) 'leo siempre en la columna 2 y respectivamente con I
  6. If flex.TextMatrix(i, 2) = "SOS" Then ' si quieres pintar toda la fila solo haces el inverso.
  7. flex.Col = 2
  8. flex.Row = i
  9. flex.CellBackColor = vbRed
  10. End If
  11. Next i

saludos
252  Programación / Programación Visual Basic / Re: necesito un ejemplo en: 20 Febrero 2013, 21:36 pm
No hagas 2 temas para la misma pregunta.  ;D
253  Seguridad Informática / Seguridad / Re: Publicidad al abrir el explorador (creo que algo de malware) en: 20 Febrero 2013, 14:24 pm
Prueba con esta a ver que tal. y me dejas el reporte.

le das a delete o borrar o suprimir.

http://www.infospyware.com/antispyware/adwcleaner/

saludos

254  Programación / .NET (C#, VB.NET, ASP) / Re: Buscar cadenas de texto dentro de un archivo en: 20 Febrero 2013, 14:12 pm
http://msdn.microsoft.com/es-ve/library/cc437602(v=vs.71).aspx

hay muchas formas.
podrías leer de linea a linea.
podrías delimitar los nuevas lineas.
255  Programación / Programación Visual Basic / Re: ayuda vb6 en: 19 Febrero 2013, 21:38 pm
El titulo debería ser mas descriptivo.  :¬¬
Hay mucho material en google sobre el tema.
256  Programación / .NET (C#, VB.NET, ASP) / Re: Barra de progreso en subida de archivo C# en: 18 Febrero 2013, 15:13 pm
hay que googlear  ;D

http://www.chilkatsoft.com/p/p_301.asp

saludos
257  Programación / .NET (C#, VB.NET, ASP) / Re: Barra de progreso en subida de archivo C# en: 18 Febrero 2013, 01:37 am
esto debería darte una idea.


http://www.youtube.com/watch?v=LLtyE4RGRK8
258  Programación / Programación Visual Basic / Re: Progamación en Visual Basic en: 18 Febrero 2013, 01:33 am
este codigo es para vb6.
estudialo.

Código
  1. 'Screen Capture Demo by Tanner Helland (published 2008, updated 2012)
  2. ' http://www.tannerhelland.com
  3.  
  4. 'If you like VB game and graphics code, be sure to subscribe to my RSS feed at
  5. ' http://www.tannerhelland.com/feed/
  6.  
  7. 'The required API calls are:
  8.  
  9. 'This call gives us the hWnd (window handle) of the screen
  10. Private Declare Function GetDesktopWindow Lib "user32" () As Long
  11.  
  12. 'This call assigns an hDC (handle of device context) from an hWnd
  13. Private Declare Function GetDC Lib "user32" (ByVal hWnd As Long) As Long
  14.  
  15. 'BitBlt lets us draw an image from a hDC to another hDC (in our case, from an hDC of the screen capture
  16. ' to the hDC of a VB picture box)
  17. Private Declare Function BitBlt Lib "gdi32" (ByVal hDC As Long, ByVal x As Long, ByVal y As Long, _
  18.  ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, _
  19.  ByVal ySrc As Long, ByVal opCode As Long) As Long
  20.  
  21. 'ReleaseDC will be used to release the screen's hDC once the screen capture is complete.
  22. Private Declare Function ReleaseDC Lib "user32" (ByVal hWnd As Long, ByVal hDC As Long) As Long
  23.  
  24. 'This sample project copies the screen when the form loads; you could also place this code in
  25. ' a command button (or any other input)
  26. Private Sub Form_Load()
  27.  
  28.    'First, minimize this window
  29.    Me.WindowState = vbMinimized
  30.  
  31.    'Get the hWnd of the screen
  32.    Dim scrHwnd As Long
  33.    scrHwnd = GetDesktopWindow
  34.  
  35.    'Now, assign an hDC to the hWnd we generated
  36.    Dim shDC As Long
  37.    shDC = GetDC(scrHwnd)
  38.  
  39.    'Determine the size of the screen
  40.    Dim screenWidth As Long, screenHeight As Long
  41.    screenWidth = Screen.Width \ Screen.TwipsPerPixelX
  42.    screenHeight = Screen.Height \ Screen.TwipsPerPixelY
  43.  
  44.    'Copy the data from the screen hDC to this VB form
  45.    BitBlt FormScreenCapture.hDC, 0, 0, screenWidth, screenHeight, shDC, 0, 0, vbSrcCopy
  46.  
  47.    'Release our hold on the screen's hDC
  48.    ReleaseDC scrHwnd, shDC
  49.  
  50.    'Set the picture of the form to equal its image
  51.    FormScreenCapture.Picture = FormScreenCapture.Image
  52.  
  53.    'Restore the window
  54.    Me.WindowState = vbNormal
  55.  
  56. End Sub


ya deja de usar vb 5 es algo viejo  :rolleyes: lo es el 6.
259  Programación / Programación Visual Basic / Re: ayuda creacion de exe en: 14 Febrero 2013, 02:56 am
No me refiero a que uses OPEN. me refiero a que podrías escribir un código de vb6 "solo vb6" que haga lo que quieres sin necesidad de usar archivos externos.
260  Programación / Programación Visual Basic / Re: ayuda creacion de exe en: 13 Febrero 2013, 18:13 pm
todo de todo.
Páginas: 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 ... 50
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines