Results 1 to 9 of 9

Thread: LISTVIEW - Form 2 form help :(

Threaded View

  1. #9
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780
    Originally posted by salvelinus
    Can't you just refer to the other form like in VB6? Read the listview items out of one form (form2.lvMembership. etc) to set the items in the listview on form 3.
    VB6 is nothing like VB.Net, it has the same syntax (names of commands) but other then that its very different.
    I VB6 you can call another form simply by saying

    Form3.WhatEver

    In VB.Net you have to ask the specific instance. You must have a reference to this instance. Ive included a small example of this, with 2 different ways of doing it.
    Id suggest looking up how an OOP language works if you are new to .Net, its one of the most important aspects, there are many example about.
    Attached Files Attached Files
    Last edited by Grimfort; Jan 21st, 2004 at 12:31 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width