Click here to Skip to main content
15,887,334 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionregarding datagrid scrolling downwards Pin
Pravin H31-Mar-06 1:39
Pravin H31-Mar-06 1:39 
Questionerror msg while closing vb.net project Pin
Pravin H31-Mar-06 1:37
Pravin H31-Mar-06 1:37 
QuestionConnecting to SQL Server Pin
dikshit0531-Mar-06 0:07
dikshit0531-Mar-06 0:07 
AnswerRe: Connecting to SQL Server Pin
CWIZO31-Mar-06 1:26
CWIZO31-Mar-06 1:26 
AnswerRe: Connecting to SQL Server Pin
Vikrant Badhai31-Mar-06 20:21
Vikrant Badhai31-Mar-06 20:21 
QuestionToggle Outlining in VB 2003 Pin
Kevin McFarlane30-Mar-06 21:47
Kevin McFarlane30-Mar-06 21:47 
Questionerror with decalre function Pin
allenmpcx30-Mar-06 21:42
allenmpcx30-Mar-06 21:42 
AnswerRe: error with decalre function Pin
progload31-Mar-06 7:44
progload31-Mar-06 7:44 
Mike,

I don't see your RASDEVINFO Stucture it should, at a minimum, look like this:

Public Structure RASDEVINFO
Dim dwSize As Long
<VBFixedArray(RAS_MaxDeviceType)> _
Dim szDeviceType() As Byte
<VBFixedArray(RAS_MaxDeviceName)> _
Dim szDeviceName() As Byte
End Structure

If you still have a problem with it, convert the stucture to a class structure, as you cannot pass a null value in VB.Net in a structure.

Also you need to do a lot more marshaling of most of that code.

There is an aritcle here on that, that may help you.

http://www.codeproject.com/vb/net/netcopymemorysample.asp

If you need anymore help feel free to email me and I'll see if I can help you work it out.

progload

QuestionControl Tabs Pin
Leavashni30-Mar-06 19:56
Leavashni30-Mar-06 19:56 
Questionport knocking Pin
joby224330-Mar-06 19:53
joby224330-Mar-06 19:53 
AnswerRe: port knocking Pin
Dave Kreskowiak31-Mar-06 5:09
mveDave Kreskowiak31-Mar-06 5:09 
QuestionMoving any Control (For instance BUTTON) on the Form's surface Pin
Mr. Arfan Qadir30-Mar-06 18:52
Mr. Arfan Qadir30-Mar-06 18:52 
AnswerRe: Moving any Control (For instance BUTTON) on the Form's surface Pin
sathish s30-Mar-06 21:02
sathish s30-Mar-06 21:02 
GeneralRe: Moving any Control (For instance BUTTON) on the Form's surface Pin
Dave Kreskowiak31-Mar-06 5:05
mveDave Kreskowiak31-Mar-06 5:05 
AnswerRe: Moving any Control (For instance BUTTON) on the Form's surface Pin
Dave Kreskowiak31-Mar-06 5:03
mveDave Kreskowiak31-Mar-06 5:03 
QuestionSimplify your life with Object Binding Pin
Iqbal M Khan30-Mar-06 18:50
Iqbal M Khan30-Mar-06 18:50 
QuestionClear XML Element Pin
nitin_ion30-Mar-06 18:40
nitin_ion30-Mar-06 18:40 
QuestionFile transfer help Pin
Mega130-Mar-06 17:27
Mega130-Mar-06 17:27 
AnswerRe: File transfer help Pin
hbk72331-Mar-06 1:35
hbk72331-Mar-06 1:35 
GeneralRe: File transfer help Pin
Mega131-Mar-06 4:08
Mega131-Mar-06 4:08 
GeneralRe: File transfer help Pin
Chatura Dilan31-Mar-06 17:43
Chatura Dilan31-Mar-06 17:43 
QuestionLoad html page in VB.NET Pin
lucdt30-Mar-06 17:03
lucdt30-Mar-06 17:03 
AnswerRe: Load html page in VB.NET Pin
sathish s30-Mar-06 20:02
sathish s30-Mar-06 20:02 
Questionnull value - datetimepicker checked property Pin
VaLynna30-Mar-06 16:36
VaLynna30-Mar-06 16:36 
AnswerRe: null value - datetimepicker checked property Pin
sathish s30-Mar-06 19:05
sathish s30-Mar-06 19:05 

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.