473,626 Members | 3,484 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Custom-made ADO recordsets and listboxes...

Here's an interesting problem that someone might have an answer to...

Some time ago, I wrote a set of utility classes which wrap up the
custom row source function needed to add arbitrary items to a combo or
listbox. It all works nicely and allows me to do things such as
sorting by clicking on column headings.

Recently, all the machines here were upgraded to Access XP from 97 and
I thought it might be time to take advantage of the new ADO support.
As you might know, using a row source function is rather slow, even
with well optimised code, and scrolling through a large list box isn't
exactly the smoothest experience you can have. It's all a lot faster
if you can bind the listbox directly to some data.

So I wrote some code to create a disconnected recordset, populate it
with my data and attach it to a listbox. The thing is, I can get the
column headings to show correctly and I can even get the listbox to
display the correct number of rows, but all the contents of the rows
are blank, no matter what I do. Here's some simple code to
illustrate:

Create a new blank form. Add one list box and the following
procedure:

Private Sub Form_Load()

Dim objRS As ADODB.Recordset

Set objRS = New ADODB.Recordset

With objRS

Call .Fields.Append( "Item1", adChar, 255)
Call .Open

Call .AddNew
.Fields("Item1" ).Value = "Test Line 1"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 2"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 3"
Call .Update

Set .ActiveConnecti on = CurrentProject. Connection
End With

Set List1.Recordset = objRS
End Sub

In case you're wondering, I have to set the ActiveConnectio n property.
Access apparently doesn't support binding to disconnected recordsets.
I suspect that might be part of the problem, but I can't see why.
When you look at the contents of the recordset in code, it all seems
to have worked successfully.

Anybody got any ideas?

Thanks in advance!

James
Nov 12 '05 #1
22 6090
James,

You can fill a list box from a function, and the function can get its data
from an array. That may be what you are looking for.

Gary

"James Cane" <jw****@hotmail .com> wrote in message
news:d5******** *************** ***@posting.goo gle.com...
Here's an interesting problem that someone might have an answer to...

Some time ago, I wrote a set of utility classes which wrap up the
custom row source function needed to add arbitrary items to a combo or
listbox. It all works nicely and allows me to do things such as
sorting by clicking on column headings.

Recently, all the machines here were upgraded to Access XP from 97 and
I thought it might be time to take advantage of the new ADO support.
As you might know, using a row source function is rather slow, even
with well optimised code, and scrolling through a large list box isn't
exactly the smoothest experience you can have. It's all a lot faster
if you can bind the listbox directly to some data.

So I wrote some code to create a disconnected recordset, populate it
with my data and attach it to a listbox. The thing is, I can get the
column headings to show correctly and I can even get the listbox to
display the correct number of rows, but all the contents of the rows
are blank, no matter what I do. Here's some simple code to
illustrate:

Create a new blank form. Add one list box and the following
procedure:

Private Sub Form_Load()

Dim objRS As ADODB.Recordset

Set objRS = New ADODB.Recordset

With objRS

Call .Fields.Append( "Item1", adChar, 255)
Call .Open

Call .AddNew
.Fields("Item1" ).Value = "Test Line 1"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 2"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 3"
Call .Update

Set .ActiveConnecti on = CurrentProject. Connection
End With

Set List1.Recordset = objRS
End Sub

In case you're wondering, I have to set the ActiveConnectio n property.
Access apparently doesn't support binding to disconnected recordsets.
I suspect that might be part of the problem, but I can't see why.
When you look at the contents of the recordset in code, it all seems
to have worked successfully.

Anybody got any ideas?

Thanks in advance!

James

Nov 12 '05 #2
For terminology purposes, you might want to know that what you've created here
is called a fabricated recordset, not a disconnected recordset. A
disconnected recordset has to have at one time been connected.

Now, in Access 2000 and 2002, you can set a form's .Recordset (not
..RecordSource) property to an existing recordset with some restrictions such
as the fact that Access expects any ADO recordset to have used the special ADP
wrapper provider around a SQL Server connection, such as what
CurrentProject. ActiveConnectio n gives you in an ADP. Sometimes you can get
away with other kinds of ADO recordsets for read-only, but it's hit or miss,
and there are lots of don'ts if you don't want Access to crash.

Regarding combo and list boxes, unless they've added it in Access 2003, these
don't have the .Recordset property, so you can't set it.

Now, it is possible to set the Row Source Type (not Row Source) to the name of
a function that can be used to populate a listbox or combo box, and I've seen
this work very well. The function can be written to return data from a DAO or
ADO recordset, so it provides a way for these recordsets to be used as sources
for combo and list boxes. On busy networks, this can be a powerful thing
since you can apply a filter to a clone of an in-memory recordset pretty much
instantly on modern PC hardware.

On 12 Jan 2004 11:49:09 -0800, jw****@hotmail. com (James Cane) wrote:
Here's an interesting problem that someone might have an answer to...

Some time ago, I wrote a set of utility classes which wrap up the
custom row source function needed to add arbitrary items to a combo or
listbox. It all works nicely and allows me to do things such as
sorting by clicking on column headings.

Recently, all the machines here were upgraded to Access XP from 97 and
I thought it might be time to take advantage of the new ADO support.
As you might know, using a row source function is rather slow, even
with well optimised code, and scrolling through a large list box isn't
exactly the smoothest experience you can have. It's all a lot faster
if you can bind the listbox directly to some data.

So I wrote some code to create a disconnected recordset, populate it
with my data and attach it to a listbox. The thing is, I can get the
column headings to show correctly and I can even get the listbox to
display the correct number of rows, but all the contents of the rows
are blank, no matter what I do. Here's some simple code to
illustrate:

Create a new blank form. Add one list box and the following
procedure:

Private Sub Form_Load()

Dim objRS As ADODB.Recordset

Set objRS = New ADODB.Recordset

With objRS

Call .Fields.Append( "Item1", adChar, 255)
Call .Open

Call .AddNew
.Fields("Item1" ).Value = "Test Line 1"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 2"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 3"
Call .Update

Set .ActiveConnecti on = CurrentProject. Connection
End With

Set List1.Recordset = objRS
End Sub

In case you're wondering, I have to set the ActiveConnectio n property.
Access apparently doesn't support binding to disconnected recordsets.
I suspect that might be part of the problem, but I can't see why.
When you look at the contents of the recordset in code, it all seems
to have worked successfully.

Anybody got any ideas?

Thanks in advance!

James


Nov 12 '05 #3
this doesn't work with access97...
the two lines fail
Set .ActiveConnecti on = CurrentProject. Connection (undefined variable)
Set List1.Recordset = objRS (data member not found)

jw****@hotmail. com (James Cane) wrote in message news:<d5******* *************** ****@posting.go ogle.com>...
Here's an interesting problem that someone might have an answer to...

Some time ago, I wrote a set of utility classes which wrap up the
custom row source function needed to add arbitrary items to a combo or
listbox. It all works nicely and allows me to do things such as
sorting by clicking on column headings.

Recently, all the machines here were upgraded to Access XP from 97 and
I thought it might be time to take advantage of the new ADO support.
As you might know, using a row source function is rather slow, even
with well optimised code, and scrolling through a large list box isn't
exactly the smoothest experience you can have. It's all a lot faster
if you can bind the listbox directly to some data.

So I wrote some code to create a disconnected recordset, populate it
with my data and attach it to a listbox. The thing is, I can get the
column headings to show correctly and I can even get the listbox to
display the correct number of rows, but all the contents of the rows
are blank, no matter what I do. Here's some simple code to
illustrate:

Create a new blank form. Add one list box and the following
procedure:

Private Sub Form_Load()

Dim objRS As ADODB.Recordset

Set objRS = New ADODB.Recordset

With objRS

Call .Fields.Append( "Item1", adChar, 255)
Call .Open

Call .AddNew
.Fields("Item1" ).Value = "Test Line 1"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 2"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 3"
Call .Update

Set .ActiveConnecti on = CurrentProject. Connection
End With

Set List1.Recordset = objRS
End Sub

In case you're wondering, I have to set the ActiveConnectio n property.
Access apparently doesn't support binding to disconnected recordsets.
I suspect that might be part of the problem, but I can't see why.
When you look at the contents of the recordset in code, it all seems
to have worked successfully.

Anybody got any ideas?

Thanks in advance!

James

Nov 12 '05 #4
Thanks Steve.

I'm aware of the RowSourceType property and its use in conjunction
with a RowSourceType function to return arbitrary data. In fact, this
is something I've been doing perfectly successfully. The only issue
really is speed - on a decent machine, with Access 2002, a 4-column,
100 row listbox doesn't scroll particularly quickly with a custom row
source, even if you're directly grabbing the data from a text array as
fast as you can. Consequently, I've been trying to play around with
alternative approaches (without using ActiveX controls or messing
around hosting Win32 listboxes using the Windows API)

As for the Recordset property of a listbox, I'd suggest you take a
look. There really is, in Access 2002 (XP) at least, such a property.
It's read/write and accepts either an ADO or DAO recordset. In fact,
it appears to work in exactly the same way as the Recordset property
of a form or report.

Unfortunately, I can't use an ADO recordset taken from SQL Server for
two reasons - the first is that I'm not using SQL server, but MDB
files (for many reasons, most political or historical and outside my
control). The second, more relevant reason is that my data does not
necessarily have to come from a database.

Thanks again for your comments though

Steve Jorgensen <no****@nospam. nospam> wrote in message news:<gd******* *************** **********@4ax. com>...
For terminology purposes, you might want to know that what you've created here
is called a fabricated recordset, not a disconnected recordset. A
disconnected recordset has to have at one time been connected.

Now, in Access 2000 and 2002, you can set a form's .Recordset (not
.RecordSource) property to an existing recordset with some restrictions such
as the fact that Access expects any ADO recordset to have used the special ADP
wrapper provider around a SQL Server connection, such as what
CurrentProject. ActiveConnectio n gives you in an ADP. Sometimes you can get
away with other kinds of ADO recordsets for read-only, but it's hit or miss,
and there are lots of don'ts if you don't want Access to crash.

Regarding combo and list boxes, unless they've added it in Access 2003, these
don't have the .Recordset property, so you can't set it.

Now, it is possible to set the Row Source Type (not Row Source) to the name of
a function that can be used to populate a listbox or combo box, and I've seen
this work very well. The function can be written to return data from a DAO or
ADO recordset, so it provides a way for these recordsets to be used as sources
for combo and list boxes. On busy networks, this can be a powerful thing
since you can apply a filter to a clone of an in-memory recordset pretty much
instantly on modern PC hardware.

On 12 Jan 2004 11:49:09 -0800, jw****@hotmail. com (James Cane) wrote:
Here's an interesting problem that someone might have an answer to...

Some time ago, I wrote a set of utility classes which wrap up the
custom row source function needed to add arbitrary items to a combo or
listbox. It all works nicely and allows me to do things such as
sorting by clicking on column headings.

Recently, all the machines here were upgraded to Access XP from 97 and
I thought it might be time to take advantage of the new ADO support.
As you might know, using a row source function is rather slow, even
with well optimised code, and scrolling through a large list box isn't
exactly the smoothest experience you can have. It's all a lot faster
if you can bind the listbox directly to some data.

So I wrote some code to create a disconnected recordset, populate it
with my data and attach it to a listbox. The thing is, I can get the
column headings to show correctly and I can even get the listbox to
display the correct number of rows, but all the contents of the rows
are blank, no matter what I do. Here's some simple code to
illustrate:

Create a new blank form. Add one list box and the following
procedure:

Private Sub Form_Load()

Dim objRS As ADODB.Recordset

Set objRS = New ADODB.Recordset

With objRS

Call .Fields.Append( "Item1", adChar, 255)
Call .Open

Call .AddNew
.Fields("Item1" ).Value = "Test Line 1"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 2"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 3"
Call .Update

Set .ActiveConnecti on = CurrentProject. Connection
End With

Set List1.Recordset = objRS
End Sub

In case you're wondering, I have to set the ActiveConnectio n property.
Access apparently doesn't support binding to disconnected recordsets.
I suspect that might be part of the problem, but I can't see why.
When you look at the contents of the recordset in code, it all seems
to have worked successfully.

Anybody got any ideas?

Thanks in advance!

James

Nov 12 '05 #5
Thanks Roger,

That's right. Partly because Access 97 doesn't provide native support
for ADO, and partly because the Recordset property of a Listbox is not
available in 97. If you use Access 2002, and make sure your VB
project contains a reference to "Microsoft ActiveX Data Objects", you
should get my code to run.

le*********@nat pro.com (Roger) wrote in message news:<8c******* *************** ****@posting.go ogle.com>...
this doesn't work with access97...
the two lines fail
Set .ActiveConnecti on = CurrentProject. Connection (undefined variable)
Set List1.Recordset = objRS (data member not found)

jw****@hotmail. com (James Cane) wrote in message news:<d5******* *************** ****@posting.go ogle.com>...
Here's an interesting problem that someone might have an answer to...

Some time ago, I wrote a set of utility classes which wrap up the
custom row source function needed to add arbitrary items to a combo or
listbox. It all works nicely and allows me to do things such as
sorting by clicking on column headings.

Recently, all the machines here were upgraded to Access XP from 97 and
I thought it might be time to take advantage of the new ADO support.
As you might know, using a row source function is rather slow, even
with well optimised code, and scrolling through a large list box isn't
exactly the smoothest experience you can have. It's all a lot faster
if you can bind the listbox directly to some data.

So I wrote some code to create a disconnected recordset, populate it
with my data and attach it to a listbox. The thing is, I can get the
column headings to show correctly and I can even get the listbox to
display the correct number of rows, but all the contents of the rows
are blank, no matter what I do. Here's some simple code to
illustrate:

Create a new blank form. Add one list box and the following
procedure:

Private Sub Form_Load()

Dim objRS As ADODB.Recordset

Set objRS = New ADODB.Recordset

With objRS

Call .Fields.Append( "Item1", adChar, 255)
Call .Open

Call .AddNew
.Fields("Item1" ).Value = "Test Line 1"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 2"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 3"
Call .Update

Set .ActiveConnecti on = CurrentProject. Connection
End With

Set List1.Recordset = objRS
End Sub

In case you're wondering, I have to set the ActiveConnectio n property.
Access apparently doesn't support binding to disconnected recordsets.
I suspect that might be part of the problem, but I can't see why.
When you look at the contents of the recordset in code, it all seems
to have worked successfully.

Anybody got any ideas?

Thanks in advance!

James

Nov 12 '05 #6
Thanks Gary,

That's what I've been doing up until now. I don't know if you've
noticed, but custom functions for listboxes aren't exactly hot
performers. When you scroll through a large list (particularly if
it's got several columns), it's a slow and somewhat jerky experience.

I was looking into the idea of using fabricated recordsets to speed it
all up a bit.

le*********@nat pro.com (Roger) wrote in message news:<8c******* *************** ****@posting.go ogle.com>...
this doesn't work with access97...
the two lines fail
Set .ActiveConnecti on = CurrentProject. Connection (undefined variable)
Set List1.Recordset = objRS (data member not found)

jw****@hotmail. com (James Cane) wrote in message news:<d5******* *************** ****@posting.go ogle.com>...
Here's an interesting problem that someone might have an answer to...

Some time ago, I wrote a set of utility classes which wrap up the
custom row source function needed to add arbitrary items to a combo or
listbox. It all works nicely and allows me to do things such as
sorting by clicking on column headings.

Recently, all the machines here were upgraded to Access XP from 97 and
I thought it might be time to take advantage of the new ADO support.
As you might know, using a row source function is rather slow, even
with well optimised code, and scrolling through a large list box isn't
exactly the smoothest experience you can have. It's all a lot faster
if you can bind the listbox directly to some data.

So I wrote some code to create a disconnected recordset, populate it
with my data and attach it to a listbox. The thing is, I can get the
column headings to show correctly and I can even get the listbox to
display the correct number of rows, but all the contents of the rows
are blank, no matter what I do. Here's some simple code to
illustrate:

Create a new blank form. Add one list box and the following
procedure:

Private Sub Form_Load()

Dim objRS As ADODB.Recordset

Set objRS = New ADODB.Recordset

With objRS

Call .Fields.Append( "Item1", adChar, 255)
Call .Open

Call .AddNew
.Fields("Item1" ).Value = "Test Line 1"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 2"
Call .AddNew
.Fields("Item1" ).Value = "Test Line 3"
Call .Update

Set .ActiveConnecti on = CurrentProject. Connection
End With

Set List1.Recordset = objRS
End Sub

In case you're wondering, I have to set the ActiveConnectio n property.
Access apparently doesn't support binding to disconnected recordsets.
I suspect that might be part of the problem, but I can't see why.
When you look at the contents of the recordset in code, it all seems
to have worked successfully.

Anybody got any ideas?

Thanks in advance!

James

Nov 12 '05 #7
On 13 Jan 2004 02:22:25 -0800, jw****@hotmail. com (James Cane) wrote:
Thanks Steve.

I'm aware of the RowSourceType property and its use in conjunction
with a RowSourceType function to return arbitrary data. In fact, this
is something I've been doing perfectly successfully. The only issue
really is speed - on a decent machine, with Access 2002, a 4-column,
100 row listbox doesn't scroll particularly quickly with a custom row
source, even if you're directly grabbing the data from a text array as
fast as you can. Consequently, I've been trying to play around with
alternative approaches (without using ActiveX controls or messing
around hosting Win32 listboxes using the Windows API)
In my opinion, a list box with much more than 100 rows is being abused, no
matter what kind of source it has. Perhaps, some sort of drill-down approach
would make more sense. You could do something like having a text box used to
progressively filter a recordset, and show just the first 50 rows in a list
box below. I've seen this technique used in an app before, and it seemed to
work quite well.
As for the Recordset property of a listbox, I'd suggest you take a
look. There really is, in Access 2002 (XP) at least, such a property.
It's read/write and accepts either an ADO or DAO recordset. In fact,
it appears to work in exactly the same way as the Recordset property
of a form or report.


I'll certainly check again. I was pretty sure I had tried that in Access 2002
before, and there was no such property, but since you have just been playing
with this, I assume you are correct.
Nov 12 '05 #8
In general, I'd agree about the 100 row listbox thing, but in this
context I'm using a large listbox like a grid control. The users
require all the data to be available at once (generally no more than
200-300 rows) in a scrollable form. I can't use a grid control, as
I'm not able to use any ActiveX controls (politics again - can't
install them on the target machines!), and I don't even have a
ListView or FlexGrid available for use. The listbox is the best I can
do unfortunately.

Interestingly, the speed doesn't vary particularly with the size of
the dataset, once you've loaded the data into memory, as the custom
row function only calls on demand for the data it needs to display.
Consequently, the speed is really more a function of the number of
columns and rows visible at once (the size of the listbox control).

Steve Jorgensen <no****@nospam. nospam> wrote in message news:<tl******* *************** **********@4ax. com>...
On 13 Jan 2004 02:22:25 -0800, jw****@hotmail. com (James Cane) wrote:
Thanks Steve.

I'm aware of the RowSourceType property and its use in conjunction
with a RowSourceType function to return arbitrary data. In fact, this
is something I've been doing perfectly successfully. The only issue
really is speed - on a decent machine, with Access 2002, a 4-column,
100 row listbox doesn't scroll particularly quickly with a custom row
source, even if you're directly grabbing the data from a text array as
fast as you can. Consequently, I've been trying to play around with
alternative approaches (without using ActiveX controls or messing
around hosting Win32 listboxes using the Windows API)


In my opinion, a list box with much more than 100 rows is being abused, no
matter what kind of source it has. Perhaps, some sort of drill-down approach
would make more sense. You could do something like having a text box used to
progressively filter a recordset, and show just the first 50 rows in a list
box below. I've seen this technique used in an app before, and it seemed to
work quite well.
As for the Recordset property of a listbox, I'd suggest you take a
look. There really is, in Access 2002 (XP) at least, such a property.
It's read/write and accepts either an ADO or DAO recordset. In fact,
it appears to work in exactly the same way as the Recordset property
of a form or report.


I'll certainly check again. I was pretty sure I had tried that in Access 2002
before, and there was no such property, but since you have just been playing
with this, I assume you are correct.

Nov 12 '05 #9
On 13 Jan 2004 07:15:43 -0800, jw****@hotmail. com (James Cane) wrote:
In general, I'd agree about the 100 row listbox thing, but in this
context I'm using a large listbox like a grid control. The users
require all the data to be available at once (generally no more than
200-300 rows) in a scrollable form. I can't use a grid control, as
I'm not able to use any ActiveX controls (politics again - can't
install them on the target machines!), and I don't even have a
ListView or FlexGrid available for use. The listbox is the best I can
do unfortunately.


Like a grid control - why a listbox, then? Why not use a form in datasheet
view or continuous form formatted like a grid control?
Nov 12 '05 #10

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

Similar topics

3
1820
by: F. Da Costa | last post by:
Hi, I was wondering *why* there is a difference between the results of the following two statements. On the suface they seem to do the same (or do they?) frm => returns void frm.getAttribute("custom") => returns the value of the attribute
7
1935
by: Luc Tremblay | last post by:
Given the typical following code: void Listener::HandleEvent(const Event& event) { // handling code } In a "clean" fashion, how is it possible to add custom data (to be subsequently accessed) to the Event instance? By custom data i mean practically anything, from a class to a single int. Particularly to my case,
5
2529
by: Graham | last post by:
I have created a custom MembershipProvider called "LassieMembershipProvider" that derives from "MembershipProvider". This providor is located in a Businesslogic layer dll called "Enlighten.LinkMad.Businesslogic". In one of my frontend websites I use this type to authenticate a user who is trying to login. The following excerpt is from the web.config of the particular site showing the reference to the custom provider, allowing .Net to do...
2
2578
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my
19
4904
by: Jamey Shuemaker | last post by:
I'm in the process of expanding my knowledge and use of Class Modules. I've perused MSDN and this and other sites, and I'm pretty comfortable with my understanding of Class Modules with the exception of custom Collection Classes. Background: I'm developing an A2K .mdb to be deployed as an .mde at my current job-site. It has several custom controls which utilize custom classes to wrap built-in controls, and add additional functionality....
27
45536
by: Wayne | last post by:
I've been clicking around Access 2007 Beta 2 and can't see the custom menu bar designer. Is it in the beta? Maybe I'm blind. The question that comes to mind is: Will custom menu bars be the same height as they were in previous versions or will they be the "ribbon" style that takes up a huge portion of the screen? Also when I use Access 2007 to open an Access 2003 database that has custom menu bars they display as they did in Access...
9
3781
by: Greger | last post by:
Hi, I am building an architecture that passes my custom objects to and from webservices. (Our internal architecture requires me to use webservices to any suggestion to use other remoting techniques are not feasible) The question is; Given that I have a Person object with a private set for id. What is the recommended approac in passing that object to the web service
0
1414
by: Rajesh | last post by:
I am trying to use a simple custom type for saving the profile information of a user. The custom class inherits from the Hashtable. I am serializing the type as "Binary" in the provider sections of the web.config. When I add a key-value to the custom type, I can see that its being saved in the database (aspnet_profiles table - PropertyValuesBinary column). But, when I want to read the information in the profile, my custom type object is...
1
4376
by: asharda | last post by:
I have a custom property grid. I am using custom property grid as I do not want the error messages that the propertygrid shows when abphabets are entered in interger fields. The custom property grid doesn't show colloections i.e. if I have a List<Objectthen the Collection is shown but when I click on the "..." button next to it nothing comes up. If I say CustomPropertyGrid p = new CustomPropertyGrid(); p.SelectedObject = new...
0
8202
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
8707
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
8510
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
7199
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
6125
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
5575
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
4093
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
4202
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1812
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.