CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Dagnarus

Search: Search took 0.05 seconds.

  1. Replies
    8
    Views
    1,177

    Re: Program protection issue

    First: What has this Problem to do with VB??? My guess would be: nothing. But ok. Not my problem.

    Second: The thing with a System Administrator or Administrator is that he MUST be able to see and...
  2. Replies
    14
    Views
    9,457

    Re: VBA: copy part of image

    First a blank Bitmap with the same Size as Image1 is created and assigned to myDC

    The Image1 redering has myDC as target -> store the rendered Picture in myDC (myBMP)

    Then the BMP is converted...
  3. Replies
    14
    Views
    9,457

    Re: VBA: copy part of image

    Have you tried Image2.Refresh?
  4. Replies
    10
    Views
    16,757

    Re: Listbox Item "top" position

    (First READ the Thread, then answer. *********.)

    BTT: You could compute the Position where to put the Textbox using TextHeight like this :


    Private Sub List1_DblClick()
    Dim nPos As Long
    ...
  5. Replies
    111
    Views
    34,900

    Re: Loop through folders with shell object.

    If the function wants a pointer, why dont give it what it wants? Try VarPtr() with a String variable. This way there would be no need of using the Variant DataType.
  6. Replies
    106
    Views
    7,463

    Re: recieving 3 value in uart

    Maybe. If you first post the Code you need help with...
  7. Re: Get text of the item out of listview with LVS_OWNERDRAWFIXED

    How about this one:


    Const LVM_FIRST As Long = &H1000
    Const LVM_GETITEMTEXT As Long = (LVM_FIRST + 45)

    Const LVIF_TEXT As Long = &H1

    Function GetItemText(hwnd As Long, Index As Long,...
  8. Replies
    10
    Views
    10,000

    Re: save msflexgrid data to sql database

    Some times you need to provide the TableName Fully Qualified.

    INSERT INTO TABLEOWNER.TABLENAME ....
  9. Thread: Mic Click

    by Dagnarus
    Replies
    2
    Views
    694

    Re: Mic Click

    Im just guessing wildly here... its internet based? You have a client and server? Good: So send a message to the client to play a certain sound. You dont have to actually transmit the sound.
  10. Replies
    22
    Views
    7,864

    Re: ListBox.ListCount

    Like this:

    '// SendMessage returns Index of SelectedItem
    lpIndex = SendMessageLong(mHlp_hWnd, LB_GETCARETINDEX, 0, 0)
    '// Initialise String Var with 1024 Byte
    cTemp = Space(1024)
    '//...
  11. Replies
    8
    Views
    10,727

    Re: List View alternate row back color

    If you want to have a solution for all of your projects, try creating a control that warps the original ListView and adds the AlternateRow coloring.

    Maybe have a look at...
  12. Replies
    22
    Views
    7,864

    Re: ListBox.ListCount

    Looks like the whole VB Control is a Wrapper for the control provided with Windows. And this should be 32bit (XP an higher)

    Try LB_GETCOUNT using the hWnd from the VB Control.
    (LCount =...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured