Click here to Skip to main content
16,004,890 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DateTimePicker Pin
welbert29-Jan-06 17:43
welbert29-Jan-06 17:43 
QuestionReadProcessMemory API and VB.net Pin
gaxxx29-Jan-06 14:36
gaxxx29-Jan-06 14:36 
AnswerRe: ReadProcessMemory API and VB.net Pin
Dave Kreskowiak29-Jan-06 15:15
mveDave Kreskowiak29-Jan-06 15:15 
GeneralRe: ReadProcessMemory API and VB.net Pin
gaxxx29-Jan-06 16:34
gaxxx29-Jan-06 16:34 
GeneralRe: ReadProcessMemory API and VB.net Pin
Mekong River29-Jan-06 20:35
Mekong River29-Jan-06 20:35 
AnswerRe: ReadProcessMemory API and VB.net Pin
Duncan Edwards Jones29-Jan-06 21:08
professionalDuncan Edwards Jones29-Jan-06 21:08 
GeneralRe: ReadProcessMemory API and VB.net Pin
gaxxx30-Jan-06 3:50
gaxxx30-Jan-06 3:50 
Questionerror trying AVI creation, how to initialise out pointer? Pin
bskirkman29-Jan-06 13:46
bskirkman29-Jan-06 13:46 
I have tried the following code but get:
An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication2.exe
Additional information: Object reference not set to an instance of an object

<br />
'public static extern int AVIFileCreateStream(int pfile, out IntPtr ppavi, ref AVISTREAMINFOW psi);  (C#)<br />
Declare Function AVIFileCreateStream Lib "avifil32" Alias "AVIFileCreateStream" (ByVal pfile As Int32, ByVal ppavi As IntPtr, ByRef lParam As AVISTREAMINFOW) As Int32<br />
<br />
Private _aviFile As Int32 = 0<br />
Private _aviStream As IntPtr<br />
<br />
Dim aviStreamInfo As AVISTREAMINFOW = New AVISTREAMINFOW()<br />
(then set some attributes)<br />
<br />
_result = AviFile.AVIFileCreateStream(_aviFile, _aviStream, aviStreamInfo)<br />

The problem occurs on the last line. This was part of my C# to VB conversion attempt of
http://www.codeproject.com/cs/media/aviFileWrapper.asp[^]
[^]
GeneralRe: error trying AVI creation, how to initialise out pointer? Pin
bskirkman29-Jan-06 13:48
bskirkman29-Jan-06 13:48 
AnswerRe: error trying AVI creation, how to initialise out pointer? Pin
Christian Graus29-Jan-06 16:48
protectorChristian Graus29-Jan-06 16:48 
GeneralRe: error trying AVI creation, how to initialise out pointer? Pin
bskirkman29-Jan-06 17:08
bskirkman29-Jan-06 17:08 
Questionmachine vision Pin
Georgekutty29-Jan-06 9:12
Georgekutty29-Jan-06 9:12 
AnswerRe: machine vision Pin
Christian Graus29-Jan-06 15:45
protectorChristian Graus29-Jan-06 15:45 
Questioncan you help me,,,about data grid ? Pin
flashmemory29-Jan-06 2:47
flashmemory29-Jan-06 2:47 
AnswerRe: can you help me,,,about data grid ? Pin
Christian Graus29-Jan-06 15:46
protectorChristian Graus29-Jan-06 15:46 
GeneralRe: can you help me,,,about data grid ? Pin
Mekong River29-Jan-06 20:37
Mekong River29-Jan-06 20:37 
GeneralRe: can you help me,,,about data grid ? Pin
Christian Graus30-Jan-06 9:14
protectorChristian Graus30-Jan-06 9:14 
GeneralRe: can you help me,,,about data grid ? Pin
Mekong River3-Feb-06 5:32
Mekong River3-Feb-06 5:32 
QuestionHow can I detect if any deviced plugged or unplugged to USB port? Pin
JUNEYT29-Jan-06 1:54
JUNEYT29-Jan-06 1:54 
AnswerRe: How can I detect if any deviced plugged or unplugged to USB port? Pin
progload29-Jan-06 7:02
progload29-Jan-06 7:02 
Questiondisplaying results Pin
sentmemail29-Jan-06 1:28
sentmemail29-Jan-06 1:28 
AnswerRe: displaying results Pin
Dave Kreskowiak29-Jan-06 7:51
mveDave Kreskowiak29-Jan-06 7:51 
QuestionUpdating a datagridview Pin
trimtrom29-Jan-06 0:12
trimtrom29-Jan-06 0:12 
QuestionPrint Preview Pin
Saeid Jorablo28-Jan-06 23:31
Saeid Jorablo28-Jan-06 23:31 
QuestionHow can I resize a big image and then save it in smaller size? Pin
JUNEYT28-Jan-06 8:55
JUNEYT28-Jan-06 8:55 

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.