By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,956 Members | 1,722 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,956 IT Pros & Developers. It's quick & easy.

dim test as new form1

P: n/a
hi all,

i have a settingform(form4)

this form opens from an mdi parent form1
what i want do do is, when i make change in form4 (adjust settings), then a
listview in the mdi parent form1 refreches, this is what i did.

Public Class Form4

Inherits System.Windows.Forms.Form

Dim windowmain As New Form1()

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

Next inti

otherwindow.listsetup()

Me.close

End Sub

now the problem is, when i try to open form4 i get an error by all of the
components of

" Object reference not set to an instance of an object."
form1, i think becouse i declare the form as a new form1.

what can i do to comunicate with form1

Regards,

Maarten


Nov 21 '05 #1
Share this Question
Share on Google+
28 Replies


P: n/a
Maarten,

The simple way is in my opinion that you can work forever from your
me.parentform.mdichildren collection

Something as this in your form4 which is very much changed text in this
message so watch typos
\\\
For Each frm As Form In Me.ParentForm.MdiChildren
If frm.Name = "frm1" Then
DirectCast(frm, form1).Whatever = text.Text
Exit Sub
End If
Next
///
I hope this helps?

Cor

"Maarten" <gu******@hotmail.com>>
hi all,

i have a settingform(form4)

this form opens from an mdi parent form1
what i want do do is, when i make change in form4 (adjust settings), then
a listview in the mdi parent form1 refreches, this is what i did.

Public Class Form4

Inherits System.Windows.Forms.Form

Dim windowmain As New Form1()

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

Next inti

otherwindow.listsetup()

Me.close

End Sub

now the problem is, when i try to open form4 i get an error by all of the
components of

" Object reference not set to an instance of an object."
form1, i think becouse i declare the form as a new form1.

what can i do to comunicate with form1

Regards,

Maarten

Nov 21 '05 #2

P: n/a
thanks for the reply

but i get an error ( syntax error) by "AS" in For Each frm As Form In
Me.ParentForm.MdiChildren.

but i was thinking that it meightbe more simple, if i get the data from the
childform when the parrentform is focussed?

but how wil i do this?
anny suggestions are welcome.

kind regards Maarten.

"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Maarten,

The simple way is in my opinion that you can work forever from your
me.parentform.mdichildren collection

Something as this in your form4 which is very much changed text in this
message so watch typos
\\\
For Each frm As Form In Me.ParentForm.MdiChildren
If frm.Name = "frm1" Then
DirectCast(frm, form1).Whatever = text.Text
Exit Sub
End If
Next
///
I hope this helps?

Cor

"Maarten" <gu******@hotmail.com>>
hi all,

i have a settingform(form4)

this form opens from an mdi parent form1
what i want do do is, when i make change in form4 (adjust settings), then
a listview in the mdi parent form1 refreches, this is what i did.

Public Class Form4

Inherits System.Windows.Forms.Form

Dim windowmain As New Form1()

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

Next inti

otherwindow.listsetup()

Me.close

End Sub

now the problem is, when i try to open form4 i get an error by all of the
components of

" Object reference not set to an instance of an object."
form1, i think becouse i declare the form as a new form1.

what can i do to comunicate with form1

Regards,

Maarten


Nov 21 '05 #3

P: n/a
"Maarten" <gu******@hotmail.com> schrieb:
but i get an error ( syntax error) by "AS" in For Each frm As Form In
Me.ParentForm.MdiChildren.


I assume you are using VB.NET 2002:

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #4

P: n/a
hi,
thanks to reply my quesion.

but it won't work

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

form4 is a childform and has no children
so i think "For Each f In Me.MdiChildren" can't work.(i've writen this code
in form4)

i want to refresh a listview in the parentform(form1) when i press a button
in in the childform.(form4)

regards,
Maarten

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uw**************@TK2MSFTNGP14.phx.gbl...
"Maarten" <gu******@hotmail.com> schrieb:
but i get an error ( syntax error) by "AS" in For Each frm As Form In
Me.ParentForm.MdiChildren.


I assume you are using VB.NET 2002:

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5

P: n/a
Maarten,

Are you using VBNet 2002
Than my sample becomes

dim frm as Form
\\\
For Each frm In Me.ParentForm.MdiChildren
If frm.Name = "frm1" Then
DirectCast(frm, form1).Whatever = text.Text
Exit Sub
End If
Next
///

Cor
Cor
Nov 21 '05 #6

P: n/a
"Maarten" <gu******@hotmail.com> schrieb:
i want to refresh a listview in the parentform(form1) when i press a
button in in the childform.(form4)


\\\
DirectCast(Me.MdiParent, MainForm).Button1.Text = "Hello World!"
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #7

P: n/a
Maarten,

I think at least I am confused by this text of you
\\\
this form opens from an mdi parent form1
what i want do do is, when i make change in form4 (adjust settings), then a
listview in the mdi parent form1 refreches, this is what i did.
///

A listview on a MDI parent? How did you do that, is this using panels or
something? A kind of Delphi way form.

Cor

"Maarten" <gu******@hotmail.com>
hi,
thanks to reply my quesion.

but it won't work

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

form4 is a childform and has no children
so i think "For Each f In Me.MdiChildren" can't work.(i've writen this
code in form4)

i want to refresh a listview in the parentform(form1) when i press a
button in in the childform.(form4)

regards,
Maarten

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uw**************@TK2MSFTNGP14.phx.gbl...
"Maarten" <gu******@hotmail.com> schrieb:
but i get an error ( syntax error) by "AS" in For Each frm As Form In
Me.ParentForm.MdiChildren.


I assume you are using VB.NET 2002:

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


Nov 21 '05 #8

P: n/a
indeed a listview on a parrent form in a pannel docked left.

the interface of my program looks like visual studio.net
there are some tools in that listview

regards,
Maarten

"Cor Ligthert" <no************@planet.nl> wrote in message
news:up**************@TK2MSFTNGP12.phx.gbl...
Maarten,

I think at least I am confused by this text of you
\\\
this form opens from an mdi parent form1
what i want do do is, when i make change in form4 (adjust settings), then
a
listview in the mdi parent form1 refreches, this is what i did.
///

A listview on a MDI parent? How did you do that, is this using panels or
something? A kind of Delphi way form.

Cor

"Maarten" <gu******@hotmail.com>
hi,
thanks to reply my quesion.

but it won't work

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

form4 is a childform and has no children
so i think "For Each f In Me.MdiChildren" can't work.(i've writen this
code in form4)

i want to refresh a listview in the parentform(form1) when i press a
button in in the childform.(form4)

regards,
Maarten

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uw**************@TK2MSFTNGP14.phx.gbl...
"Maarten" <gu******@hotmail.com> schrieb:
but i get an error ( syntax error) by "AS" in For Each frm As Form In
Me.ParentForm.MdiChildren.

I assume you are using VB.NET 2002:

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>



Nov 21 '05 #9

P: n/a
yes i use vb.net 2002

regards,
Maarten

"Cor Ligthert" <no************@planet.nl> wrote in message
news:up**************@TK2MSFTNGP12.phx.gbl...
Maarten,

I think at least I am confused by this text of you
\\\
this form opens from an mdi parent form1
what i want do do is, when i make change in form4 (adjust settings), then
a
listview in the mdi parent form1 refreches, this is what i did.
///

A listview on a MDI parent? How did you do that, is this using panels or
something? A kind of Delphi way form.

Cor

"Maarten" <gu******@hotmail.com>
hi,
thanks to reply my quesion.

but it won't work

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

form4 is a childform and has no children
so i think "For Each f In Me.MdiChildren" can't work.(i've writen this
code in form4)

i want to refresh a listview in the parentform(form1) when i press a
button in in the childform.(form4)

regards,
Maarten

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uw**************@TK2MSFTNGP14.phx.gbl...
"Maarten" <gu******@hotmail.com> schrieb:
but i get an error ( syntax error) by "AS" in For Each frm As Form In
Me.ParentForm.MdiChildren.

I assume you are using VB.NET 2002:

\\\
Dim f As Form
For Each f In Me.MdiChildren
...
Next f
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>



Nov 21 '05 #10

P: n/a

"Maarten" <gu******@hotmail.com> wrote
i want to refresh a listview in the parentform(form1) when i press a button
in in the childform.(form4)


Take a step back and look at what you have. You basically have some data
(your settings) and you want to show the current state of it in multiple forms.
What that means is that no matter how many other forms are allowed to edit
or change the data, everyone else who is displaying the data needs to be notified
of the change (so they can update their own 'view').

What that amounts to is that you create a class that represents your data
and that can raise events (when the data changes). Any forms that display
your data would get their data from that data class, and they would subscribe
to the events of that class to be notified of any changes. You'd give it properties
to get access to the raw settings, and you'd raise events when the settings change.
You might even implement an interface or two (like IList) to make using the data
a bit easier, but that is not required.

In the 'pattern' culture, you are looking for an Observer pattern, perhaps using
that term in the search engines will help you find simple .Net examples.

HTH
LFS

Nov 21 '05 #11

P: n/a
Clear,

Than the last sample from Herfried would fit in my opinion.

Cor
Nov 21 '05 #12

P: n/a
What i do now, is store the data in in a couple of arrays, this is the
datastorage where all my forms get their data.

I think i undertand what you mean with youre last reply, i downloaded an
example code.
but i dont think this wil solve my problem.

I manage to store the data and get it when the program starts, or when i
press a button in the mdi form or when i dragover the listview and more like
this.
but i just can't figure out how to let in this case a listview(in the
parrentform) get's its data by refreshing when i press a button in another
form (a childform) .

i was thinking to set a timer on the refresh property of the listview, but i
don't think this is a propper way to get up to date with data changes in my
program, there must be a more simple way. but how.

the last code you gave me won't work, i get an error "Object reference not
set to an instance of an object."

thanks for the reply's

kind regards Maarten.


"Larry Serflaten" <se*******@usinternet.com> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...

"Maarten" <gu******@hotmail.com> wrote
i want to refresh a listview in the parentform(form1) when i press a
button
in in the childform.(form4)


Take a step back and look at what you have. You basically have some data
(your settings) and you want to show the current state of it in multiple
forms.
What that means is that no matter how many other forms are allowed to edit
or change the data, everyone else who is displaying the data needs to be
notified
of the change (so they can update their own 'view').

What that amounts to is that you create a class that represents your data
and that can raise events (when the data changes). Any forms that display
your data would get their data from that data class, and they would
subscribe
to the events of that class to be notified of any changes. You'd give it
properties
to get access to the raw settings, and you'd raise events when the
settings change.
You might even implement an interface or two (like IList) to make using
the data
a bit easier, but that is not required.

In the 'pattern' culture, you are looking for an Observer pattern, perhaps
using
that term in the search engines will help you find simple .Net examples.

HTH
LFS

Nov 21 '05 #13

P: n/a
Maarten,

I did not see that you asked this one
\\\
me.mdiparent.show
///
Not tested by the way

Cor

"Maarten" <gu******@hotmail.com>
What i do now, is store the data in in a couple of arrays, this is the
datastorage where all my forms get their data.

I think i undertand what you mean with youre last reply, i downloaded an
example code.
but i dont think this wil solve my problem.

I manage to store the data and get it when the program starts, or when i
press a button in the mdi form or when i dragover the listview and more
like this.
but i just can't figure out how to let in this case a listview(in the
parrentform) get's its data by refreshing when i press a button in another
form (a childform) .

i was thinking to set a timer on the refresh property of the listview, but
i don't think this is a propper way to get up to date with data changes in
my program, there must be a more simple way. but how.

the last code you gave me won't work, i get an error "Object reference not
set to an instance of an object."

thanks for the reply's

kind regards Maarten.


"Larry Serflaten" <se*******@usinternet.com> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...

"Maarten" <gu******@hotmail.com> wrote
i want to refresh a listview in the parentform(form1) when i press a
button
in in the childform.(form4)


Take a step back and look at what you have. You basically have some data
(your settings) and you want to show the current state of it in multiple
forms.
What that means is that no matter how many other forms are allowed to
edit
or change the data, everyone else who is displaying the data needs to be
notified
of the change (so they can update their own 'view').

What that amounts to is that you create a class that represents your data
and that can raise events (when the data changes). Any forms that
display
your data would get their data from that data class, and they would
subscribe
to the events of that class to be notified of any changes. You'd give it
properties
to get access to the raw settings, and you'd raise events when the
settings change.
You might even implement an interface or two (like IList) to make using
the data
a bit easier, but that is not required.

In the 'pattern' culture, you are looking for an Observer pattern,
perhaps using
that term in the search engines will help you find simple .Net examples.

HTH
LFS


Nov 21 '05 #14

P: n/a

i still get an error

"Object reference not set to an instance of an object."

Maarten.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:u0**************@TK2MSFTNGP11.phx.gbl...
Maarten,

I did not see that you asked this one
\\\
me.mdiparent.show
///
Not tested by the way

Cor

"Maarten" <gu******@hotmail.com>
What i do now, is store the data in in a couple of arrays, this is the
datastorage where all my forms get their data.

I think i undertand what you mean with youre last reply, i downloaded an
example code.
but i dont think this wil solve my problem.

I manage to store the data and get it when the program starts, or when i
press a button in the mdi form or when i dragover the listview and more
like this.
but i just can't figure out how to let in this case a listview(in the
parrentform) get's its data by refreshing when i press a button in
another form (a childform) .

i was thinking to set a timer on the refresh property of the listview,
but i don't think this is a propper way to get up to date with data
changes in my program, there must be a more simple way. but how.

the last code you gave me won't work, i get an error "Object reference
not set to an instance of an object."

thanks for the reply's

kind regards Maarten.


"Larry Serflaten" <se*******@usinternet.com> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...

"Maarten" <gu******@hotmail.com> wrote

i want to refresh a listview in the parentform(form1) when i press a
button
in in the childform.(form4)

Take a step back and look at what you have. You basically have some
data
(your settings) and you want to show the current state of it in multiple
forms.
What that means is that no matter how many other forms are allowed to
edit
or change the data, everyone else who is displaying the data needs to be
notified
of the change (so they can update their own 'view').

What that amounts to is that you create a class that represents your
data
and that can raise events (when the data changes). Any forms that
display
your data would get their data from that data class, and they would
subscribe
to the events of that class to be notified of any changes. You'd give
it properties
to get access to the raw settings, and you'd raise events when the
settings change.
You might even implement an interface or two (like IList) to make using
the data
a bit easier, but that is not required.

In the 'pattern' culture, you are looking for an Observer pattern,
perhaps using
that term in the search engines will help you find simple .Net examples.

HTH
LFS



Nov 21 '05 #15

P: n/a
Maarten,

Can you make yourself a little test project

\\\Form1 nothing on it just past in this code
Private Sub Form1_Load(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
Me.IsMdiContainer = True
Dim frm As New Form2
frm.MdiParent = Me
frm.Show()
End Sub
///

\\\Form2 one button and paste in this code
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Me.MdiParent.Text = "blabla"
End Sub
///

Just run click the button than the form name of form1 should change in
"blabla"

I hope this helps,

Cor
Nov 21 '05 #16

P: n/a

thank you, indeed this works, now i know what doesn't couses the error.

i'll keep on trying and trying

kind regards,
Maarten

"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Maarten,

Can you make yourself a little test project

\\\Form1 nothing on it just past in this code
Private Sub Form1_Load(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
Me.IsMdiContainer = True
Dim frm As New Form2
frm.MdiParent = Me
frm.Show()
End Sub
///

\\\Form2 one button and paste in this code
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Me.MdiParent.Text = "blabla"
End Sub
///

Just run click the button than the form name of form1 should change in
"blabla"

I hope this helps,

Cor

Nov 21 '05 #17

P: n/a
this is strange, i did just the same on my project, but is just won't work
do jou have anny idea howcomes??

regards
"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Maarten,

Can you make yourself a little test project

\\\Form1 nothing on it just past in this code
Private Sub Form1_Load(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
Me.IsMdiContainer = True
Dim frm As New Form2
frm.MdiParent = Me
frm.Show()
End Sub
///

\\\Form2 one button and paste in this code
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Me.MdiParent.Text = "blabla"
End Sub
///

Just run click the button than the form name of form1 should change in
"blabla"

I hope this helps,

Cor

Nov 21 '05 #18

P: n/a
ok i'm realy sorry, but i declared the form as an owned form not as a
childform.
now it works fine.

but how can i call a sub something like

Me.MdiParent.listsetup()

this won't work.

regards Maarten

"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Maarten,

Can you make yourself a little test project

\\\Form1 nothing on it just past in this code
Private Sub Form1_Load(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
Me.IsMdiContainer = True
Dim frm As New Form2
frm.MdiParent = Me
frm.Show()
End Sub
///

\\\Form2 one button and paste in this code
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Me.MdiParent.Text = "blabla"
End Sub
///

Just run click the button than the form name of form1 should change in
"blabla"

I hope this helps,

Cor

Nov 21 '05 #19

P: n/a
"Maarten" <gu******@hotmail.com> schrieb:
ok i'm realy sorry, but i declared the form as an owned form not as a
childform.
now it works fine.

but how can i call a sub something like

Me.MdiParent.listsetup()

this won't work.


Would be great if you read my posts...

\\\
DirectCast(Me.MdiParent, MainForm).ListSetup()
///

.... assuming 'MainForm' is the type of your MDI container.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #20

P: n/a
indeed i tried and worked fine, i have to learn to try more myself before
bothering you.

thank you all verry much for yourre help

Kind regards Maarten
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Ok**************@TK2MSFTNGP09.phx.gbl...
"Maarten" <gu******@hotmail.com> schrieb:
ok i'm realy sorry, but i declared the form as an owned form not as a
childform.
now it works fine.

but how can i call a sub something like

Me.MdiParent.listsetup()

this won't work.


Would be great if you read my posts...

\\\
DirectCast(Me.MdiParent, MainForm).ListSetup()
///

... assuming 'MainForm' is the type of your MDI container.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #21

P: n/a
"Maarten" <gu******@hotmail.com> schrieb:
indeed i tried and worked fine, i have to learn to try more myself before
bothering you.


You don't bother me, but it's always a good idea to try to find a solution
before posting.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #22

P: n/a
Herfried,
You don't bother me, but it's always a good idea to try to find a solution
before posting.

Why do you think Maarten did not do that? Sometimes posting helps to get the
idea.

For posting it is needed that the Op describes his problem and doing that
almost find his problem himself.

As I often said to you, it is not only giving a link, sometimes it is
helping to find the problem and than the OP has the solution himself.

Just my thought,

Cor
Nov 21 '05 #23

P: n/a
Cor,

"Cor Ligthert" <no************@planet.nl> schrieb:
You don't bother me, but it's always a good idea to try to find a
solution before posting.


Why do you think Maarten did not do that? Sometimes posting helps to get
the idea.


Maarten said:

| i have to learn to try more myself before
| bothering you.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #24

P: n/a
>> Why do you think Maarten did not do that? Sometimes posting helps to get
the idea.


Maarten said:

| i have to learn to try more myself before
| bothering you.

Right, a good conclussion he made after getting some help from you, Larry
and me.

However for me no reason that he should not post his problems.

Cor
Nov 21 '05 #25

P: n/a
Cor,

"Cor Ligthert" <no************@planet.nl> schrieb:
| i have to learn to try more myself before
| bothering you.


Right, a good conclussion he made after getting some help from you, Larry
and me.

However for me no reason that he should not post his problems.


I didn't say anything else...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #26

P: n/a

"Maarten" <gu******@hotmail.com> wrote
What i do now, is store the data in in a couple of arrays, this is the
datastorage where all my forms get their data.

I think i undertand what you mean with youre last reply,
If you understood that I meant the 'datastorage' should be a class
that raises events, then you understood correctly. Arrays won't raise
any events you can subscribe to....
the last code you gave me won't work, i get an error "Object reference not
set to an instance of an object."


What 'last code' was that?

LFS
Nov 21 '05 #27

P: n/a
Larry,

The problem is already solved see the thread at the end.

Cor
Nov 21 '05 #28

P: n/a
Herfried,
| i have to learn to try more myself before
| bothering you.


Right, a good conclussion he made after getting some help from you, Larry
and me.

However for me no reason that he should not post his problems.


I didn't say anything else...

Than I readed your text maybe in another context than was meant by you, and
than it is OK.

:-)

Cor.

Nov 21 '05 #29

This discussion thread is closed

Replies have been disabled for this discussion.