Click here to Skip to main content
15,922,894 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralInserting rows from data grid Pin
Anonymous8-Jan-05 10:49
Anonymous8-Jan-05 10:49 
GeneralRe: Inserting rows from data grid Pin
Anonymous9-Jan-05 22:52
Anonymous9-Jan-05 22:52 
GeneralRe: Inserting rows from data grid Pin
Paps210-Jan-05 9:47
Paps210-Jan-05 9:47 
GeneralAVICap32 API in VB.NET Pin
[DK]KiloDunse8-Jan-05 10:06
[DK]KiloDunse8-Jan-05 10:06 
GeneralRe: AVICap32 API in VB.NET Pin
[DK]KiloDunse9-Jan-05 23:51
[DK]KiloDunse9-Jan-05 23:51 
Generalsetup wizard Pin
Boniolopez8-Jan-05 4:49
Boniolopez8-Jan-05 4:49 
GeneralCallback function not working?? Video capture. Pin
[DK]KiloDunse8-Jan-05 0:37
[DK]KiloDunse8-Jan-05 0:37 
GeneralRe: Callback function not working?? Video capture. Pin
OICU8128-Jan-05 20:05
OICU8128-Jan-05 20:05 
Marshal.PtrToStructure(ptr,structure) is a Shared Sub and doesn't return a value. Try this revised code. I can't test it live but this is what i suspect is wrong with your code.


Public Function myCallBack(ByVal lwnd As Long, ByVal lpVHdr As Long) As Boolean
        Dim VideoData() As Byte
        Dim gh As Runtime.InteropServices.GCHandle _
            = Runtime.InteropServices.GCHandle.Alloc _
                (lpVHdr, Runtime.InteropServices.GCHandleType.Pinned)

        Dim AddrOflpVHdr As IntPtr = gh.AddrOfPinnedObject()

        Dim VideoHeader As New VIDEOHDR
        Marshal.PtrToStructure(AddrOflpVHdr, VideoHeader)

        gh.Free()

    End Function

GeneralRe: Callback function not working?? Video capture. Pin
[DK]KiloDunse8-Jan-05 20:31
[DK]KiloDunse8-Jan-05 20:31 
GeneralRe: Callback function not working?? Video capture. Pin
OICU8129-Jan-05 6:13
OICU8129-Jan-05 6:13 
GeneralRe: Callback function not working?? Video capture. Pin
[DK]KiloDunse9-Jan-05 23:50
[DK]KiloDunse9-Jan-05 23:50 
Generaldelete Pin
Makniteasy8-Jan-05 0:30
Makniteasy8-Jan-05 0:30 
GeneralRe: delete Pin
Levi Rosol8-Jan-05 4:35
Levi Rosol8-Jan-05 4:35 
GeneralRe: delete Pin
Makniteasy8-Jan-05 9:56
Makniteasy8-Jan-05 9:56 
Questionvb connect to mysql?? Pin
Ercoolz7-Jan-05 23:47
Ercoolz7-Jan-05 23:47 
AnswerRe: vb connect to mysql?? Pin
Mekong River8-Jan-05 4:25
Mekong River8-Jan-05 4:25 
QuestionThread + Closing application? Pin
DixrouE7-Jan-05 22:21
DixrouE7-Jan-05 22:21 
AnswerRe: Thread + Closing application? Pin
[DK]KiloDunse8-Jan-05 1:16
[DK]KiloDunse8-Jan-05 1:16 
GeneralRe: Thread + Closing application? Pin
DixrouE8-Jan-05 10:48
DixrouE8-Jan-05 10:48 
GeneralCreating Splash Screens Pin
cpod7-Jan-05 16:20
cpod7-Jan-05 16:20 
GeneralRe: Creating Splash Screens Pin
Robert Rohde7-Jan-05 21:21
Robert Rohde7-Jan-05 21:21 
GeneralRe: Creating Splash Screens Pin
cpod9-Jan-05 8:21
cpod9-Jan-05 8:21 
GeneralRe: Creating Splash Screens Pin
Mekong River8-Jan-05 4:30
Mekong River8-Jan-05 4:30 
QuestionDesigning Crystal Report at VB runtime ? Pin
viettho7-Jan-05 13:20
viettho7-Jan-05 13:20 
AnswerRe: Designing Crystal Report at VB runtime ? Pin
Levi Rosol7-Jan-05 22:29
Levi Rosol7-Jan-05 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.