473,789 Members | 2,662 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Beginners problem with multiple forms

Hi

Can't get my head round something which I reckon should be simple.

My app has a main form (frmMain). MdiContainer set to true.
A menu item triggers a new form (frmSelect) whose parent is frmMain
Button on frmSelect triggers a new form (frmReport) whose parent also needs
to be frmMain

When frmReport loads and displays I don't want user to see frmSelect, but I
don't want to close it.

When frmReport closes I want to re-display frmSelect so user can make new
selection for report or close Select form

My code so far is

On frmMain .......

Private Sub mnuItem1_Click( ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles mnuItem1.Click
Dim f1 As New frmSelec
f1.MdiParent = Me
f1.Show()
End Sub

On frmSelect .......

Private Sub Button4_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button4.Click
Dim f2 As New frmReport
Me.Visible = False
f2.MdiParent = ActiveForm
f2.Show()
End Sub

What do I need to put on the "closed" event of frmReport to get frmSelect to
become visible again. And have I used the best method of setting the parent
form for frmReport. I had to make frmSelect invisible to get the frmMain as
the active form to set it as the parent form. Otherwise a line "f2.mdipare nt
= me" was trying to set frmSelect as the parent for frmReport

Thanks in anticipation

Regards

Michael Bond
Feb 14 '06 #1
7 1604
"mabond" <ma****@discuss ions.microsoft. com> schrieb
Hi

Can't get my head round something which I reckon should be simple.

My app has a main form (frmMain). MdiContainer set to true.
A menu item triggers a new form (frmSelect) whose parent is frmMain
Button on frmSelect triggers a new form (frmReport) whose parent
also needs to be frmMain

When frmReport loads and displays I don't want user to see
frmSelect, but I don't want to close it.

When frmReport closes I want to re-display frmSelect so user can
make new selection for report or close Select form

My code so far is

On frmMain .......

Private Sub mnuItem1_Click( ByVal sender As System.Object, ByVal e
As System.EventArg s) Handles mnuItem1.Click
Dim f1 As New frmSelec
f1.MdiParent = Me
f1.Show()
End Sub

On frmSelect .......

Private Sub Button4_Click(B yVal sender As System.Object, ByVal e
As System.EventArg s) Handles Button4.Click
Dim f2 As New frmReport
Me.Visible = False
f2.MdiParent = ActiveForm
f2.Show()
End Sub

What do I need to put on the "closed" event of frmReport to get
frmSelect to become visible again. And have I used the best method
of setting the parent form for frmReport. I had to make frmSelect
invisible to get the frmMain as the active form to set it as the
parent form. Otherwise a line "f2.mdipare nt = me" was trying to set
frmSelect as the parent for frmReport

Use f2.mdiparent = me.Mdiparent instead.

In frmMain, hold the references to frmSelect and frmReport in two fields.
Don't use the local variable f1 in mnuItem1_Click but the field in frmMain.
Same with frmReport: In Button4_click, raise an event notifying the
MDIparent that either frmReport has been opened, or that the MDIparent is to
open frmReport on it's own. If you do the former, pass the reference to the
new form along. In both cases, store the reference to frmReport in a field
in frmMain. Now that you have the reference, you can handle frmReport's
closing event. There you can reopen or reshow frmSelect. In addition,
handled both Form's closed event to set the references to Nothing.
Armin

Feb 14 '06 #2
Handle the "Closing" event of the forms, not the "Closed" event.

"mabond" <ma****@discuss ions.microsoft. com> wrote in message
news:78******** *************** ***********@mic rosoft.com...
Hi

Can't get my head round something which I reckon should be simple.

My app has a main form (frmMain). MdiContainer set to true.
A menu item triggers a new form (frmSelect) whose parent is frmMain
Button on frmSelect triggers a new form (frmReport) whose parent also needs to be frmMain

When frmReport loads and displays I don't want user to see frmSelect, but I don't want to close it.

When frmReport closes I want to re-display frmSelect so user can make new
selection for report or close Select form

My code so far is

On frmMain .......

Private Sub mnuItem1_Click( ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles mnuItem1.Click
Dim f1 As New frmSelec
f1.MdiParent = Me
f1.Show()
End Sub

On frmSelect .......

Private Sub Button4_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button4.Click
Dim f2 As New frmReport
Me.Visible = False
f2.MdiParent = ActiveForm
f2.Show()
End Sub

What do I need to put on the "closed" event of frmReport to get frmSelect to become visible again. And have I used the best method of setting the parent form for frmReport. I had to make frmSelect invisible to get the frmMain as the active form to set it as the parent form. Otherwise a line "f2.mdipare nt = me" was trying to set frmSelect as the parent for frmReport

Thanks in anticipation

Regards

Michael Bond

Feb 14 '06 #3
Armin

Thanks for this. The solution to setting the mdiparent worked.

I expect the main suggestion also works but I haven't a clue how to put
together what you propose ...... and I should know but somehow I've got a
mental block with forms in vb.net.

If I understand I should have two (invisible?) text boxes on frmMain? But
how do I get them to reference frmSelect and frmReport as you suggest. And do
I use these references to create a "new" instance of my form as I would with
"dim f1 as new frmSelect"

Sorry I know I'm being "thick" but since I tried to move from vb6 to vb.net
I just cannot grasp how to work with my forms..... even when helpful users
such as yourself point me in the right direction

Thanks for your help (and patience) so far

Regards

Michael Bond

"Armin Zingler" wrote:
"mabond" <ma****@discuss ions.microsoft. com> schrieb
Hi

Can't get my head round something which I reckon should be simple.

My app has a main form (frmMain). MdiContainer set to true.
A menu item triggers a new form (frmSelect) whose parent is frmMain
Button on frmSelect triggers a new form (frmReport) whose parent
also needs to be frmMain

When frmReport loads and displays I don't want user to see
frmSelect, but I don't want to close it.

When frmReport closes I want to re-display frmSelect so user can
make new selection for report or close Select form

My code so far is

On frmMain .......

Private Sub mnuItem1_Click( ByVal sender As System.Object, ByVal e
As System.EventArg s) Handles mnuItem1.Click
Dim f1 As New frmSelec
f1.MdiParent = Me
f1.Show()
End Sub

On frmSelect .......

Private Sub Button4_Click(B yVal sender As System.Object, ByVal e
As System.EventArg s) Handles Button4.Click
Dim f2 As New frmReport
Me.Visible = False
f2.MdiParent = ActiveForm
f2.Show()
End Sub

What do I need to put on the "closed" event of frmReport to get
frmSelect to become visible again. And have I used the best method
of setting the parent form for frmReport. I had to make frmSelect
invisible to get the frmMain as the active form to set it as the
parent form. Otherwise a line "f2.mdipare nt = me" was trying to set
frmSelect as the parent for frmReport

Use f2.mdiparent = me.Mdiparent instead.

In frmMain, hold the references to frmSelect and frmReport in two fields.
Don't use the local variable f1 in mnuItem1_Click but the field in frmMain.
Same with frmReport: In Button4_click, raise an event notifying the
MDIparent that either frmReport has been opened, or that the MDIparent is to
open frmReport on it's own. If you do the former, pass the reference to the
new form along. In both cases, store the reference to frmReport in a field
in frmMain. Now that you have the reference, you can handle frmReport's
closing event. There you can reopen or reshow frmSelect. In addition,
handled both Form's closed event to set the references to Nothing.
Armin

Feb 14 '06 #4
"mabond" <ma****@discuss ions.microsoft. com> schrieb

"Armin Zingler" wrote:
"mabond" <ma****@discuss ions.microsoft. com> schrieb
Hi

Can't get my head round something which I reckon should be
simple.

My app has a main form (frmMain). MdiContainer set to true.
A menu item triggers a new form (frmSelect) whose parent is
frmMain Button on frmSelect triggers a new form (frmReport)
whose parent
also needs to be frmMain

When frmReport loads and displays I don't want user to see
frmSelect, but I don't want to close it.

When frmReport closes I want to re-display frmSelect so user can
make new selection for report or close Select form

My code so far is

On frmMain .......

Private Sub mnuItem1_Click( ByVal sender As System.Object,
ByVal e As System.EventArg s) Handles mnuItem1.Click
Dim f1 As New frmSelec
f1.MdiParent = Me
f1.Show()
End Sub

On frmSelect .......

Private Sub Button4_Click(B yVal sender As System.Object,
ByVal e As System.EventArg s) Handles Button4.Click
Dim f2 As New frmReport
Me.Visible = False
f2.MdiParent = ActiveForm
f2.Show()
End Sub

What do I need to put on the "closed" event of frmReport to get
frmSelect to become visible again. And have I used the best
method of setting the parent form for frmReport. I had to make
frmSelect invisible to get the frmMain as the active form to set
it as the
parent form. Otherwise a line "f2.mdipare nt = me" was trying to
set frmSelect as the parent for frmReport

Use f2.mdiparent = me.Mdiparent instead.

In frmMain, hold the references to frmSelect and frmReport in two
fields. Don't use the local variable f1 in mnuItem1_Click but the
field in frmMain. Same with frmReport: In Button4_click, raise an
event notifying the MDIparent that either frmReport has been
opened, or that the MDIparent is to open frmReport on it's own. If
you do the former, pass the reference to the new form along. In
both cases, store the reference to frmReport in a field in
frmMain. Now that you have the reference, you can handle
frmReport's closing event. There you can reopen or reshow
frmSelect. In addition, handled both Form's closed event to set
the references to Nothing.


Thanks for this. The solution to setting the mdiparent worked.

I expect the main suggestion also works but I haven't a clue how to
put together what you propose ...... and I should know but somehow
I've got a mental block with forms in vb.net.

If I understand I should have two (invisible?) text boxes on
frmMain? But how do I get them to reference frmSelect and frmReport
as you suggest. And do I use these references to create a "new"
instance of my form as I would with "dim f1 as new frmSelect"

Sorry I know I'm being "thick" but since I tried to move from vb6 to
vb.net I just cannot grasp how to work with my forms..... even when
helpful users such as yourself point me in the right direction


No, no textboxes. Variables at class level are called "fields":

http://msdn.microsoft.com/library/en...ypemembers.asp
http://msdn.microsoft.com/library/en...Properties.asp
What I meant was:

frmMain:
Private WithEvents ReportForm As frmReport
Private WithEvents SelectForm As frmSelect

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

SelectForm = New frmSelect
SelectForm.MdiP arent = Me
SelectForm.Show ()

End Sub

Private Sub SelectForm_Clos ed( _
ByVal sender As Object, ByVal e As System.EventArg s) _
Handles SelectForm.Clos ed

SelectForm = Nothing

End Sub
Private Sub ReportForm_Clos ed( _
ByVal sender As Object, ByVal e As System.EventArg s) _
Handles ReportForm.Clos ed

SelectForm.Show ()
ReportForm = Nothing

End Sub
Private Sub SelectForm_Repo rtOpened( _
ByVal Form As frmReport) _
Handles SelectForm.Repo rtOpened

ReportForm = Form

End Sub
frmSelect:

Public Event ReportOpened(By Val Form As frmReport)

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

Dim f As New frmReport
f.MdiParent = Me.MdiParent
f.Show()
RaiseEvent ReportOpened(f)

End Sub
I didn't pay attention on frmSelect being closed. Of course, this is only
one possible approach - such solutions are often very individual and depend
on many black horses.
Armin

Feb 14 '06 #5
Armin

Thanks. I can understand the way you've laid this out and can see the
approach I should be using.

I appreciate the help. Many thanks

Regards

Michael Bond
information Manager
RNID Typetalk - National Telephone Relay Service for the Deaf (UK)

"Armin Zingler" wrote:
"mabond" <ma****@discuss ions.microsoft. com> schrieb

"Armin Zingler" wrote:
"mabond" <ma****@discuss ions.microsoft. com> schrieb
> Hi
>
> Can't get my head round something which I reckon should be
> simple.
>
> My app has a main form (frmMain). MdiContainer set to true.
> A menu item triggers a new form (frmSelect) whose parent is
> frmMain Button on frmSelect triggers a new form (frmReport)
> whose parent
> also needs to be frmMain
>
> When frmReport loads and displays I don't want user to see
> frmSelect, but I don't want to close it.
>
> When frmReport closes I want to re-display frmSelect so user can
> make new selection for report or close Select form
>
> My code so far is
>
> On frmMain .......
>
> Private Sub mnuItem1_Click( ByVal sender As System.Object,
> ByVal e As System.EventArg s) Handles mnuItem1.Click
> Dim f1 As New frmSelec
> f1.MdiParent = Me
> f1.Show()
> End Sub
>
> On frmSelect .......
>
> Private Sub Button4_Click(B yVal sender As System.Object,
> ByVal e As System.EventArg s) Handles Button4.Click
> Dim f2 As New frmReport
> Me.Visible = False
> f2.MdiParent = ActiveForm
> f2.Show()
> End Sub
>
> What do I need to put on the "closed" event of frmReport to get
> frmSelect to become visible again. And have I used the best
> method of setting the parent form for frmReport. I had to make
> frmSelect invisible to get the frmMain as the active form to set
> it as the
> parent form. Otherwise a line "f2.mdipare nt = me" was trying to
> set frmSelect as the parent for frmReport
Use f2.mdiparent = me.Mdiparent instead.

In frmMain, hold the references to frmSelect and frmReport in two
fields. Don't use the local variable f1 in mnuItem1_Click but the
field in frmMain. Same with frmReport: In Button4_click, raise an
event notifying the MDIparent that either frmReport has been
opened, or that the MDIparent is to open frmReport on it's own. If
you do the former, pass the reference to the new form along. In
both cases, store the reference to frmReport in a field in
frmMain. Now that you have the reference, you can handle
frmReport's closing event. There you can reopen or reshow
frmSelect. In addition, handled both Form's closed event to set
the references to Nothing.


Thanks for this. The solution to setting the mdiparent worked.

I expect the main suggestion also works but I haven't a clue how to
put together what you propose ...... and I should know but somehow
I've got a mental block with forms in vb.net.

If I understand I should have two (invisible?) text boxes on
frmMain? But how do I get them to reference frmSelect and frmReport
as you suggest. And do I use these references to create a "new"
instance of my form as I would with "dim f1 as new frmSelect"

Sorry I know I'm being "thick" but since I tried to move from vb6 to
vb.net I just cannot grasp how to work with my forms..... even when
helpful users such as yourself point me in the right direction


No, no textboxes. Variables at class level are called "fields":

http://msdn.microsoft.com/library/en...ypemembers.asp
http://msdn.microsoft.com/library/en...Properties.asp
What I meant was:

frmMain:
Private WithEvents ReportForm As frmReport
Private WithEvents SelectForm As frmSelect

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

SelectForm = New frmSelect
SelectForm.MdiP arent = Me
SelectForm.Show ()

End Sub

Private Sub SelectForm_Clos ed( _
ByVal sender As Object, ByVal e As System.EventArg s) _
Handles SelectForm.Clos ed

SelectForm = Nothing

End Sub
Private Sub ReportForm_Clos ed( _
ByVal sender As Object, ByVal e As System.EventArg s) _
Handles ReportForm.Clos ed

SelectForm.Show ()
ReportForm = Nothing

End Sub
Private Sub SelectForm_Repo rtOpened( _
ByVal Form As frmReport) _
Handles SelectForm.Repo rtOpened

ReportForm = Form

End Sub
frmSelect:

Public Event ReportOpened(By Val Form As frmReport)

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

Dim f As New frmReport
f.MdiParent = Me.MdiParent
f.Show()
RaiseEvent ReportOpened(f)

End Sub
I didn't pay attention on frmSelect being closed. Of course, this is only
one possible approach - such solutions are often very individual and depend
on many black horses.
Armin

Feb 14 '06 #6
Armin

Just to let you know I've finished coding with the pointers you gave me.
Only made one change .... added a line in "frmSelcect .... button_click" to
make the select window visible = false (rather than close).

Everything works as desired ..... AND, more importantly, I think I've
grasped a little bit more about how to handle forms in my apps.

Thanks very much for your help

Regards

Michael Bond
Information Manager,
RNID Typetalk, UK National Telephone Relay Service for the Deaf.

"Armin Zingler" wrote:
"mabond" <ma****@discuss ions.microsoft. com> schrieb

"Armin Zingler" wrote:
"mabond" <ma****@discuss ions.microsoft. com> schrieb
> Hi
>
> Can't get my head round something which I reckon should be
> simple.
>
> My app has a main form (frmMain). MdiContainer set to true.
> A menu item triggers a new form (frmSelect) whose parent is
> frmMain Button on frmSelect triggers a new form (frmReport)
> whose parent
> also needs to be frmMain
>
> When frmReport loads and displays I don't want user to see
> frmSelect, but I don't want to close it.
>
> When frmReport closes I want to re-display frmSelect so user can
> make new selection for report or close Select form
>
> My code so far is
>
> On frmMain .......
>
> Private Sub mnuItem1_Click( ByVal sender As System.Object,
> ByVal e As System.EventArg s) Handles mnuItem1.Click
> Dim f1 As New frmSelec
> f1.MdiParent = Me
> f1.Show()
> End Sub
>
> On frmSelect .......
>
> Private Sub Button4_Click(B yVal sender As System.Object,
> ByVal e As System.EventArg s) Handles Button4.Click
> Dim f2 As New frmReport
> Me.Visible = False
> f2.MdiParent = ActiveForm
> f2.Show()
> End Sub
>
> What do I need to put on the "closed" event of frmReport to get
> frmSelect to become visible again. And have I used the best
> method of setting the parent form for frmReport. I had to make
> frmSelect invisible to get the frmMain as the active form to set
> it as the
> parent form. Otherwise a line "f2.mdipare nt = me" was trying to
> set frmSelect as the parent for frmReport
Use f2.mdiparent = me.Mdiparent instead.

In frmMain, hold the references to frmSelect and frmReport in two
fields. Don't use the local variable f1 in mnuItem1_Click but the
field in frmMain. Same with frmReport: In Button4_click, raise an
event notifying the MDIparent that either frmReport has been
opened, or that the MDIparent is to open frmReport on it's own. If
you do the former, pass the reference to the new form along. In
both cases, store the reference to frmReport in a field in
frmMain. Now that you have the reference, you can handle
frmReport's closing event. There you can reopen or reshow
frmSelect. In addition, handled both Form's closed event to set
the references to Nothing.


Thanks for this. The solution to setting the mdiparent worked.

I expect the main suggestion also works but I haven't a clue how to
put together what you propose ...... and I should know but somehow
I've got a mental block with forms in vb.net.

If I understand I should have two (invisible?) text boxes on
frmMain? But how do I get them to reference frmSelect and frmReport
as you suggest. And do I use these references to create a "new"
instance of my form as I would with "dim f1 as new frmSelect"

Sorry I know I'm being "thick" but since I tried to move from vb6 to
vb.net I just cannot grasp how to work with my forms..... even when
helpful users such as yourself point me in the right direction


No, no textboxes. Variables at class level are called "fields":

http://msdn.microsoft.com/library/en...ypemembers.asp
http://msdn.microsoft.com/library/en...Properties.asp
What I meant was:

frmMain:
Private WithEvents ReportForm As frmReport
Private WithEvents SelectForm As frmSelect

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

SelectForm = New frmSelect
SelectForm.MdiP arent = Me
SelectForm.Show ()

End Sub

Private Sub SelectForm_Clos ed( _
ByVal sender As Object, ByVal e As System.EventArg s) _
Handles SelectForm.Clos ed

SelectForm = Nothing

End Sub
Private Sub ReportForm_Clos ed( _
ByVal sender As Object, ByVal e As System.EventArg s) _
Handles ReportForm.Clos ed

SelectForm.Show ()
ReportForm = Nothing

End Sub
Private Sub SelectForm_Repo rtOpened( _
ByVal Form As frmReport) _
Handles SelectForm.Repo rtOpened

ReportForm = Form

End Sub
frmSelect:

Public Event ReportOpened(By Val Form As frmReport)

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

Dim f As New frmReport
f.MdiParent = Me.MdiParent
f.Show()
RaiseEvent ReportOpened(f)

End Sub
I didn't pay attention on frmSelect being closed. Of course, this is only
one possible approach - such solutions are often very individual and depend
on many black horses.
Armin

Feb 15 '06 #7
"mabond" <ma****@discuss ions.microsoft. com> schrieb
Armin

Just to let you know I've finished coding with the pointers you gave
me. Only made one change .... added a line in "frmSelcect ....
button_click" to make the select window visible = false (rather than
close).

Everything works as desired ..... AND, more importantly, I think
I've grasped a little bit more about how to handle forms in my apps.

Thanks very much for your help

You're welcome!
Armin
Feb 15 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
7158
by: L Major | last post by:
Hi Unfortunately, I am limited to using tables for part of my current project. I have a form that spans across a number of TR and TD in the shape of checkboxes. Doctype is XHTML 1.0 Transitional, Encoding is utf-8 Is there anything wrong? Should I try something else? What in that case?
7
5286
by: tada991 | last post by:
Hello Everyone, I just purchased Visual Studio .Net Architect 2003 and want to know what's a good book for begginers to start with. I know nothing about programming whatsoever, but I do have a desire to learn- as obvious with this purchase. So please let me know where I can start and thanks. Also, what newsgroup should I post my queries to?
18
13928
by: John Salerno | last post by:
Hi all. I was hoping some of you could recommend a book or two that would help me get started with the basics of C#. I have a slight knowledge of programming, but basically I want to start out like I know nothing, so I don't skip anything. I considered Microsoft Visual C# .NET Step by Step 2003 by Sharp/Jagger, but then I read a few reviews and it doesn't sound so good. I have XP Home, and I plan to buy only Visual C#, not Visual Studio,...
5
1947
by: Ben Kim | last post by:
Hello all, Can any of you recommend some good book titles for someone that has decades of experience programming various in languages (COBOL, Basic, Clarion, etc.)? I would like a full understanding of the why's, where's and how's. Also, what type of limitations have you run across with C# if any? Is C# single or multiple inheritence capable? Are WinForms easy to implement in C#? And what of WebForms?
6
539
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by surfin it in multiple browsers simultaneously the site generates a generic runtime error after awhile. I'm thinking this has something to do with my access database and multiple connections. I'm using forms authentication with a login page. Is...
9
1302
by: susan.f.barrett | last post by:
Hi I'm sure there is a very simple answer to this but it's got me stuck for hours! How do you change the properties of parent forms? e.g. if you have a dialog box that has a textbox on it, when the user clicks an OK Button, and the value is saved to the database, how do you then update the treeview on the main parent form?
3
8718
by: imrantbd | last post by:
I need array type name like "destList" must use for my destlist select box,not a single name.Or need a solution to capture multiple value of "destList" select box and send all selected value in php page.The multiple select value then insert in database added by comma.The following is my code: Form Page:form.php <head> <script language="JavaScript"> function addSrcToDestList() { destList1 = window.document.forms.destList; srcList...
6
2659
by: Bob Alston | last post by:
Looking for someone with experience building apps with multiple instances of forms open. I am building an app for a nonprofit organizations case workers. They provide services to the elderly. so far I have built a traditional app, switchboard, forms, etc. Part of this app is to automate the forms they previously prepared manually. After the app was built and works just fine, I find out there are several case managers using MS word...
5
3311
by: Neil | last post by:
"lyle" <lyle.fairfield@gmail.comwrote in message news:48c3dde7-07bd-48b8-91c3-e157b703f92b@f3g2000hsg.googlegroups.com... Question for you. I'm doing something similar, only, instead of opening the forms all at once, I'm opening them as needed. I have a main form with multiple records; and then I have a pop-up form that the user opens with button. The pop-up form contains one record relating to the current record in the main form (but...
0
10408
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3700
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.