473,699 Members | 2,417 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Read from database as I do from web.config

Currently our application is reading from the web.config, and retrieves a
section, "softwareRequir ements". Because the section will begin to grow
dramatically, I'd like to place it in the SQL database instead. I've
imported the values, and am retrieving them as FOR XML AUTO in the stored
proc to mimic the structure in the web.config. I'm confused now - what data
type is being returned by
system.configur ation.configura tionsettings.ge tconfig()? It looks like it has
to be an array or xml, but I'm not experienced enough at .NET to determine
how to best handle it. I would like to just provide a different data source
and leave the rest of my code the same.

Current code to read web.config:

Public Shared Function SoftwareRequire ments() As
SoftwareRequire mentsView
Return
System.Configur ation.Configura tionSettings.Ge tConfig("softwa reRequirements" )
End Function

<Serializable() > _
Public Class SoftwareRequire mentView
Inherits UserProvisionin gData.SoftwareR equirement

Private _ctrlId As String

Public Sub New(ByVal name As String, ByVal value As String, ByVal prompt
As String, ByVal availableTo As String)
MyBase.New(name , value, prompt, availableTo)
End Sub

Public Property ControlId() As String
Get
Return _ctrlId
End Get
Set(ByVal Value As String)
_ctrlId = Value
End Set
End Property

Public ReadOnly Property AdditionalRequi rement(ByVal name As String) As
ItemDetail
Get
Dim result As ItemDetail
For Each req As ItemDetail In MyBase.Addition alRequirements
If req.Name = name Then
result = req
Exit For
End If
Next
Return result
End Get
End Property
End Class

I'm attempting to pass data in from SQL instead:

Public Function GetSoftwareConf iguration(ByVal divisionId As Integer,
ByVal brandId As Integer, ByVal operationId As Integer, ByVal branchId As
Integer) As ArrayList
Dim methodPerf As New FNF.Services.Co mmon.PerfAutoTr ace
Dim result As ArrayList =
DBCommon.GetDat aArray(GetType( UserProvisionin gData.SoftwareR equirement),
DBCommon.Connec tionString("myD B"), "get_SoftwareCo nfig", New Object()
{divisionId, brandId, operationId, branchId})
methodPerf.Disp ose()
Return result
End Function

Public Shared Function GetDataArray(By Val returnType As Type, ByVal
connectionStrin g As String, ByVal storedProcName As String, Optional ByVal
params() As Object = Nothing) As Object
Dim reader As SqlDataReader
Dim result As New ArrayList

Try
reader = SqlHelper.Execu teReader(connec tionString,
storedProcName, params)

While (reader.Read)
Dim item As Object = returnType.Invo keMember("New",
Reflection.Bind ingFlags.Create Instance, Nothing, Nothing, New Object()
{reader})
result.Add(item )
End While
Catch ex As FNFException
Throw
Catch ex As Exception
Dim newEx As New FNFException("E rror getting data from
database", New Object() {connectionStri ng, storedProcName} , ex)
ExceptionManage r.Publish(newEx )
Throw newEx
Finally
If Not (reader Is Nothing) Then reader.Close()
End Try

Return result
End Function

Public Shared Function getFromSQLInste adOfWebConfigTe st() As Object
Dim data As UserProvisionin gData.DataReque st
Return data.GetSoftwar eConfiguration( 1, 1, 1, 1)
End Function

When I try to load the page I get an exception when calling my

Dim softReqView As Object =
SoftwareRequire mentsConfigSect ion.SoftwareReq uirements 'calling the
web.config & works great.
Dim softReqViewFrom SQL As Object =
SoftwareRequire mentsConfigSect ion.getFromSQLI nsteadOfWebConf igTest 'calling
sql and throws exception

Exception is:
Exception Type: System.NullRefe renceException
Message: Object reference not set to an instance of an object.

Any help would be appreciated.

Thanks,

Brent
Nov 19 '05 #1
4 1804
You cannot because the framework itself loads the config when the app domain
starts. You cannot load it from a different location.

The object returned by GetConfig is dependent on the configuration handler
that is parsing the web.config XML. The reason for GetConfig is that you
can have an arbitrary XML structure in the config file that gets processed
and wrapped by some handler. That is why GetConfig returns an Object type.

"brent" <br***@newsgrou p.nospam> wrote in message
news:u6******** ******@TK2MSFTN GP10.phx.gbl...
Currently our application is reading from the web.config, and retrieves a
section, "softwareRequir ements". Because the section will begin to grow
dramatically, I'd like to place it in the SQL database instead. I've
imported the values, and am retrieving them as FOR XML AUTO in the stored
proc to mimic the structure in the web.config. I'm confused now - what data type is being returned by
system.configur ation.configura tionsettings.ge tconfig()? It looks like it has to be an array or xml, but I'm not experienced enough at .NET to determine
how to best handle it. I would like to just provide a different data source and leave the rest of my code the same.

Current code to read web.config:

Public Shared Function SoftwareRequire ments() As
SoftwareRequire mentsView
Return
System.Configur ation.Configura tionSettings.Ge tConfig("softwa reRequirements" ) End Function

<Serializable() > _
Public Class SoftwareRequire mentView
Inherits UserProvisionin gData.SoftwareR equirement

Private _ctrlId As String

Public Sub New(ByVal name As String, ByVal value As String, ByVal prompt As String, ByVal availableTo As String)
MyBase.New(name , value, prompt, availableTo)
End Sub

Public Property ControlId() As String
Get
Return _ctrlId
End Get
Set(ByVal Value As String)
_ctrlId = Value
End Set
End Property

Public ReadOnly Property AdditionalRequi rement(ByVal name As String) As ItemDetail
Get
Dim result As ItemDetail
For Each req As ItemDetail In MyBase.Addition alRequirements
If req.Name = name Then
result = req
Exit For
End If
Next
Return result
End Get
End Property
End Class

I'm attempting to pass data in from SQL instead:

Public Function GetSoftwareConf iguration(ByVal divisionId As Integer,
ByVal brandId As Integer, ByVal operationId As Integer, ByVal branchId As
Integer) As ArrayList
Dim methodPerf As New FNF.Services.Co mmon.PerfAutoTr ace
Dim result As ArrayList =
DBCommon.GetDat aArray(GetType( UserProvisionin gData.SoftwareR equirement),
DBCommon.Connec tionString("myD B"), "get_SoftwareCo nfig", New Object()
{divisionId, brandId, operationId, branchId})
methodPerf.Disp ose()
Return result
End Function

Public Shared Function GetDataArray(By Val returnType As Type, ByVal
connectionStrin g As String, ByVal storedProcName As String, Optional ByVal
params() As Object = Nothing) As Object
Dim reader As SqlDataReader
Dim result As New ArrayList

Try
reader = SqlHelper.Execu teReader(connec tionString,
storedProcName, params)

While (reader.Read)
Dim item As Object = returnType.Invo keMember("New",
Reflection.Bind ingFlags.Create Instance, Nothing, Nothing, New Object()
{reader})
result.Add(item )
End While
Catch ex As FNFException
Throw
Catch ex As Exception
Dim newEx As New FNFException("E rror getting data from
database", New Object() {connectionStri ng, storedProcName} , ex)
ExceptionManage r.Publish(newEx )
Throw newEx
Finally
If Not (reader Is Nothing) Then reader.Close()
End Try

Return result
End Function

Public Shared Function getFromSQLInste adOfWebConfigTe st() As Object
Dim data As UserProvisionin gData.DataReque st
Return data.GetSoftwar eConfiguration( 1, 1, 1, 1)
End Function

When I try to load the page I get an exception when calling my

Dim softReqView As Object =
SoftwareRequire mentsConfigSect ion.SoftwareReq uirements 'calling the
web.config & works great.
Dim softReqViewFrom SQL As Object =
SoftwareRequire mentsConfigSect ion.getFromSQLI nsteadOfWebConf igTest 'calling sql and throws exception

Exception is:
Exception Type: System.NullRefe renceException
Message: Object reference not set to an instance of an object.

Any help would be appreciated.

Thanks,

Brent

Nov 19 '05 #2
Okay - now I know why it wasn't working! Thanks Peter.
"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
You cannot because the framework itself loads the config when the app
domain
starts. You cannot load it from a different location.

The object returned by GetConfig is dependent on the configuration handler
that is parsing the web.config XML. The reason for GetConfig is that you
can have an arbitrary XML structure in the config file that gets processed
and wrapped by some handler. That is why GetConfig returns an Object
type.

"brent" <br***@newsgrou p.nospam> wrote in message
news:u6******** ******@TK2MSFTN GP10.phx.gbl...
Currently our application is reading from the web.config, and retrieves a
section, "softwareRequir ements". Because the section will begin to grow
dramatically, I'd like to place it in the SQL database instead. I've
imported the values, and am retrieving them as FOR XML AUTO in the stored
proc to mimic the structure in the web.config. I'm confused now - what

data
type is being returned by
system.configur ation.configura tionsettings.ge tconfig()? It looks like it

has
to be an array or xml, but I'm not experienced enough at .NET to
determine
how to best handle it. I would like to just provide a different data

source
and leave the rest of my code the same.

Current code to read web.config:

Public Shared Function SoftwareRequire ments() As
SoftwareRequire mentsView
Return

System.Configur ation.Configura tionSettings.Ge tConfig("softwa reRequirements" )
End Function

<Serializable() > _
Public Class SoftwareRequire mentView
Inherits UserProvisionin gData.SoftwareR equirement

Private _ctrlId As String

Public Sub New(ByVal name As String, ByVal value As String, ByVal

prompt
As String, ByVal availableTo As String)
MyBase.New(name , value, prompt, availableTo)
End Sub

Public Property ControlId() As String
Get
Return _ctrlId
End Get
Set(ByVal Value As String)
_ctrlId = Value
End Set
End Property

Public ReadOnly Property AdditionalRequi rement(ByVal name As String)

As
ItemDetail
Get
Dim result As ItemDetail
For Each req As ItemDetail In MyBase.Addition alRequirements
If req.Name = name Then
result = req
Exit For
End If
Next
Return result
End Get
End Property
End Class

I'm attempting to pass data in from SQL instead:

Public Function GetSoftwareConf iguration(ByVal divisionId As Integer,
ByVal brandId As Integer, ByVal operationId As Integer, ByVal branchId As
Integer) As ArrayList
Dim methodPerf As New FNF.Services.Co mmon.PerfAutoTr ace
Dim result As ArrayList =
DBCommon.GetDat aArray(GetType( UserProvisionin gData.SoftwareR equirement),
DBCommon.Connec tionString("myD B"), "get_SoftwareCo nfig", New Object()
{divisionId, brandId, operationId, branchId})
methodPerf.Disp ose()
Return result
End Function

Public Shared Function GetDataArray(By Val returnType As Type, ByVal
connectionStrin g As String, ByVal storedProcName As String, Optional
ByVal
params() As Object = Nothing) As Object
Dim reader As SqlDataReader
Dim result As New ArrayList

Try
reader = SqlHelper.Execu teReader(connec tionString,
storedProcName, params)

While (reader.Read)
Dim item As Object = returnType.Invo keMember("New",
Reflection.Bind ingFlags.Create Instance, Nothing, Nothing, New Object()
{reader})
result.Add(item )
End While
Catch ex As FNFException
Throw
Catch ex As Exception
Dim newEx As New FNFException("E rror getting data from
database", New Object() {connectionStri ng, storedProcName} , ex)
ExceptionManage r.Publish(newEx )
Throw newEx
Finally
If Not (reader Is Nothing) Then reader.Close()
End Try

Return result
End Function

Public Shared Function getFromSQLInste adOfWebConfigTe st() As Object
Dim data As UserProvisionin gData.DataReque st
Return data.GetSoftwar eConfiguration( 1, 1, 1, 1)
End Function

When I try to load the page I get an exception when calling my

Dim softReqView As Object =
SoftwareRequire mentsConfigSect ion.SoftwareReq uirements 'calling the
web.config & works great.
Dim softReqViewFrom SQL As Object =
SoftwareRequire mentsConfigSect ion.getFromSQLI nsteadOfWebConf igTest

'calling
sql and throws exception

Exception is:
Exception Type: System.NullRefe renceException
Message: Object reference not set to an instance of an object.

Any help would be appreciated.

Thanks,

Brent


Nov 19 '05 #3
If you're reading a set of name=value pairs from a database, why does it
have to be XML? Create a table, put 2 columns in it, one for name, and one
for value. Pull the table, and use the records in it. No need for XML.

A configuration file is, by definition, an XML file. This is the way these
files were created. However, all they do is store data, just like a
database. An XML file is a good database, but unless you need to translate
the data into some form of cross-platform-compatible data source (like XML)
there's no need to use XML IN your database.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"brent" <br***@newsgrou p.nospam> wrote in message
news:u6******** ******@TK2MSFTN GP10.phx.gbl...
Currently our application is reading from the web.config, and retrieves a
section, "softwareRequir ements". Because the section will begin to grow
dramatically, I'd like to place it in the SQL database instead. I've
imported the values, and am retrieving them as FOR XML AUTO in the stored
proc to mimic the structure in the web.config. I'm confused now - what
data type is being returned by
system.configur ation.configura tionsettings.ge tconfig()? It looks like it
has to be an array or xml, but I'm not experienced enough at .NET to
determine how to best handle it. I would like to just provide a different
data source and leave the rest of my code the same.

Current code to read web.config:

Public Shared Function SoftwareRequire ments() As
SoftwareRequire mentsView
Return
System.Configur ation.Configura tionSettings.Ge tConfig("softwa reRequirements" )
End Function

<Serializable() > _
Public Class SoftwareRequire mentView
Inherits UserProvisionin gData.SoftwareR equirement

Private _ctrlId As String

Public Sub New(ByVal name As String, ByVal value As String, ByVal
prompt As String, ByVal availableTo As String)
MyBase.New(name , value, prompt, availableTo)
End Sub

Public Property ControlId() As String
Get
Return _ctrlId
End Get
Set(ByVal Value As String)
_ctrlId = Value
End Set
End Property

Public ReadOnly Property AdditionalRequi rement(ByVal name As String) As
ItemDetail
Get
Dim result As ItemDetail
For Each req As ItemDetail In MyBase.Addition alRequirements
If req.Name = name Then
result = req
Exit For
End If
Next
Return result
End Get
End Property
End Class

I'm attempting to pass data in from SQL instead:

Public Function GetSoftwareConf iguration(ByVal divisionId As Integer,
ByVal brandId As Integer, ByVal operationId As Integer, ByVal branchId As
Integer) As ArrayList
Dim methodPerf As New FNF.Services.Co mmon.PerfAutoTr ace
Dim result As ArrayList =
DBCommon.GetDat aArray(GetType( UserProvisionin gData.SoftwareR equirement),
DBCommon.Connec tionString("myD B"), "get_SoftwareCo nfig", New Object()
{divisionId, brandId, operationId, branchId})
methodPerf.Disp ose()
Return result
End Function

Public Shared Function GetDataArray(By Val returnType As Type, ByVal
connectionStrin g As String, ByVal storedProcName As String, Optional ByVal
params() As Object = Nothing) As Object
Dim reader As SqlDataReader
Dim result As New ArrayList

Try
reader = SqlHelper.Execu teReader(connec tionString,
storedProcName, params)

While (reader.Read)
Dim item As Object = returnType.Invo keMember("New",
Reflection.Bind ingFlags.Create Instance, Nothing, Nothing, New Object()
{reader})
result.Add(item )
End While
Catch ex As FNFException
Throw
Catch ex As Exception
Dim newEx As New FNFException("E rror getting data from
database", New Object() {connectionStri ng, storedProcName} , ex)
ExceptionManage r.Publish(newEx )
Throw newEx
Finally
If Not (reader Is Nothing) Then reader.Close()
End Try

Return result
End Function

Public Shared Function getFromSQLInste adOfWebConfigTe st() As Object
Dim data As UserProvisionin gData.DataReque st
Return data.GetSoftwar eConfiguration( 1, 1, 1, 1)
End Function

When I try to load the page I get an exception when calling my

Dim softReqView As Object =
SoftwareRequire mentsConfigSect ion.SoftwareReq uirements 'calling the
web.config & works great.
Dim softReqViewFrom SQL As Object =
SoftwareRequire mentsConfigSect ion.getFromSQLI nsteadOfWebConf igTest
'calling sql and throws exception

Exception is:
Exception Type: System.NullRefe renceException
Message: Object reference not set to an instance of an object.

Any help would be appreciated.

Thanks,

Brent

Nov 19 '05 #4
It does. Thanks, Kevin.

"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:eg******** ******@TK2MSFTN GP14.phx.gbl...
If you're reading a set of name=value pairs from a database, why does it
have to be XML? Create a table, put 2 columns in it, one for name, and one
for value. Pull the table, and use the records in it. No need for XML.

A configuration file is, by definition, an XML file. This is the way these
files were created. However, all they do is store data, just like a
database. An XML file is a good database, but unless you need to translate
the data into some form of cross-platform-compatible data source (like
XML) there's no need to use XML IN your database.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.

"brent" <br***@newsgrou p.nospam> wrote in message
news:u6******** ******@TK2MSFTN GP10.phx.gbl...
Currently our application is reading from the web.config, and retrieves a
section, "softwareRequir ements". Because the section will begin to grow
dramatically, I'd like to place it in the SQL database instead. I've
imported the values, and am retrieving them as FOR XML AUTO in the stored
proc to mimic the structure in the web.config. I'm confused now - what
data type is being returned by
system.configur ation.configura tionsettings.ge tconfig()? It looks like it
has to be an array or xml, but I'm not experienced enough at .NET to
determine how to best handle it. I would like to just provide a
different data source and leave the rest of my code the same.

Current code to read web.config:

Public Shared Function SoftwareRequire ments() As
SoftwareRequire mentsView
Return
System.Configur ation.Configura tionSettings.Ge tConfig("softwa reRequirements" )
End Function

<Serializable() > _
Public Class SoftwareRequire mentView
Inherits UserProvisionin gData.SoftwareR equirement

Private _ctrlId As String

Public Sub New(ByVal name As String, ByVal value As String, ByVal
prompt As String, ByVal availableTo As String)
MyBase.New(name , value, prompt, availableTo)
End Sub

Public Property ControlId() As String
Get
Return _ctrlId
End Get
Set(ByVal Value As String)
_ctrlId = Value
End Set
End Property

Public ReadOnly Property AdditionalRequi rement(ByVal name As String)
As ItemDetail
Get
Dim result As ItemDetail
For Each req As ItemDetail In MyBase.Addition alRequirements
If req.Name = name Then
result = req
Exit For
End If
Next
Return result
End Get
End Property
End Class

I'm attempting to pass data in from SQL instead:

Public Function GetSoftwareConf iguration(ByVal divisionId As Integer,
ByVal brandId As Integer, ByVal operationId As Integer, ByVal branchId As
Integer) As ArrayList
Dim methodPerf As New FNF.Services.Co mmon.PerfAutoTr ace
Dim result As ArrayList =
DBCommon.GetDat aArray(GetType( UserProvisionin gData.SoftwareR equirement),
DBCommon.Connec tionString("myD B"), "get_SoftwareCo nfig", New Object()
{divisionId, brandId, operationId, branchId})
methodPerf.Disp ose()
Return result
End Function

Public Shared Function GetDataArray(By Val returnType As Type, ByVal
connectionStrin g As String, ByVal storedProcName As String, Optional
ByVal params() As Object = Nothing) As Object
Dim reader As SqlDataReader
Dim result As New ArrayList

Try
reader = SqlHelper.Execu teReader(connec tionString,
storedProcName, params)

While (reader.Read)
Dim item As Object = returnType.Invo keMember("New",
Reflection.Bind ingFlags.Create Instance, Nothing, Nothing, New Object()
{reader})
result.Add(item )
End While
Catch ex As FNFException
Throw
Catch ex As Exception
Dim newEx As New FNFException("E rror getting data from
database", New Object() {connectionStri ng, storedProcName} , ex)
ExceptionManage r.Publish(newEx )
Throw newEx
Finally
If Not (reader Is Nothing) Then reader.Close()
End Try

Return result
End Function

Public Shared Function getFromSQLInste adOfWebConfigTe st() As Object
Dim data As UserProvisionin gData.DataReque st
Return data.GetSoftwar eConfiguration( 1, 1, 1, 1)
End Function

When I try to load the page I get an exception when calling my

Dim softReqView As Object =
SoftwareRequire mentsConfigSect ion.SoftwareReq uirements 'calling the
web.config & works great.
Dim softReqViewFrom SQL As Object =
SoftwareRequire mentsConfigSect ion.getFromSQLI nsteadOfWebConf igTest
'calling sql and throws exception

Exception is:
Exception Type: System.NullRefe renceException
Message: Object reference not set to an instance of an object.

Any help would be appreciated.

Thanks,

Brent


Nov 19 '05 #5

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

Similar topics

3
12110
by: Silvio Lopes de Oliveira | last post by:
Hello, I have a C++ / MFC app which uses CDatabase and CRecordset to connect to a ODBC data source for a SQL Server 7 database. The application worked properly with a MySQL database, but after swapping it for SQL Server problems emerged. In particular, any calls to CRecordset::AddNew() and CRecordset::Edit() cause an exception to be thrown with the error message "Recordset is read-only". Stepping through the code for CRecordset::Open(),...
4
447
by: Programmer | last post by:
Hi everyone Well here is my problem I hope you can help me
1
4623
by: Dan Noel | last post by:
I see many rich classes in System.Configuration, but all of these classes are read-only. While I have many rich classes for extracting information from a config while, I am reduced to the most primitive XML classes when writing data to an config file. Is there a technical reason why System.Confuration does not contain read/write methods. Is the framework trying to protect me from myself?Why
7
3343
by: Bob | last post by:
It's great that VS.NET makes it so effortless to add a web reference to a web service. The problem is, I haven't figured out a way to configure the URLs (or simply switch the references to another web reference) easily when I move my app from development, to staging, to production, as I have corresponding environments for the web services too. So far what I have done is copying the Reference.cs file out and creating a separate class by...
4
2095
by: Miro | last post by:
Hello! I have an ASP.NET application which needs to read some data from an Access database on Novell. I've found an article on Microsoft and did the following: I've created an account on Novell (IUSR_Machinename) which is the same account that the aspx is using. This account has full rights to the database and the folder (on Novell). I've mapped the folder in explorer but when I try to access the database from ASP.NET I get these...
4
1884
by: Steve Enzer | last post by:
I need to use a configuration file to set the connection string for the ado data connector in my project, but I'm having trouble reading the config file. My config file contains the following: <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="ConnectionString" value="server=localhost;user id=root;password=pw;database=aceinventory;pooling=false"/>
5
2289
by: Sridhar | last post by:
Hi, I have created a project which contains classes to read the data from the database. This project has an App.Config file which contains the SqlConnection String. when this code is called from a web application and if I need to read the connection string it is reading the connection string from the web.config of web application. I am not knowing how to change the Application domain so that it reads the App.config file instead of...
4
2308
by: klynn | last post by:
Hi: I'm having problems reading a Microsoft Access file from my ASP.Net app on a Windows Server 2003 machine. The error message: The Microsoft database engine cannot open the file, <my_file>. It is already opened exclusively by another user, or you need permission to view its data. I've read some info about this (microsoft support article q316675) but I'm still confused on what to do?
3
2938
by: josh.kuo | last post by:
Sorry about the subject, I can't think of a better one. I recently wrote some PHP classes that I think might be of interest to this group. Since I have been reaping the benefits of reading news groups for years, I figure it's time for me to contribute a little bit back, maybe some people out there will find this useful. * Introduction This is a "how-to" style article, showing by example how to dynamically
0
9172
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...
1
8908
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
8880
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
7745
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...
0
5869
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
4374
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
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.