Click here to Skip to main content
16,012,759 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Difference between VB 6.0 and .net Pin
Christian Graus27-May-07 16:58
protectorChristian Graus27-May-07 16:58 
GeneralRe: Difference between VB 6.0 and .net Pin
Xandip27-May-07 23:08
Xandip27-May-07 23:08 
GeneralRe: Difference between VB 6.0 and .net Pin
Christian Graus27-May-07 23:34
protectorChristian Graus27-May-07 23:34 
GeneralRe: Difference between VB 6.0 and .net Pin
Xandip28-May-07 0:04
Xandip28-May-07 0:04 
GeneralRe: Difference between VB 6.0 and .net Pin
Christian Graus28-May-07 11:33
protectorChristian Graus28-May-07 11:33 
QuestionWhat am I missing? Pin
MikMit26-May-07 16:52
MikMit26-May-07 16:52 
AnswerRe: What am I missing? Pin
Dave Herren26-May-07 17:34
Dave Herren26-May-07 17:34 
GeneralRe: What am I missing? Pin
MikMit26-May-07 17:47
MikMit26-May-07 17:47 
Thanks for the suggestion. This particular function/property doesn't necessarily have sequential numbering. It also has potentially 65535 indices. I don't really have a choice as to the structure (it's a file format of a third-party program). What I'm using in VB6 is perfect and I'm struggling with the idea that dot net can't do it. It feels like I'm going backwards porting things to dot net.

Public Property Get Field(FldNo as Long) as String

..... code

End Property

Public Property Let Field(FldNo as Long, Value as String)

..... code

End Property

This allows the calling routine to address this property just like any other property. I originally wrote it as a method but the property approach is so much more convenient to code.


CalmlyFrustrated
GeneralRe: What am I missing? Pin
Dave Herren27-May-07 1:59
Dave Herren27-May-07 1:59 
QuestionSimple Visual Studio Projects for students Pin
Visual Very Basic26-May-07 12:40
Visual Very Basic26-May-07 12:40 
AnswerRe: Simple Visual Studio Projects for students Pin
The ANZAC26-May-07 15:12
The ANZAC26-May-07 15:12 
AnswerRe: Simple Visual Studio Projects for students Pin
Thomas Stockwell26-May-07 15:35
professionalThomas Stockwell26-May-07 15:35 
AnswerRe: Simple Visual Studio Projects for students Pin
Dave Herren26-May-07 15:39
Dave Herren26-May-07 15:39 
AnswerRe: Simple Visual Studio Projects for students Pin
Christian Graus26-May-07 15:48
protectorChristian Graus26-May-07 15:48 
GeneralRe: Simple Visual Studio Projects for students Pin
Dave Herren26-May-07 16:03
Dave Herren26-May-07 16:03 
GeneralRe: Simple Visual Studio Projects for students Pin
The ANZAC26-May-07 21:18
The ANZAC26-May-07 21:18 
GeneralRe: Simple Visual Studio Projects for students Pin
Christian Graus26-May-07 23:31
protectorChristian Graus26-May-07 23:31 
GeneralRe: Simple Visual Studio Projects for students Pin
Christian Graus26-May-07 23:30
protectorChristian Graus26-May-07 23:30 
GeneralRe: Simple Visual Studio Projects for students Pin
Dave Herren27-May-07 2:45
Dave Herren27-May-07 2:45 
GeneralRe: Simple Visual Studio Projects for students [modified] Pin
Dave Herren27-May-07 3:17
Dave Herren27-May-07 3:17 
JokeRe: Simple Visual Studio Projects for students Pin
MidwestLimey30-May-07 8:11
professionalMidwestLimey30-May-07 8:11 
AnswerRe: Simple Visual Studio Projects for students Pin
NDD5727-May-07 23:05
NDD5727-May-07 23:05 
Questionfind ip addresses of pc's connected to lan Pin
Bong M.26-May-07 8:36
Bong M.26-May-07 8:36 
AnswerRe: find ip addresses of pc's connected to lan Pin
Dave Kreskowiak27-May-07 7:17
mveDave Kreskowiak27-May-07 7:17 
QuestionUrgent Need help: VB.NET serialport Pin
sanong26-May-07 7:17
sanong26-May-07 7:17 

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.