473,386 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

dim test as new form1

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
28 2354
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
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
"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
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
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
"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
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
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
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

"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
Clear,

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

Cor
Nov 21 '05 #12
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
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

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
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

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
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
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
"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
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
"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
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
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
>> 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
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

"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
Larry,

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

Cor
Nov 21 '05 #28
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: polarz | last post by:
I'm having trouble getting items from different classes to display in my textBox. e.g. private void button2_Click(object sender, System.EventArgs e) { someData sd = new someData();...
5
by: nadir b | last post by:
hi I don't know how to change for exemple a form1 caption text from form2 don't forget that form2 has created from form1 I want sample code with c# *** Sent via Developersdex...
5
by: PAPutzback | last post by:
Form2 has one purpose to open and list some names and ids. I want to handle the list box click event on form2 so I can get the selected value onto a field in form1. I changed this Dim MyForm2...
38
by: Astra | last post by:
Hi All Could somebody please confirm that if I change my JS expression test from: if (!(/^*$/.test(document.form1.fred.value))) to if (!(/^*$/.test(document.form1.fred.value)))
1
by: yashgt | last post by:
Hi, I have installed Visual Studio 2005 Team Edition for Developers, on my Windows XP PC. The exact VS version is 8.0.50727.42. I created a simple Windows application in VB .NET and add a button...
0
by: Rene Ruppert | last post by:
Hi, On the web I found a simple sample/tutorial for a webservice, some kind of chat software. I implemented the server and the client. When I run the client form on the host PC everything works...
1
by: Chris | last post by:
Hi, I use code-behind, but how can i pass a variable from test.aspx.vb to test.aspx? Test.aspx.vb contains this: Partial Class test Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal...
6
by: tommaso.gastaldi | last post by:
In a previous post I have been asking about a way to test Alpha Transparency. Bob and Michael have kindly provided some ideas. Here I would like to share the function I have prepared, for the...
1
by: mbarnhizer | last post by:
Hello All, Trying to figure out how to validate a series of questions on an online test. I am thinking that VB or Javascript is the best route, but your input may make a difference. The site i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.