Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - bebekbdg

Páginas: [1]
1
Visual Basic 6 / Re:BackGroud Color
« en: Agosto 25, 2013, 09:41:40 pm »
Thank you very much

2
Visual Basic 6 / BackGroud Color
« en: Agosto 24, 2013, 09:23:23 am »
anyone can you help me
i have this code

Código: [Seleccionar]
Private Declare Function GetDC Lib "user32.dll" (ByVal hwnd As Long) As Long
Private Declare Function CreateCompatibleDC Lib "gdi32.dll" (ByVal hdc As Long) As Long
Private Declare Function SelectObject Lib "gdi32.dll" (ByVal hdc As Long, ByVal hObject As Long) As Long
Private Declare Function BitBlt Lib "gdi32.dll" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
Private Declare Function CreateCompatibleBitmap Lib "gdi32.dll" (ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long
Private Declare Function SetPixelV Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Byte
Private Declare Function CreateSolidBrush Lib "gdi32.dll" (ByVal crColor As Long) As Long
Private Declare Function GetSysColorBrush Lib "user32" (ByVal nIndex As Long) As Long
Private Declare Function SetBkMode Lib "gdi32" (ByVal hdc As Long, ByVal nBkMode As Long) As Long
Private Declare Function CreateDIBSection Lib "gdi32.dll" (ByVal hdc As Long, pBitmapInfo As BITMAPINFO, ByVal un As Long, ByRef lplpVoid As Any, ByVal handle As Long, ByVal dw As Long) As Long

Private Type BITMAPINFOHEADER
    biSize As Long
    biWidth As Long
    biHeight As Long
    biPlanes As Integer
    biBitCount As Integer
    biCompression As Long
    biSizeImage As Long
    biXPelsPerMeter As Long
    biYPelsPerMeter As Long
    biClrUsed As Long
    biClrImportant As Long
End Type
 
Private Type BITMAPINFO
    bmiHeader As BITMAPINFOHEADER
    bmiColors() As Long
End Type

Private m_hDC As Long
 
Private Sub Command1_Click()

    Dim hBitmap As Long
    Dim DC As Long
    Dim BI As BITMAPINFO
   
    DC = GetDC(0)
    m_hDC = CreateCompatibleDC(DC)
   
    With BI.bmiHeader
        .biSize = Len(BI.bmiHeader)
        .biBitCount = 32
        .biWidth = Picture1.ScaleWidth
        .biHeight = Picture1.ScaleHeight
        .biPlanes = 1
        .biSizeImage = .biWidth * .biHeight * (.biBitCount / 8)
    End With
   
    hBitmap = CreateDIBSection(m_hDC, BI, DIB_RGB_COLORS, ByVal 0, 0, 0)
    OldhBitmap = SelectObject(m_hDC, hBitmap)
    Call BitBlt(Picture1.hdc, 0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight, m_hDC, 0, 0, vbSrcCopy)
   
End Sub


output on picturebox is black color
how do I want to output on picturebox cant set by color like VbRed

3
Visual Basic 6 / ucImage.LoadImageFromRes ???
« en: Mayo 07, 2013, 03:21:16 pm »
is there anyone who can give me an example of calling
ucImage.LoadImageFromRes along with files. Res


Thank you in advance

4
Visual Basic 6 / Re:clsXML - read worldweatheronline XML
« en: Enero 12, 2013, 01:24:32 pm »
maybe ini this
      <weatherIconUrl><![CDATA[http://www.worldweatheronline.com/images/wsymbols01_png_64/wsymbol_0001_sunny.png]]></weatherIconUrl>
      <weatherDesc><![CDATA[Sunny]]></weatherDesc>

      <weatherIconUrl><![CDATA[http://www.worldweatheronline.com/images/wsymbols01_png_64/wsymbol_0002_sunny_intervals.png]]></weatherIconUrl>
      <weatherDesc><![CDATA[Partly Cloudy]]></weatherDesc>

      <weatherIconUrl><![CDATA[http://www.worldweatheronline.com/images/wsymbols01_png_64/wsymbol_0003_white_cloud.png]]></weatherIconUrl>
      <weatherDesc><![CDATA[Cloudy]]></weatherDesc>

when i remove it... is not problem


6
Visual Basic 6 / Re:Información XMPP
« en: Septiembre 27, 2012, 09:25:24 am »
maybe you can use the IP Works commponent

7


I have a problem
if anyone can fix this (shadow image)
thanks

http://www.mediafire.com/?zllfy6678ly34o7

8
Visual Basic 6 / Re:ucListView KeyPress
« en: Abril 25, 2011, 10:10:15 pm »
thank you boss. turns out the problem was there ... :)  ;D ;D

9
Visual Basic 6 / Re:ucListView KeyPress
« en: Abril 17, 2011, 05:56:16 pm »
 
Código: [Seleccionar]
                Case WM_KEYUP
               
                    If (wParam And &H7FFF&) = &H74 Or (wParam And &H7FFF&) = &H2E Then
                        RaiseEvent KeyPress(wParam And &H7FFF&)
                    End If
                   
                    RaiseEvent KeyUp(wParam And &H7FFF&, pvShiftState())
whether the code that I made ​​this modification has been good. or there is a better?
because when i press Delete With Msgbox cursor not selected.

10
Visual Basic 6 / ucListView KeyPress
« en: Abril 17, 2011, 05:32:18 pm »
i use UcListView http://www.leandroascierto.com.ar/categoria/Proyectos/articulo/Proyecto_2.php . How do I use for the event keypress to deliver value = F5, Delete

12
Visual Basic 6 / Re:[src] clsCom: manejo del puerto serie
« en: Agosto 09, 2010, 12:28:26 pm »
little improvement can not open COM31, COM32 ..
repair code:
strCom = "\\.\" & "COM" & CStr(c_lngComPort)

13
Visual Basic 6 / Re:listview like treeview
« en: Mayo 18, 2010, 01:56:06 pm »
lo siento ... fue mi culpa porque yo no comprendía muy bien el foro español conmigo desde el idioma indonesio. pero a menudo la visita saludos http://www.leandroascierto.com.ar/  ;D ;)

14
Visual Basic 6 / Re:listview like treeview
« en: Mayo 18, 2010, 01:12:13 am »
LeandroA gracias .. ahora mi problema puede ser solucionado :)

15
Visual Basic 6 / listview like treeview
« en: Mayo 17, 2010, 11:01:23 am »
¿Alguien sabe cómo crear un control ListView así por favor ayúdeme gracias  :'( :'(

Páginas: [1]