Click here to Skip to main content
15,881,882 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionnature Pin
Lakmali Perera3-Mar-14 17:49
Lakmali Perera3-Mar-14 17:49 
AnswerRe: nature Pin
Dave Kreskowiak3-Mar-14 18:10
mveDave Kreskowiak3-Mar-14 18:10 
QuestionRe: nature Pin
Eddy Vluggen4-Mar-14 1:34
professionalEddy Vluggen4-Mar-14 1:34 
AnswerRe: nature Pin
Bernhard Hiller4-Mar-14 2:23
Bernhard Hiller4-Mar-14 2:23 
QuestionVB6 to VB.Net COM Interface Help Pin
sashaw22-Mar-14 9:37
sashaw22-Mar-14 9:37 
QuestionRe: VB6 to VB.Net COM Interface Help Pin
Richard Deeming3-Mar-14 0:36
mveRichard Deeming3-Mar-14 0:36 
AnswerRe: VB6 to VB.Net COM Interface Help Pin
sashaw23-Mar-14 4:16
sashaw23-Mar-14 4:16 
AnswerRe: VB6 to VB.Net COM Interface Help Pin
Richard Deeming3-Mar-14 7:17
mveRichard Deeming3-Mar-14 7:17 
I suspect the problem is that the array needs to be passed ByRef, which isn't supported in property setters. Try replacing the property setter with a method:
VB
Public Property StringArray() As <MarshalAs(UnmanagedType.SafeArray, safearraysubtype:=VarEnum.VT_BSTR)> String()
    Get
        Return mStringArray
    End Get
End Property

Public Sub SetStringArray(<MarshalAs(UnmanagedType.SafeArray, safearraysubtype:=VarEnum.VT_BSTR)> ByRef value As String())
    mStringArray = value
End Sub




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: VB6 to VB.Net COM Interface Help <<< SOLVED >>> Pin
sashaw23-Mar-14 11:01
sashaw23-Mar-14 11:01 
QuestionPlease help me,.? Pin
M.Aprianto2-Mar-14 5:42
M.Aprianto2-Mar-14 5:42 
AnswerRe: Please help me,.? Pin
Eddy Vluggen2-Mar-14 7:44
professionalEddy Vluggen2-Mar-14 7:44 
Questionhow to make session timeout to automatically logout? Pin
charles entsuah28-Feb-14 10:31
charles entsuah28-Feb-14 10:31 
AnswerRe: how to make session timeout to automatically logout? Pin
ZurdoDev28-Feb-14 10:58
professionalZurdoDev28-Feb-14 10:58 
Questionupload pdf , save pdf in to a table, and read it from a datagrid on double click Pin
waner michaud28-Feb-14 9:07
waner michaud28-Feb-14 9:07 
AnswerRe: upload pdf , save pdf in to a table, and read it from a datagrid on double click Pin
Eddy Vluggen2-Mar-14 7:52
professionalEddy Vluggen2-Mar-14 7:52 
QuestionThreading.Thread.Sleep(5000) causing my splash screen to not show values. Help appreciated. Pin
ChristGuard26-Feb-14 9:46
ChristGuard26-Feb-14 9:46 
AnswerRe: Threading.Thread.Sleep(5000) causing my splash screen to not show values. Help appreciated. Pin
Dave Kreskowiak26-Feb-14 11:17
mveDave Kreskowiak26-Feb-14 11:17 
GeneralRe: Threading.Thread.Sleep(5000) causing my splash screen to not show values. Help appreciated. Pin
ChristGuard26-Feb-14 12:00
ChristGuard26-Feb-14 12:00 
GeneralRe: Threading.Thread.Sleep(5000) causing my splash screen to not show values. Help appreciated. Pin
Dave Kreskowiak26-Feb-14 16:17
mveDave Kreskowiak26-Feb-14 16:17 
Questionreading html data using the vb script Pin
Member 1062036024-Feb-14 17:32
Member 1062036024-Feb-14 17:32 
AnswerRe: reading html data using the vb script Pin
Dave Kreskowiak24-Feb-14 17:38
mveDave Kreskowiak24-Feb-14 17:38 
GeneralRe: reading html data using the vb script Pin
Member 1062036024-Feb-14 17:40
Member 1062036024-Feb-14 17:40 
GeneralRe: reading html data using the vb script Pin
Member 1062036024-Feb-14 17:43
Member 1062036024-Feb-14 17:43 
GeneralRe: reading html data using the vb script Pin
Dave Kreskowiak24-Feb-14 17:46
mveDave Kreskowiak24-Feb-14 17:46 
QuestionRunning VB6 programs in Windows 7 Pin
Wycombe24-Feb-14 12:00
Wycombe24-Feb-14 12:00 

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.