ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   InitializeComponent() errors, Setting values in another form (https://www.excelbanter.com/excel-programming/290672-initializecomponent-errors-setting-values-another-form.html)

Jeff Morhous

InitializeComponent() errors, Setting values in another form
 
Help!

The upgrade path to vb.net is not an easy one....at least for me. I have
two issues...right now.

I am getting an error when I try to show a form created with the
designer. The problem is when the newly created form calls
InitializeComponent(). Code follows:

Dim SMeasurements As New SelectMeasurements 'created with desiger
SMeasurements.Show() 'modeless dialog


Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the InitializeComponent() call

End Sub

My other problem is setting the values in on form from another, like
text boxes, check boxes etc.

Thanks in advance.

Jeff
--------------------------------
Jeff Morhous
Hi-Tech Metrology Products, Ltd.


*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

onedaywhen

InitializeComponent() errors, Setting values in another form
 
Wrong group, methinks. Try:

microsoft.public.vb.general.discussion

--

Jeff Morhous wrote in message ...
Help!

The upgrade path to vb.net is not an easy one....at least for me. I have
two issues...right now.

I am getting an error when I try to show a form created with the
designer. The problem is when the newly created form calls
InitializeComponent(). Code follows:

Dim SMeasurements As New SelectMeasurements 'created with desiger
SMeasurements.Show() 'modeless dialog


Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the InitializeComponent() call

End Sub

My other problem is setting the values in on form from another, like
text boxes, check boxes etc.

Thanks in advance.

Jeff
--------------------------------
Jeff Morhous
Hi-Tech Metrology Products, Ltd.


*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



All times are GMT +1. The time now is 05:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com