473,803 Members | 3,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ObservableColle ction(of T): Only for UI-tier or for all tiers?

Hello!

In some situations I have a collection of objects which it in different
situations could be relevant to deal with at the UI-tier and sometimes at
other tiers. Typically my concept is a composite so MyCollectionEle mentClass
has a collection of MyCollectionEle mentClass.

Should I make one implementation for the UI-tier using
ObservableColle ction(MyCollect ionElementClass ) and one for the non-UI tier
using List(MyCollecti onElementClass) or should I use the implementation
using ObservableColle ction(MyCollect ionElementClass ) for all tiers?

A more general question: Should ObservableColle ction(Of T) basically only be
used at UI-tiers due to some performance or infrastructural reasons for
instance?
Best regards,

Henrik Dahl
Apr 7 '07 #1
8 3079
Henrik,

I don't see why it shouldn't be used at all tiers. ObservableColle ction
doesn't have any UI specific functionality. It is basically a Collection<T>
instance which implements INotifyCollecti onChanged and
INotifyProperty Changed. These interfaces, while they can be used for UI,
don't HAVE to be strictly for UI. You might want some code to run when
certain properties are changed (in a chain reaction sort of way). The most
prominent example is UI changes, but not by any means the only example.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uE******** ******@TK2MSFTN GP06.phx.gbl...
Hello!

In some situations I have a collection of objects which it in different
situations could be relevant to deal with at the UI-tier and sometimes at
other tiers. Typically my concept is a composite so
MyCollectionEle mentClass has a collection of MyCollectionEle mentClass.

Should I make one implementation for the UI-tier using
ObservableColle ction(MyCollect ionElementClass ) and one for the non-UI tier
using List(MyCollecti onElementClass) or should I use the implementation
using ObservableColle ction(MyCollect ionElementClass ) for all tiers?

A more general question: Should ObservableColle ction(Of T) basically only
be used at UI-tiers due to some performance or infrastructural reasons for
instance?
Best regards,

Henrik Dahl


Apr 7 '07 #2
Hello Nicholas,

Yes, but if you invoke some methods from a non-UI thread an exception is
actually raised from the ObservableColle ction(Of T) instance. This could
indicate there's something more into this ObservableColle ction because what
you've described probably should not lead to such treading related
behaviour. What do you think?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev i
en meddelelse news:e7******** *****@TK2MSFTNG P06.phx.gbl...
Henrik,

I don't see why it shouldn't be used at all tiers.
ObservableColle ction doesn't have any UI specific functionality. It is
basically a Collection<Tins tance which implements
INotifyCollecti onChanged and INotifyProperty Changed. These interfaces,
while they can be used for UI, don't HAVE to be strictly for UI. You
might want some code to run when certain properties are changed (in a
chain reaction sort of way). The most prominent example is UI changes,
but not by any means the only example.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uE******** ******@TK2MSFTN GP06.phx.gbl...
>Hello!

In some situations I have a collection of objects which it in different
situations could be relevant to deal with at the UI-tier and sometimes at
other tiers. Typically my concept is a composite so
MyCollectionEl ementClass has a collection of MyCollectionEle mentClass.

Should I make one implementation for the UI-tier using
ObservableColl ection(MyCollec tionElementClas s) and one for the non-UI
tier using List(MyCollecti onElementClass) or should I use the
implementati on using ObservableColle ction(MyCollect ionElementClass ) for
all tiers?

A more general question: Should ObservableColle ction(Of T) basically only
be used at UI-tiers due to some performance or infrastructural reasons
for instance?
Best regards,

Henrik Dahl



Apr 7 '07 #3
Henrik,

That isn't the case. There is nothing in ObservableColle ction which is
tied to the UI. The error is expected, as you are trying to update the UI
thread from a non UI thread (something not allowed in WPF as well as Win32).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uz******** ******@TK2MSFTN GP03.phx.gbl...
Hello Nicholas,

Yes, but if you invoke some methods from a non-UI thread an exception is
actually raised from the ObservableColle ction(Of T) instance. This could
indicate there's something more into this ObservableColle ction because
what you've described probably should not lead to such treading related
behaviour. What do you think?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev i
en meddelelse news:e7******** *****@TK2MSFTNG P06.phx.gbl...
>Henrik,

I don't see why it shouldn't be used at all tiers.
ObservableColl ection doesn't have any UI specific functionality. It is
basically a Collection<Tins tance which implements
INotifyCollect ionChanged and INotifyProperty Changed. These interfaces,
while they can be used for UI, don't HAVE to be strictly for UI. You
might want some code to run when certain properties are changed (in a
chain reaction sort of way). The most prominent example is UI changes,
but not by any means the only example.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uE******* *******@TK2MSFT NGP06.phx.gbl.. .
>>Hello!

In some situations I have a collection of objects which it in different
situations could be relevant to deal with at the UI-tier and sometimes
at other tiers. Typically my concept is a composite so
MyCollectionE lementClass has a collection of MyCollectionEle mentClass.

Should I make one implementation for the UI-tier using
ObservableCol lection(MyColle ctionElementCla ss) and one for the non-UI
tier using List(MyCollecti onElementClass) or should I use the
implementatio n using ObservableColle ction(MyCollect ionElementClass ) for
all tiers?

A more general question: Should ObservableColle ction(Of T) basically
only be used at UI-tiers due to some performance or infrastructural
reasons for instance?
Best regards,

Henrik Dahl




Apr 7 '07 #4
Hello again!

OK, so your point is, that the exception is not thrown by
ObservableColle ction(Of T) but by some action performed by an event handler
erroneously invoked by the non-UI thread in this case?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev i
en meddelelse news:eC******** *****@TK2MSFTNG P06.phx.gbl...
Henrik,

That isn't the case. There is nothing in ObservableColle ction which is
tied to the UI. The error is expected, as you are trying to update the UI
thread from a non UI thread (something not allowed in WPF as well as
Win32).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uz******** ******@TK2MSFTN GP03.phx.gbl...
>Hello Nicholas,

Yes, but if you invoke some methods from a non-UI thread an exception is
actually raised from the ObservableColle ction(Of T) instance. This could
indicate there's something more into this ObservableColle ction because
what you've described probably should not lead to such treading related
behaviour. What do you think?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev
i en meddelelse news:e7******** *****@TK2MSFTNG P06.phx.gbl...
>>Henrik,

I don't see why it shouldn't be used at all tiers.
ObservableCol lection doesn't have any UI specific functionality. It is
basically a Collection<Tins tance which implements
INotifyCollec tionChanged and INotifyProperty Changed. These interfaces,
while they can be used for UI, don't HAVE to be strictly for UI. You
might want some code to run when certain properties are changed (in a
chain reaction sort of way). The most prominent example is UI changes,
but not by any means the only example.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uE****** ********@TK2MSF TNGP06.phx.gbl. ..
Hello!

In some situations I have a collection of objects which it in different
situations could be relevant to deal with at the UI-tier and sometimes
at other tiers. Typically my concept is a composite so
MyCollection ElementClass has a collection of MyCollectionEle mentClass.

Should I make one implementation for the UI-tier using
ObservableCo llection(MyColl ectionElementCl ass) and one for the non-UI
tier using List(MyCollecti onElementClass) or should I use the
implementati on using ObservableColle ction(MyCollect ionElementClass ) for
all tiers?

A more general question: Should ObservableColle ction(Of T) basically
only be used at UI-tiers due to some performance or infrastructural
reasons for instance?
Best regards,

Henrik Dahl




Apr 7 '07 #5
Henrik,

Yes.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:eC******** ******@TK2MSFTN GP04.phx.gbl...
Hello again!

OK, so your point is, that the exception is not thrown by
ObservableColle ction(Of T) but by some action performed by an event
handler erroneously invoked by the non-UI thread in this case?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev i
en meddelelse news:eC******** *****@TK2MSFTNG P06.phx.gbl...
>Henrik,

That isn't the case. There is nothing in ObservableColle ction which
is tied to the UI. The error is expected, as you are trying to update
the UI thread from a non UI thread (something not allowed in WPF as well
as Win32).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uz******* *******@TK2MSFT NGP03.phx.gbl.. .
>>Hello Nicholas,

Yes, but if you invoke some methods from a non-UI thread an exception is
actually raised from the ObservableColle ction(Of T) instance. This could
indicate there's something more into this ObservableColle ction because
what you've described probably should not lead to such treading related
behaviour. What do you think?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev
i en meddelelse news:e7******** *****@TK2MSFTNG P06.phx.gbl...
Henrik,

I don't see why it shouldn't be used at all tiers.
ObservableCo llection doesn't have any UI specific functionality. It is
basically a Collection<Tins tance which implements
INotifyColle ctionChanged and INotifyProperty Changed. These interfaces,
while they can be used for UI, don't HAVE to be strictly for UI. You
might want some code to run when certain properties are changed (in a
chain reaction sort of way). The most prominent example is UI changes,
but not by any means the only example.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uE***** *********@TK2MS FTNGP06.phx.gbl ...
Hello!
>
In some situations I have a collection of objects which it in
different situations could be relevant to deal with at the UI-tier and
sometimes at other tiers. Typically my concept is a composite so
MyCollectio nElementClass has a collection of MyCollectionEle mentClass.
>
Should I make one implementation for the UI-tier using
ObservableC ollection(MyCol lectionElementC lass) and one for the non-UI
tier using List(MyCollecti onElementClass) or should I use the
implementat ion using ObservableColle ction(MyCollect ionElementClass )
for all tiers?
>
A more general question: Should ObservableColle ction(Of T) basically
only be used at UI-tiers due to some performance or infrastructural
reasons for instance?
>
>
Best regards,
>
Henrik Dahl
>
>




Apr 7 '07 #6
OK.

Do you know if instances of ObservableColle ction(Of T) may also be
marshalled via the serialization mechanishms of WCF or via XmlSerializer?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev i
en meddelelse news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Henrik,

Yes.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:eC******** ******@TK2MSFTN GP04.phx.gbl...
>Hello again!

OK, so your point is, that the exception is not thrown by
ObservableColl ection(Of T) but by some action performed by an event
handler erroneously invoked by the non-UI thread in this case?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev
i en meddelelse news:eC******** *****@TK2MSFTNG P06.phx.gbl...
>>Henrik,

That isn't the case. There is nothing in ObservableColle ction which
is tied to the UI. The error is expected, as you are trying to update
the UI thread from a non UI thread (something not allowed in WPF as well
as Win32).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uz****** ********@TK2MSF TNGP03.phx.gbl. ..
Hello Nicholas,

Yes, but if you invoke some methods from a non-UI thread an exception
is actually raised from the ObservableColle ction(Of T) instance. This
could indicate there's something more into this ObservableColle ction
because what you've described probably should not lead to such treading
related behaviour. What do you think?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om>
skrev i en meddelelse news:e7******** *****@TK2MSFTNG P06.phx.gbl...
Henrik,
>
I don't see why it shouldn't be used at all tiers.
ObservableC ollection doesn't have any UI specific functionality. It
is basically a Collection<Tins tance which implements
INotifyColl ectionChanged and INotifyProperty Changed. These
interface s, while they can be used for UI, don't HAVE to be strictly
for UI. You might want some code to run when certain properties are
changed (in a chain reaction sort of way). The most prominent example
is UI changes, but not by any means the only example.
>
Hope this helps.
>
>
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
>
"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uE**** **********@TK2M SFTNGP06.phx.gb l...
>Hello!
>>
>In some situations I have a collection of objects which it in
>differen t situations could be relevant to deal with at the UI-tier
>and sometimes at other tiers. Typically my concept is a composite so
>MyCollecti onElementClass has a collection of
>MyCollecti onElementClass.
>>
>Should I make one implementation for the UI-tier using
>Observable Collection(MyCo llectionElement Class) and one for the non-UI
>tier using List(MyCollecti onElementClass) or should I use the
>implementa tion using ObservableColle ction(MyCollect ionElementClass )
>for all tiers?
>>
>A more general question: Should ObservableColle ction(Of T) basically
>only be used at UI-tiers due to some performance or infrastructural
>reasons for instance?
>>
>>
>Best regards,
>>
>Henrik Dahl
>>
>>
>
>




Apr 7 '07 #7
Henrik,

Well, did you check the documentation? *smiles*

It says that the Serializable attribute is applied to it, which means
that instances of it can be serialized, assuming that T is serializable.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:OI******** ******@TK2MSFTN GP05.phx.gbl...
OK.

Do you know if instances of ObservableColle ction(Of T) may also be
marshalled via the serialization mechanishms of WCF or via XmlSerializer?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev i
en meddelelse news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
>Henrik,

Yes.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:eC******* *******@TK2MSFT NGP04.phx.gbl.. .
>>Hello again!

OK, so your point is, that the exception is not thrown by
ObservableCol lection(Of T) but by some action performed by an event
handler erroneously invoked by the non-UI thread in this case?
Best regards,

Henrik Dahl

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omskrev
i en meddelelse news:eC******** *****@TK2MSFTNG P06.phx.gbl...
Henrik,

That isn't the case. There is nothing in ObservableColle ction which
is tied to the UI. The error is expected, as you are trying to update
the UI thread from a non UI thread (something not allowed in WPF as
well as Win32).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Henrik Dahl" <He********@com munity.nospamwr ote in message
news:uz***** *********@TK2MS FTNGP03.phx.gbl ...
Hello Nicholas,
>
Yes, but if you invoke some methods from a non-UI thread an exception
is actually raised from the ObservableColle ction(Of T) instance. This
could indicate there's something more into this ObservableColle ction
because what you've described probably should not lead to such
treading related behaviour. What do you think?
>
>
Best regards,
>
Henrik Dahl
>
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om>
skrev i en meddelelse news:e7******** *****@TK2MSFTNG P06.phx.gbl...
>Henrik,
>>
> I don't see why it shouldn't be used at all tiers.
>Observable Collection doesn't have any UI specific functionality. It
>is basically a Collection<Tins tance which implements
>INotifyCol lectionChanged and INotifyProperty Changed. These
>interfaces , while they can be used for UI, don't HAVE to be strictly
>for UI. You might want some code to run when certain properties are
>changed (in a chain reaction sort of way). The most prominent
>example is UI changes, but not by any means the only example.
>>
> Hope this helps.
>>
>>
>--
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard. caspershouse.co m
>>
>"Henrik Dahl" <He********@com munity.nospamwr ote in message
>news:uE*** ***********@TK2 MSFTNGP06.phx.g bl...
>>Hello!
>>>
>>In some situations I have a collection of objects which it in
>>differe nt situations could be relevant to deal with at the UI-tier
>>and sometimes at other tiers. Typically my concept is a composite so
>>MyCollect ionElementClass has a collection of
>>MyCollect ionElementClass .
>>>
>>Should I make one implementation for the UI-tier using
>>Observabl eCollection(MyC ollectionElemen tClass) and one for the
>>non-UI tier using List(MyCollecti onElementClass) or should I use the
>>implement ation using ObservableColle ction(MyCollect ionElementClass )
>>for all tiers?
>>>
>>A more general question: Should ObservableColle ction(Of T) basically
>>only be used at UI-tiers due to some performance or infrastructural
>>reasons for instance?
>>>
>>>
>>Best regards,
>>>
>>Henrik Dahl
>>>
>>>
>>
>>
>
>




Apr 8 '07 #8
Hi Henrik,

I agree that ObservableColle ction(Of T) can be used for all tiers.
the exception is not thrown by ObservableColle ction(Of T) but by some
action performed by an event handler erroneously invoked by the non-UI
thread in this case?

In my opinion, because the ObservableColle ction(Of T) implements the
INotifyCollecti onChanged and INotifyProperty Changed interfaces, it will
cause UI update when the ObservableColle ction(Of T) is changed.

Let's say a non-UI thread accesses and changes the ObservableColle ction(Of
T), then it is the non-UI thread that performs the UI update in the next
step, which is not allowed in the thread models of both WinForms and WPF
applications.

In WinForms world, the solution is to define a delegate for the method to
access the control, and then call the Invoke or BeginInvoke method of the
WinForms control to invoke the delegate.

In WPF world, the solution is similar but is a little different. We still
need to define a delegate for the method to access the UI element, and then
call the Invoke or BeginInvoke method of the Dispather linked to the UI
thread.

The following is a sample.

delegate void SetTextBoxDeleg ate();
Dispatcher.Invo ke(System.Windo ws.Threading.Di spatcherPriorit y.Normal, new
SetTextBoxDeleg ate(SetTextBox1 ));
void SetTextBox1()
{
this.textBox1.T ext = "some text";
}

For more information on the threading model in WPF, you may visit the
following link:

'Threading Model'
http://msdn2.microsoft.com/en-us/library/ms741870.aspx

Hope this helps.
If you have any question, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 9 '07 #9

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

Similar topics

2
1626
by: swoozie | last post by:
This may not be a MSSQL-specific question, but I wanted to ask it here first, in case there's a MSSQL and/or SourceSafe solution that will help. Our dev team is having some difficulty with keeping the nightly builds in sync with the stored proc mods. I'm wondering if there are some good case studies on how to avoid this "drift". Something like genning a new DB from checked-in SPs, etc. alongside each regular build,
2
1772
by: TS | last post by:
If I have custom data entity objects that are simple classes with properties storing data for a particular entity, then I want to pass this object to another server, how does the other server know about this object type since the class is created on the source server. Having all of these tiers on the same server you can get reference to this type from the other tier because you have access to it, but on the other server, how do you use...
1
1096
by: ken | last post by:
Dear all does any recommend books for develop middle tiers for .ne recently, i develop asp.net only aspx/dll, database , two tier and vb.net only frm/dll, database, two tiers
1
1271
by: Rupert | last post by:
I am developing a system in ASP.NET and am new to the technology. I am running everything on the laptop I am developing on (windows xp). The DB is Oracle and my aspx pages and C# code behind classes and other classes are in one directory under IIS. The client plans to have an application server and two web servers (one for the intranet connections and one for internet connections). For security reasons the web servers will not be able...
1
1167
by: Freaky Coder | last post by:
Can anyone tell me if I'm insane or not? I have a problem where I have a data tier where every class represents a table, and a class can have properties which are object of another class. For instance: Data.Car.Driver ' A Driver class Data.Car.Passengers ' A Passenger collection class The problem is, if I then have a business layer that inherits from the data layer, and I then use the business layer in my UI, the object namespaces can
5
1564
by: Ronald S. Cook | last post by:
We have a Windows app which contains UI code and all classes that perform business logic and make calls to database stored procs (located on a database server - i.e. not local to the app). My boss wants to bring all those classes to a business server and out of each instance of the Windows application (i.e. separate into a business tier). I understand that by having the business tier separate from the user tier, we can make changes...
5
1666
by: runtime | last post by:
Hello! First time posting... Question about the difference between layers and tiers: How many tiers are in the WAMP environment? This is not an exam question, but the answer will help me dispute one. I have a professor who believes the following:
0
1510
by: jehugaleahsa | last post by:
On Jun 13, 3:09 pm, "Bob Powell " <b...@spamkillerbobpowell.net> wrote: I apologize for the size. I should have probably put this on a blog or something. I'm not interested in tools. I interested in concepts / better ways of handling day-to-day design decisions.
10
2248
Samishii23
by: Samishii23 | last post by:
Ok so, I'm trying to make an .exe version of a World of Warcraft system. The Talent builder. I'm hoping that no one points and laughs too much... But anyways, this is the problem I'm having... Theres 11 tiers of my PictureBox Control, 44 total. The 1st tier is "Free" while each subsequent tier needs 5 points into the previous tier to make the next tier available. Right now I have the intentions of putting this code into a TextChanged()...
0
9700
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9564
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10546
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
10310
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...
0
9121
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
7603
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
6841
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.