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

 

 


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales


  Mostrar Mensajes
Páginas: 1 ... 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 [44] 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 ... 128
431  Media / Juegos y Consolas / Re: Que shooter online me recomendais? en: 17 Diciembre 2010, 21:56 pm
Gracias a todos por las respuestas, recuerdo que lo prioritario es que sea facil crear partida para jugar online. :P
Voy a echar un vistazo a estos :D

DoEvents! :P
432  Media / Juegos y Consolas / Re: Que shooter online me recomendais? en: 17 Diciembre 2010, 15:55 pm
Ook, gracias Casti lo mirare ;D
Alguno más que me aconsejeis y cumpla esos requisitos? :huh:

DoEvents! :P
433  Media / Juegos y Consolas / Que shooter online me recomendais? en: 17 Diciembre 2010, 15:51 pm
Pido consejo:

Estoy buscando un shooter online en primera persona que sea fácil de instalar, que no requiera un PC muy potente, y que sea sencillo crear una partida online para jugar con mis amigos.

Gracias ;)
434  Programación / Programación Visual Basic / Re: [SRC][UC] ListViewEx en: 17 Diciembre 2010, 14:40 pm
HOLA!!!

@Black:
Preguntita: Se pueden seleccionar los colores del listviewEX o viene con "temas" predefinidos.

P.D: Te digo Black por que sino me suena a Impresora :P.

GRACIAS POR LEER!!!
Descargalo y compruebalo tú mismo.... :silbar:
 :xD
Si, claro que se pueden seleccionar, lo hace todo con GDI. :)
Este SRC ya me lo paso Black hace tiempo para que le hechara un vistazo.
Y el resultado es genial :D
Ahora a buscar bugs  >:D

DoEvents! :P
435  Programación / Programación Visual Basic / Re: [SNIPPET] Decimal a Romano en: 17 Diciembre 2010, 02:24 am
Buena Karcrack, esta muy claro de entender. :)
No te gusta más así?
Código
  1. Public Function DecToRoman(ByVal lNum As Long) As String
  2.    DecToRoman = Choose(((lNum Mod 10) / 1) + 1, "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX")
  3.    lNum = lNum - (lNum Mod 10)
  4.    If lNum Then
  5.        DecToRoman = Choose(((lNum Mod 100) / 10) + 1, "", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC") & DecToRoman
  6.        lNum = lNum - (lNum Mod 100)
  7.        If lNum Then
  8.            DecToRoman = String$((lNum \ 1000), "M") & Choose(((lNum Mod 1000) / 100) + 1, "", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM") & DecToRoman
  9.        End If
  10.    End If
  11. End Function
De esta manera si es el 7 o el 46 (por ej) no sigue comprobando.
Por cierto y RomanToDec() que? :silbar: :laugh:

DoEvents! :P
436  Programación / Programación Visual Basic / Re: [SRC] cListBoxMultiAlign [by Mr. Frog ©] en: 16 Diciembre 2010, 20:40 pm
Aqui está, bug reparados y código optimizado  :)

DoEvents! :P
437  Programación / Programación Visual Basic / Re: [SRC] cListBoxMultiAlign [by Mr. Frog ©] en: 16 Diciembre 2010, 19:16 pm
@karmany
En eso estoy trabajando en un rato pongo el SRC optimizado!  ;)

DoEvents! :P
438  Programación / Programación Visual Basic / Re: [SRC] cListBoxMultiAlign [by Mr. Frog ©] en: 15 Diciembre 2010, 18:31 pm
Si se puede, BlackZerox y Ranita saben...!  :silbar:
:xD
Pues creo que esta vez te equivocas... :rolleyes:

@79137913
Eso no será sencillo, para ello puedes buscar algun UC (despues busco y posteo si encuentro algo), o quizas se pueda hacer algo con otro control; un LV o un MSFLGRND (no lo se :-\).
Tengo aun que mejorar esta clase que tiene algun bug por ahi... Despues actualizo.

DoEvents! :P
439  Programación / Programación Visual Basic / Re: [SRC] cListBoxMultiAlign [by Mr. Frog ©] en: 15 Diciembre 2010, 01:42 am
Tambien se me ocurrio esta forma de centrar el texto sin Apis y sin agregar controles adicionales, aunque es un poco fea (pero funciona :silbar:) :

En un módulo:

Código
  1. Option Explicit
  2. '=========================================================
  3. ' º Function : AlignCenterLBItem
  4. ' º Author   : Mr.Frog ©
  5. ' º Mail     : vbpsyke1@mixmail.com
  6. ' º Greets   : LeandroA
  7. ' º Recommended Websites :
  8. '       http://visual-coders.com.ar
  9. '       http://InfrAngeluX.Sytes.Net
  10. '       http://twitter.com/#!/PsYkE1
  11. '=========================================================
  12.  
  13. Public Function AlignCenterLBItem(myListbox As ListBox, ByVal sItem As String) As String
  14. Dim lItemLen                                           As Long
  15.    If Not (myListbox Is Nothing) Then
  16.        lItemLen = myListbox.Parent.TextWidth(sItem)
  17.        If lItemLen < myListbox.Width Then
  18.            AlignCenterLBItem = Space$(Abs(Int((Int(myListbox.Width - lItemLen) / 2) / myListbox.Parent.TextWidth(Space$(1)) - 1.5))) & sItem
  19.        End If
  20.    End If
  21. End Function

Ejemplo:
Código
  1. Private Sub Form_Load()
  2.    List1.AddItem AlignCenterLBItem(List1, "Amo elhacker.net")
  3. End Sub
:xD

Es lo más corto que he visto...  ::)

DoEvents! :P
440  Programación / Programación Visual Basic / Re: [SRC] cListBoxMultiAlign [by Mr. Frog ©] en: 15 Diciembre 2010, 01:35 am
.
Bonito

P.D.: casi no le ponias la referencia ¬¬"

Dulces Lunas!¡.
Gracias! ;)
:xD
Ya la puse, y ya avise a karmany por MP para que le heche un vistazo!  ;D

DoEvents! :P
Páginas: 1 ... 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 [44] 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 ... 128
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines