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

Home Posts Topics Members FAQ

Help with Adding A Row

Im a VB Newbie so I hope I'm going about this in the right direction.

I have a simple DB that has 1 Table called DBVersion and in that table the
column is CurVersion ( String )

Im trying to connect to the db, and then add a record to the DBVersion
table.
Except I cant.
I have 1 line that crashes and if i rem it out it works but nothing gets
added.
Can someone have a peek to let me know what im missing or doing wrong.

Thanks,

Miro

====Code
Imports System.Data
Imports System.Data.Ole Db

Sub AddInitialRecor ds()
'Create Connection String
Dim myConnectionStr ing As String =
"Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & _
SystemFileDB & FileDBExtention

'Create the Connection
Dim myConnection As New OleDbConnection () '= New OleDbConnection ()
' ADODB.Connectio n()
MyConnection.Co nnectionString = myConnectionStr ing

myConnection.Op en()

'Whats the difference ? - Im assuming nothing for now
'Dim myDataAdapter As OleDbDataAdapte r = New
OleDbDataAdapte r("Select * From DBVersion", MyConnection)
'Create the Data Adapter
Dim myDataAdapter As New OleDbDataAdapte r("Select * From DBVersion",
MyConnection)

'Creates a Dataset Object and Fills with Data
'Create new Dataset
Dim myDataSet As New DataSet()

'Fill The Dataset
myDataAdapter.F ill(myDataSet, "DBVersion" )

'Now lets try to write a record into one field of this Table.
Dim NewVersionRow As DataRow = myDataSet.Table s("DBVersion"). NewRow
NewVersionRow(" CurVersion") = "2.00"
myDataSet.Table s("DBVersion"). Rows.Add(NewVer sionRow)

'Crashes but because its remmed out it may be why i dont actually add a
datarow.
'myDataAdapter. Update(myDataSe t, "DBVersion" )

myDataSet.Table s("DBVersion"). AcceptChanges()

myConnection.Cl ose()

End Sub
Sep 4 '06 #1
7 1780
If you *just* want to add a single row to the database, you're working
wayyyy too hard. Try something like this:

Dim myConnectionStr ing As String = _
"Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & _
SystemFileDB & FileDBExtension
Dim myConnection As New OleDbConnection (myConnectionSt ring)
myConnection.Op en()
Dim myCommand As New OleDbCommand("I NSERT INTO DBVersion (CurVersion) VALUES
(?)", myConnection)
myCommand.Param eters.Add("Para m1", OleDbType.VarCh ar, 50).Value = "2.00"
myCommand.Execu teNonQuery()
myCommand.Dispo se()
myConnection.Cl ose()
Sep 5 '06 #2
Yes, that did work perfectly.

Im just trying to figure out what you did here.

What does the Values (?) mean ?

and also, what was I doing wrong? ( If i was on the right rack - what would
I be creating this sub for ? )

Or better yet, where can I go / what can I google to find examples like
this. ( If you know of any )

-Thanks for the spelling error - FileDBExtension as I had it Extention.
ahha I did laugh when I seen that.
I wrote the code and then copied the variable all over the place.

Im sure its a lot easier to do it by "Form" and bind all the tables to
fields on teh form ( i hope ) but Im trying to
figure out how to do it by a function all inbehind the scenes.

Thanks,

Miro

"Mike C#" <xy*@xyz.comwro te in message
news:vN******** ******@newsfe10 .lga...
If you *just* want to add a single row to the database, you're working
wayyyy too hard. Try something like this:

Dim myConnectionStr ing As String = _
"Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & _
SystemFileDB & FileDBExtension
Dim myConnection As New OleDbConnection (myConnectionSt ring)
myConnection.Op en()
Dim myCommand As New OleDbCommand("I NSERT INTO DBVersion (CurVersion)
VALUES (?)", myConnection)
myCommand.Param eters.Add("Para m1", OleDbType.VarCh ar, 50).Value = "2.00"
myCommand.Execu teNonQuery()
myCommand.Dispo se()
myConnection.Cl ose()


Sep 5 '06 #3

"Miro" <mi******@golde n.netwrote in message
news:u8******** ******@TK2MSFTN GP06.phx.gbl...
Yes, that did work perfectly.

Im just trying to figure out what you did here.

What does the Values (?) mean ?
You'll notice that the text:

INSERT INTO DBVersion (CurVersion) VALUES (?)

is in quotes. It's a parameterized SQL statement that tells Access to
insert a row into the table DBVersion and set the value of the CurVersion
column to the parameterized value (?). The ? is replaced in the statement
with the parameter that is added with the line:

myCommand.Param eters.Add("Para m1", OleDbType.VarCh ar, 50).Value = "2.00"

So it's just a SQL statement, and the ? is a placeholder for the parameter
(the value to insert in this case).
and also, what was I doing wrong? ( If i was on the right rack - what
would I be creating this sub for ? )
The route you were taking was to load a DataAdapter first. This basically
uses a dataset to read the data from the table and allow you to manipulate
it in a disconnected fashion. You could make that option work, but unless
you're planning on manipulating existing data and allowing a lot of
disconnected editing/adding/deleting on the table, it's overkill.

For what you want, a simple INSERT of one row into an existing table, the
DataAdapters and DataSets aren't necessary. If you do want to use
DataAdapters and DataSets, it might be best to try adding them to a form to
see the code that's generated. When using the DataAdapter, you have to set
the InsertCommand if you want to insert new rows, and the
UpdateCommand/DeleteCommand properties to update/delete rows.
Or better yet, where can I go / what can I google to find examples like
this. ( If you know of any )
http://www.thecodeproject.com has lots of examples. Mostly I work with SQL
Server (not Access), but a lot of the basic concepts are the same. You
might try googling combinations of "OleDb", ".NET", "DataAdapte r", "Access",
"DataSets", "sample code", "VB.NET", "InsertCommand" .
-Thanks for the spelling error - FileDBExtension as I had it Extention.
ahha I did laugh when I seen that.
I wrote the code and then copied the variable all over the place.
No prob :) I assumed it was a typo or a non-American English spelling :)
Im sure its a lot easier to do it by "Form" and bind all the tables to
fields on teh form ( i hope ) but Im trying to
figure out how to do it by a function all inbehind the scenes.
Binding it by form is a great way to learn how to use it, since it generates
a lot of code for you automatically. Just bind to the forms and look at the
code generated to get ideas on how it does what it does.
"Mike C#" <xy*@xyz.comwro te in message
news:vN******** ******@newsfe10 .lga...
>If you *just* want to add a single row to the database, you're working
wayyyy too hard. Try something like this:

Dim myConnectionStr ing As String = _
"Provider=Micr osoft.Jet.OLEDB .4.0;Data Source=" & _
SystemFileDB & FileDBExtension
Dim myConnection As New OleDbConnection (myConnectionSt ring)
myConnection.O pen()
Dim myCommand As New OleDbCommand("I NSERT INTO DBVersion (CurVersion)
VALUES (?)", myConnection)
myCommand.Para meters.Add("Par am1", OleDbType.VarCh ar, 50).Value = "2.00"
myCommand.Exec uteNonQuery()
myCommand.Disp ose()
myConnection.C lose()



Sep 5 '06 #4
Thanks Mike,

I will give that a try.

I never thought to consider to make a dummy form and look at the generated
code.

Miro

"Mike C#" <xy*@xyz.comwro te in message
news:zW******** *******@newsfe1 2.lga...
>
"Miro" <mi******@golde n.netwrote in message
news:u8******** ******@TK2MSFTN GP06.phx.gbl...
>Yes, that did work perfectly.

Im just trying to figure out what you did here.

What does the Values (?) mean ?

You'll notice that the text:

INSERT INTO DBVersion (CurVersion) VALUES (?)

is in quotes. It's a parameterized SQL statement that tells Access to
insert a row into the table DBVersion and set the value of the CurVersion
column to the parameterized value (?). The ? is replaced in the statement
with the parameter that is added with the line:

myCommand.Param eters.Add("Para m1", OleDbType.VarCh ar, 50).Value = "2.00"

So it's just a SQL statement, and the ? is a placeholder for the parameter
(the value to insert in this case).
>and also, what was I doing wrong? ( If i was on the right rack - what
would I be creating this sub for ? )

The route you were taking was to load a DataAdapter first. This basically
uses a dataset to read the data from the table and allow you to manipulate
it in a disconnected fashion. You could make that option work, but unless
you're planning on manipulating existing data and allowing a lot of
disconnected editing/adding/deleting on the table, it's overkill.

For what you want, a simple INSERT of one row into an existing table, the
DataAdapters and DataSets aren't necessary. If you do want to use
DataAdapters and DataSets, it might be best to try adding them to a form
to see the code that's generated. When using the DataAdapter, you have to
set the InsertCommand if you want to insert new rows, and the
UpdateCommand/DeleteCommand properties to update/delete rows.
>Or better yet, where can I go / what can I google to find examples like
this. ( If you know of any )

http://www.thecodeproject.com has lots of examples. Mostly I work with
SQL Server (not Access), but a lot of the basic concepts are the same.
You might try googling combinations of "OleDb", ".NET", "DataAdapte r",
"Access", "DataSets", "sample code", "VB.NET", "InsertCommand" .
>-Thanks for the spelling error - FileDBExtension as I had it Extention.
ahha I did laugh when I seen that.
I wrote the code and then copied the variable all over the place.

No prob :) I assumed it was a typo or a non-American English spelling :)
>Im sure its a lot easier to do it by "Form" and bind all the tables to
fields on teh form ( i hope ) but Im trying to
figure out how to do it by a function all inbehind the scenes.

Binding it by form is a great way to learn how to use it, since it
generates a lot of code for you automatically. Just bind to the forms and
look at the code generated to get ideas on how it does what it does.
>"Mike C#" <xy*@xyz.comwro te in message
news:vN******* *******@newsfe1 0.lga...
>>If you *just* want to add a single row to the database, you're working
wayyyy too hard. Try something like this:

Dim myConnectionStr ing As String = _
"Provider=Mic rosoft.Jet.OLED B.4.0;Data Source=" & _
SystemFileD B & FileDBExtension
Dim myConnection As New OleDbConnection (myConnectionSt ring)
myConnection. Open()
Dim myCommand As New OleDbCommand("I NSERT INTO DBVersion (CurVersion)
VALUES (?)", myConnection)
myCommand.Par ameters.Add("Pa ram1", OleDbType.VarCh ar, 50).Value = "2.00"
myCommand.Exe cuteNonQuery()
myCommand.Dis pose()
myConnection. Close()




Sep 5 '06 #5
For us newbies who are learning on how to add a row and are wonding why my
first example wasnt working...
here it is.

Thanks for all your help Mike C#.
( I couldnt put it down till i figured it out ) :-)

Sub AddInitialRecor ds()
''''Add a quick Record thru SQL - works
''''Dim myConnectionStr ing As String = _
''''"Provider=M icrosoft.Jet.OL EDB.4.0;Data Source=" & _
''''SystemFileD B & FileDBExtension
''''Dim myConnection As New OleDbConnection (myConnectionSt ring)
''''myConnectio n.Open()
''''Dim myCommand As New OleDbCommand("I NSERT INTO DBVersion
(CurVersion) VALUES (?)", _
'''' myConnection)
''''myCommand.P arameters.Add(" Param1", OleDbType.VarCh ar, 50).Value
= "2.00"
''''myCommand.E xecuteNonQuery( )
''''myCommand.D ispose()
''''myConnectio n.Close()

'Add a record the long way thru normal statements. - works
Dim cnADONetConnect ion As New OleDb.OleDbConn ection()
Dim myConnectionStr ing As String = _
"Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & _
SystemFileDB & FileDBExtension
cnADONetConnect ion.ConnectionS tring = myConnectionStr ing

cnADONetConnect ion.Open()

Dim daDataAdapter As New OleDb.OleDbData Adapter()
daDataAdapter = _
New OleDb.OleDbData Adapter("Select * From DBVersion",
cnADONetConnect ion)
Dim cbCommandBuilde r As OleDb.OleDbComm andBuilder

cbCommandBuilde r = New OleDb.OleDbComm andBuilder(daDa taAdapter)

Dim dtVersion As New DataTable()
Dim dtRowPosition As Integer = 0
'Fill with data
daDataAdapter.F ill(dtVersion)

Dim NoOfRecs As Integer = 0
'Go to first row
Dim rwVersion As DataRow '= dtVersion.Rows( 0)
NoOfRecs = dtVersion.Rows. Count()

If NoOfRecs = 0 Then
MsgBox("no recs")
rwVersion = dtVersion.NewRo w()

rwVersion("CurV ersion") = "3.33"

dtVersion.Rows. Add(rwVersion)
daDataAdapter.U pdate(dtVersion )

Debug.WriteLine ("added record - " +
dtVersion.Rows( dtVersion.Rows. Count - 1)("CurVersion" ).ToString)

Else
MsgBox("there are recs")
rwVersion = dtVersion.Rows( 0)
Debug.WriteLine ("read record - " + _
rwVersion("CurV ersion").GetTyp e.ToString)

'dtVersion.Rows (dtVersion.Rows .Count -
1)("CurVersion" ).ToString)
End If

'Dim blastring As String = dtVersion.Rows( 0)("CurVersion" ).ToString
Debug.WriteLine ("Done debuging")
cnADONetConnect ion.Close()

End Sub
Sep 14 '06 #6
Very nice. The second method is very useful when you are doing
"disconnect ed" data updates. Just one thing (I left it off of my example
also), but don't forget to put Try...Catch exception handling around all
code that accesses the database :)

"Miro" <mi******@golde n.netwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
For us newbies who are learning on how to add a row and are wonding why my
first example wasnt working...
here it is.

Thanks for all your help Mike C#.
( I couldnt put it down till i figured it out ) :-)

Sub AddInitialRecor ds()
''''Add a quick Record thru SQL - works
''''Dim myConnectionStr ing As String = _
''''"Provider=M icrosoft.Jet.OL EDB.4.0;Data Source=" & _
''''SystemFileD B & FileDBExtension
''''Dim myConnection As New OleDbConnection (myConnectionSt ring)
''''myConnectio n.Open()
''''Dim myCommand As New OleDbCommand("I NSERT INTO DBVersion
(CurVersion) VALUES (?)", _
'''' myConnection)
''''myCommand.P arameters.Add(" Param1", OleDbType.VarCh ar, 50).Value
= "2.00"
''''myCommand.E xecuteNonQuery( )
''''myCommand.D ispose()
''''myConnectio n.Close()

'Add a record the long way thru normal statements. - works
Dim cnADONetConnect ion As New OleDb.OleDbConn ection()
Dim myConnectionStr ing As String = _
"Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & _
SystemFileDB & FileDBExtension
cnADONetConnect ion.ConnectionS tring = myConnectionStr ing

cnADONetConnect ion.Open()

Dim daDataAdapter As New OleDb.OleDbData Adapter()
daDataAdapter = _
New OleDb.OleDbData Adapter("Select * From DBVersion",
cnADONetConnect ion)
Dim cbCommandBuilde r As OleDb.OleDbComm andBuilder

cbCommandBuilde r = New OleDb.OleDbComm andBuilder(daDa taAdapter)

Dim dtVersion As New DataTable()
Dim dtRowPosition As Integer = 0
'Fill with data
daDataAdapter.F ill(dtVersion)

Dim NoOfRecs As Integer = 0
'Go to first row
Dim rwVersion As DataRow '= dtVersion.Rows( 0)
NoOfRecs = dtVersion.Rows. Count()

If NoOfRecs = 0 Then
MsgBox("no recs")
rwVersion = dtVersion.NewRo w()

rwVersion("CurV ersion") = "3.33"

dtVersion.Rows. Add(rwVersion)
daDataAdapter.U pdate(dtVersion )

Debug.WriteLine ("added record - " +
dtVersion.Rows( dtVersion.Rows. Count - 1)("CurVersion" ).ToString)

Else
MsgBox("there are recs")
rwVersion = dtVersion.Rows( 0)
Debug.WriteLine ("read record - " + _
rwVersion("CurV ersion").GetTyp e.ToString)

'dtVersion.Rows (dtVersion.Rows .Count -
1)("CurVersion" ).ToString)
End If

'Dim blastring As String = dtVersion.Rows( 0)("CurVersion" ).ToString
Debug.WriteLine ("Done debuging")
cnADONetConnect ion.Close()

End Sub

Sep 20 '06 #7
I never thought to put one around there.
I suppose if the mdb file doesnt exist at this point the Open() will error
out.

Thanks

Miro

"Mike C#" <xy*@xyz.comwro te in message
news:d8******** *****@newsfe10. lga...
Very nice. The second method is very useful when you are doing
"disconnect ed" data updates. Just one thing (I left it off of my example
also), but don't forget to put Try...Catch exception handling around all
code that accesses the database :)

"Miro" <mi******@golde n.netwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
>For us newbies who are learning on how to add a row and are wonding why
my first example wasnt working...
here it is.

Thanks for all your help Mike C#.
( I couldnt put it down till i figured it out ) :-)

Sub AddInitialRecor ds()
''''Add a quick Record thru SQL - works
''''Dim myConnectionStr ing As String = _
''''"Provider=M icrosoft.Jet.OL EDB.4.0;Data Source=" & _
''''SystemFileD B & FileDBExtension
''''Dim myConnection As New OleDbConnection (myConnectionSt ring)
''''myConnectio n.Open()
''''Dim myCommand As New OleDbCommand("I NSERT INTO DBVersion
(CurVersion) VALUES (?)", _
'''' myConnection)
''''myCommand.P arameters.Add(" Param1", OleDbType.VarCh ar,
50).Value = "2.00"
''''myCommand.E xecuteNonQuery( )
''''myCommand.D ispose()
''''myConnectio n.Close()

'Add a record the long way thru normal statements. - works
Dim cnADONetConnect ion As New OleDb.OleDbConn ection()
Dim myConnectionStr ing As String = _
"Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & _
SystemFileDB & FileDBExtension
cnADONetConnect ion.ConnectionS tring = myConnectionStr ing

cnADONetConnect ion.Open()

Dim daDataAdapter As New OleDb.OleDbData Adapter()
daDataAdapter = _
New OleDb.OleDbData Adapter("Select * From DBVersion",
cnADONetConnec tion)
Dim cbCommandBuilde r As OleDb.OleDbComm andBuilder

cbCommandBuilde r = New OleDb.OleDbComm andBuilder(daDa taAdapter)

Dim dtVersion As New DataTable()
Dim dtRowPosition As Integer = 0
'Fill with data
daDataAdapter.F ill(dtVersion)

Dim NoOfRecs As Integer = 0
'Go to first row
Dim rwVersion As DataRow '= dtVersion.Rows( 0)
NoOfRecs = dtVersion.Rows. Count()

If NoOfRecs = 0 Then
MsgBox("no recs")
rwVersion = dtVersion.NewRo w()

rwVersion("CurV ersion") = "3.33"

dtVersion.Rows. Add(rwVersion)
daDataAdapter.U pdate(dtVersion )

Debug.WriteLine ("added record - " +
dtVersion.Rows (dtVersion.Rows .Count - 1)("CurVersion" ).ToString)

Else
MsgBox("there are recs")
rwVersion = dtVersion.Rows( 0)
Debug.WriteLine ("read record - " + _
rwVersion("CurV ersion").GetTyp e.ToString)

'dtVersion.Rows (dtVersion.Rows .Count -
1)("CurVersion ").ToString )
End If

'Dim blastring As String =
dtVersion.Rows (0)("CurVersion ").ToString
Debug.WriteLine ("Done debuging")
cnADONetConnect ion.Close()

End Sub


Sep 20 '06 #8

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

Similar topics

21
6527
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help Workshop program: hcw.exe that's included with Visual Basic. This exact same file compiled perfectly with no notes, warnings or errors prior to reformatting my system. Prior to the reformatting, I copied the help.rtf file onto a CD and checked the box to...
0
3431
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed Pentagjetvedeh karuvificials madhla reachathe strategy in karkun campaign deshatinst terrorism. "mudivae maretu winning or losing karkun global varti jetvedeh terror?" Mr. Rumsfeld adugued in a recent memormariyuum. vede velli jetvedeh madhla...
7
2507
by: Ted | last post by:
I've written a little function to remove everything after the 2nd decimal place for prices which is as follows: - ReturnConvertedCurrency = (fix(iSterling * session("ExchangeRate") * 100) / 100) However, it sometimes returns incorrect values. i.e. Why does the following: - response.write(FormatNumber((fix(2.30 * 1 * 100) / 100) , 2))
3
1585
by: Mike | last post by:
Hey guys I am pulling my hair out on this problem!!!!! Any help or ideas or comments on how to make this work I would be grateful! I have been working on this for the past 4 days and nothing I do seems to get me any closer to the solution. Below is a program that I am working on for a class project. The original code was provided for us which is what I have below. What we have to do is make the app run so that it allows the user to add...
28
3293
by: stu_gots | last post by:
I have been losing sleep over this puzzle, and I'm convinced my train of thought is heading in the wrong direction. It is difficult to explain my circumstances, so I will present an identical make-believe challenge in order to avoid confusing the issue further. Suppose I was hosting a dinner and I wanted to invite exactly 12 guests from my neighborhood. I'm really picky about that... I have 12 chairs besides my own, and I want them all...
5
3480
by: Benne Smith | last post by:
Hi, I have three enviroments; a development, a testing and a production enviroment. I'm making a big application (.exe), which uses alot of different webservices. I don't use the webservices by adding a WebReference, since it does not allow me to keep state (cookiecontainer) or to specify functions on the classes (like if i want to override the ToString() function on a class from my webservice). So the only way i can see how i can get...
1
1376
by: Simon Harvey | last post by:
Hi, I'm hoping someone can help me witht he following problem: I have a fairly simple page that has a sort form and a button for adding the forms details to an arraylist. When the button is pressed, the information from the form needs to be added to a list in the bottom half of the page.
1
2026
by: seanmayhew | last post by:
I have a form page that that while editing saves the data to an xml doc before submitting to db. On each page unload it saves the xmldoc as the user can add multiple items to the company like product types etc. So for instance Im adding a fruit company while adding a fruit company I allow the user to add types of fruit they carry and display it dynamically using an <asp:table> with image
4
2425
by: Tarun Mistry | last post by:
Hi all, I have posted this in both the c# and asp.net groups as it applies to both (apologies if it breaks some group rules). I am making a web app in asp.net using c#. This is the first fully OO application I will be making, also my first .NET application, so im looking for any help and guidance. Ok, my problems are todo with object and database abstraction, what should i do.
1
3703
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am attach this script files and inq files. I cant understand this error. Please suggest me. You can talk with my yahoo id b_sahoo1@yahoo.com. Now i am online. Plz....Plz..Plz...
0
8705
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
8364
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
8504
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
7193
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
5574
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
4197
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2625
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
1
1808
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.