Click here to Skip to main content
14,874,239 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Code convertor tool in Vb .net Pin
Christian Graus6-May-07 17:58
protectorChristian Graus6-May-07 17:58 
AnswerRe: Code convertor tool in Vb .net Pin
Blumen7-May-07 5:48
MemberBlumen7-May-07 5:48 
AnswerRe: Code convertor tool in Vb .net Pin
Dave Kreskowiak4-May-07 2:33
mveDave Kreskowiak4-May-07 2:33 
GeneralRe: Code convertor tool in Vb .net Pin
Blumen8-May-07 2:14
MemberBlumen8-May-07 2:14 
GeneralRe: Code convertor tool in Vb .net Pin
Dave Kreskowiak8-May-07 3:46
mveDave Kreskowiak8-May-07 3:46 
AnswerRe: Code convertor tool in Vb .net Pin
Paul Conrad4-May-07 14:00
professionalPaul Conrad4-May-07 14:00 
GeneralRe: Code convertor tool in Vb .net Pin
irrdev6-May-07 22:33
Memberirrdev6-May-07 22:33 
QuestionRASEnumEntries for VB.NET Pin
hellotkb3-May-07 17:45
Memberhellotkb3-May-07 17:45 
There are some RASEnumEntries projects written in VB6. However there isn't any project written in vb.net in the Internet. I have tried converting a VB6 project into VB.Net but i hit the 632 - Invalid size error. Can someone enlighted me? Here are part of my source code:

'Structure for RASENTRYNAME (Did i get the structure rite?)

'==============================================

Private Structure RAS_ENTRIES

Dim dwFlags As Integer
Dim dwSize As Integer
<vbfixedarray(256)> Dim szEntryname() As Byte

Public Sub Initialize()

ReDim szEntryname(256)
End Sub

End Structure
'==============================================


Function RasEnumEntriesA (Am i assigning the correct structure size?)
'==============================================
Dim lngSize As Integer
Dim lngEntries As Integer
Dim lngIndex As Integer

Dim result As Long
Dim RAS(255) As RAS_ENTRIES
Erase sDunList

RAS(0).dwSize = Marshal.SizeOf(RAS(0))
lngSize = 256 * RAS(0).dwSize
result = RasEnumEntriesA(vbNullString, vbNullString, RAS(0), lngSize, lngEntries)
'================================================

Any help is appreciated. Thanks alot!

Regards,
Max
AnswerRe: RASEnumEntries for VB.NET Pin
Dave Kreskowiak4-May-07 6:26
mveDave Kreskowiak4-May-07 6:26 
GeneralRe: RASEnumEntries for VB.NET Pin
hellotkb4-May-07 20:12
Memberhellotkb4-May-07 20:12 
GeneralRe: RASEnumEntries for VB.NET Pin
Claudio Nicora29-Nov-09 22:15
MemberClaudio Nicora29-Nov-09 22:15 
AnswerRe: RASEnumEntries for VB.NET Pin
JfCode10-Jan-12 4:44
MemberJfCode10-Jan-12 4:44 
Questionremoting problem Pin
neodeaths3-May-07 16:50
Memberneodeaths3-May-07 16:50 
AnswerRe: remoting problem Pin
Paul Conrad14-Jul-07 6:50
professionalPaul Conrad14-Jul-07 6:50 
GeneralRe: remoting problem Pin
neodeaths15-Jul-07 16:46
Memberneodeaths15-Jul-07 16:46 
GeneralRe: remoting problem Pin
Paul Conrad15-Jul-07 17:08
professionalPaul Conrad15-Jul-07 17:08 
Questionhow can i send infomation from 1 pc to another>? Pin
neodeaths3-May-07 16:12
Memberneodeaths3-May-07 16:12 
AnswerRe: how can i send infomation from 1 pc to another>? Pin
Blumen3-May-07 23:07
MemberBlumen3-May-07 23:07 
Question.NET Framework Content Training Pin
JatinerS3-May-07 13:43
MemberJatinerS3-May-07 13:43 
QuestionProof of the .NET 3.0 Installation Pin
Brendan Vogt3-May-07 7:21
MemberBrendan Vogt3-May-07 7:21 
AnswerRe: Proof of the .NET 3.0 Installation Pin
Dave Kreskowiak3-May-07 7:49
mveDave Kreskowiak3-May-07 7:49 
GeneralRe: Proof of the .NET 3.0 Installation Pin
Brendan Vogt3-May-07 19:54
MemberBrendan Vogt3-May-07 19:54 
GeneralRe: Proof of the .NET 3.0 Installation Pin
Dave Kreskowiak4-May-07 2:28
mveDave Kreskowiak4-May-07 2:28 
QuestionRe: Proof of the .NET 3.0 Installation Pin
Brendan Vogt4-May-07 2:35
MemberBrendan Vogt4-May-07 2:35 
AnswerRe: Proof of the .NET 3.0 Installation Pin
Scott Dorman4-May-07 4:08
professionalScott Dorman4-May-07 4:08 

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.