Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How To Open A File + Sourabh Das Pin
JoeSharp1-Mar-09 22:08
JoeSharp1-Mar-09 22:08 
GeneralRe: How To Open A File + Sourabh Das Pin
Luc Pattyn2-Mar-09 4:00
sitebuilderLuc Pattyn2-Mar-09 4:00 
QuestionSet my program as default. Pin
Gagan.201-Mar-09 18:03
Gagan.201-Mar-09 18:03 
AnswerRe: Set my program as default. Pin
Bharat Jain1-Mar-09 21:03
Bharat Jain1-Mar-09 21:03 
GeneralRe: Set my program as default. Pin
Gagan.201-Mar-09 21:39
Gagan.201-Mar-09 21:39 
Questionlistview to a word document Pin
spruha3691-Mar-09 18:02
spruha3691-Mar-09 18:02 
AnswerRe: listview to a word document Pin
Andy_L_J1-Mar-09 19:16
Andy_L_J1-Mar-09 19:16 
QuestionControl Collections with Multiple Forms Pin
carterza1-Mar-09 17:59
carterza1-Mar-09 17:59 
Hello,

I'm having some difficulties with Control Collections and multiple forms. I set up a control collection to use on the second form of my project. However, I am getting the following error in the .vb file for the second form:

Argument not specified for parameter 'host' of 'Public Sub New(host As System.Windows.Forms.Form)'.

However, in the New subroutine of the control collection there is clearly a link made between the two:

Public Sub New(ByVal host As System.Windows.Forms.Form)
    Form2 = host
    Me.AddNewTextBox()
End Sub


It's confusing me because when I type Form2 = host, I don't see a Form2 class available in the drop down menu of MS Studio 2008, only a reference to the ReadOnly object.

I would greatly appreciate any help you all could provide me with.

Thanks, and have a great week!
GeneralRe: Control Collections with Multiple Forms Pin
Luc Pattyn1-Mar-09 18:23
sitebuilderLuc Pattyn1-Mar-09 18:23 
GeneralRe: Control Collections with Multiple Forms Pin
carterza1-Mar-09 18:53
carterza1-Mar-09 18:53 
QuestionSQL queries - Where is my mistake Pin
ivo751-Mar-09 7:50
ivo751-Mar-09 7:50 
AnswerRe: SQL queries - Where is my mistake Pin
Henry Minute1-Mar-09 8:10
Henry Minute1-Mar-09 8:10 
GeneralRe: SQL queries - Where is my mistake Pin
Luc Pattyn1-Mar-09 9:18
sitebuilderLuc Pattyn1-Mar-09 9:18 
QuestionHow can I automate Winforms of .NET in VB6? Pin
Oliverikawood1-Mar-09 6:29
Oliverikawood1-Mar-09 6:29 
AnswerRe: How can I automate Winforms of .NET in VB6? Pin
ABitSmart1-Mar-09 22:38
ABitSmart1-Mar-09 22:38 
GeneralRe: How can I automate Winforms of .NET in VB6? Pin
Oliverikawood5-Mar-09 5:40
Oliverikawood5-Mar-09 5:40 
AnswerRe: How can I automate Winforms of .NET in VB6? Pin
Oliverikawood9-Mar-09 0:45
Oliverikawood9-Mar-09 0:45 
QuestionHow can I over come UnAuthorizedAccessPermission when I check a media via IMAPI2? Pin
JUNEYT1-Mar-09 3:10
JUNEYT1-Mar-09 3:10 
Questionflash in vb Pin
ahlamissa1-Mar-09 2:21
ahlamissa1-Mar-09 2:21 
AnswerRe: flash in vb Pin
ABitSmart1-Mar-09 22:24
ABitSmart1-Mar-09 22:24 
QuestionBeginners question: Get class name from within the class Pin
Sonhospa1-Mar-09 1:50
Sonhospa1-Mar-09 1:50 
AnswerRe: Beginners question: Get class name from within the class Pin
0x3c01-Mar-09 6:31
0x3c01-Mar-09 6:31 
GeneralRe: Beginners question: Get class name from within the class Pin
Sonhospa2-Mar-09 8:13
Sonhospa2-Mar-09 8:13 
QuestionRe: Beginners question: Get class name from within the class Pin
Sonhospa2-Mar-09 21:42
Sonhospa2-Mar-09 21:42 
QuestionObject reference not...... error Pin
kralcobra_371-Mar-09 0:16
kralcobra_371-Mar-09 0:16 

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.