Click here to Skip to main content
15,791,806 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Programming Project Pin
sathesh pandian20-Feb-07 22:43
sathesh pandian20-Feb-07 22:43 
QuestionCreating an Excel file - Microsoft.Office.Tools.Excel or Microsoft Excel 11.0 Object Library Pin
Marcus J. Smith20-Feb-07 8:09
professionalMarcus J. Smith20-Feb-07 8:09 
AnswerRe: Creating an Excel file - Microsoft.Office.Tools.Excel or Microsoft Excel 11.0 Object Library Pin
Krish - KP20-Feb-07 18:39
Krish - KP20-Feb-07 18:39 
QuestionHow can I play movie through window media player if I am getting port number and IP address Pin
onrivman20-Feb-07 7:26
onrivman20-Feb-07 7:26 
AnswerRe: How can I play movie through window media player if I am getting port number and IP address Pin
Dave Kreskowiak20-Feb-07 7:59
mveDave Kreskowiak20-Feb-07 7:59 
QuestionHow to play movie through vb.net Pin
onrivman20-Feb-07 6:56
onrivman20-Feb-07 6:56 
AnswerRe: How to play movie through vb.net Pin
Dave Kreskowiak20-Feb-07 8:00
mveDave Kreskowiak20-Feb-07 8:00 
QuestionPassing Arraylists of Objects to Child Form Pin
Geoff_300120-Feb-07 6:33
Geoff_300120-Feb-07 6:33 
Hi,

I am trying to pass an arrylist to a child form as below. I get an error saying not posible to cast Stockobj to Stockobj.
If I change the arraylist to contain strings not objs it works fine.
Any clues welcome

Thanks

Parent Form

Public Class Stockobj<br />
        Public Id As Integer<br />
        Public Name As String<br />
        Public Plex As String<br />
    End Class<br />
<br />
Private WithEvents MixForm As MixForm<br />
<br />
Dim StockNameList As New ArrayList<br />
<br />
'Code Populates StockNameList<br />
<br />
Me.MixForm = New MixForm(StockNameList)<br />
Me.MixForm.Show()


Child Form

Public Class Stockobj<br />
        Public Id As Integer<br />
        Public Name As String<br />
        Public Plex As String<br />
End Class<br />
<br />
Dim StockNameList As New ArrayList<br />
<br />
Public Sub New(ByVal StockAliquots As ArrayList)<br />
        InitializeComponent()<br />
End Sub

AnswerRe: Passing Arraylists of Objects to Child Form Pin
Dave Kreskowiak20-Feb-07 7:30
mveDave Kreskowiak20-Feb-07 7:30 
GeneralRe: Passing Arraylists of Objects to Child Form Pin
Geoff_300120-Feb-07 8:16
Geoff_300120-Feb-07 8:16 
GeneralRe: Passing Arraylists of Objects to Child Form [modified] Pin
TwoFaced20-Feb-07 19:44
TwoFaced20-Feb-07 19:44 
GeneralRe: Passing Arraylists of Objects to Child Form Pin
Geoff_300120-Feb-07 22:01
Geoff_300120-Feb-07 22:01 
Questiondateandtimepicker in vb.net 2003 Pin
kendo1720-Feb-07 6:00
kendo1720-Feb-07 6:00 
AnswerRe: dateandtimepicker in vb.net 2003 Pin
Dave Kreskowiak20-Feb-07 8:09
mveDave Kreskowiak20-Feb-07 8:09 
GeneralRe: dateandtimepicker in vb.net 2003 Pin
kendo1720-Feb-07 10:22
kendo1720-Feb-07 10:22 
GeneralRe: dateandtimepicker in vb.net 2003 Pin
jcrussell20-Feb-07 15:20
jcrussell20-Feb-07 15:20 
GeneralRe: dateandtimepicker in vb.net 2003 Pin
kendo1721-Feb-07 1:19
kendo1721-Feb-07 1:19 
QuestionVB.NET Certification Pin
Jonathan Gibbs20-Feb-07 5:36
Jonathan Gibbs20-Feb-07 5:36 
AnswerRe: VB.NET Certification Pin
sathesh pandian20-Feb-07 19:47
sathesh pandian20-Feb-07 19:47 
GeneralRe: VB.NET Certification Pin
Jonathan Gibbs23-Feb-07 3:59
Jonathan Gibbs23-Feb-07 3:59 
Questionlink list Pin
amaneet20-Feb-07 5:04
amaneet20-Feb-07 5:04 
AnswerRe: link list Pin
Dave Kreskowiak20-Feb-07 8:08
mveDave Kreskowiak20-Feb-07 8:08 
Questionaqpplication.run Pin
amaneet20-Feb-07 4:57
amaneet20-Feb-07 4:57 
AnswerRe: aqpplication.run Pin
Marcus J. Smith20-Feb-07 5:01
professionalMarcus J. Smith20-Feb-07 5:01 
GeneralRe: aqpplication.run Pin
amaneet20-Feb-07 5:07
amaneet20-Feb-07 5:07 

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.