473,799 Members | 3,329 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Spot the error (ie I can't)

Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter
the Start of the Holiday")

If (Not fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) Then

While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)

MsgBox("The date you have entered does not occur between the
shifts specified on that day.")

fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the
Start of the Holiday")

If IsNothing(fromd ate) Then

Exit While

End If

End While

End if

My dialog just gets a date time. It returns nothing for a failure.

I tried making the if statement " if not IsNothing(fromD ate) then" and this
still ran, so I tried the godawful combination that I have now.

Now I have checked in the debugger, the statement "(Not
fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) " is false. This
means that the if statement shouldn't run.

HOWEVER the statement ALWAYS enters the if statement block. Before you ask,
I have written an else statement and NOT clicked cancel and this results in
the statement returning true, and THEN entering the if block (not the else
block). Its as if its discarding the if statement and just entering anyway.

For the life of me I cannot spot this error, and I'm on the managed MSDN so
I'd really appreciate some help here from MVP/MSFT.

Cheers.
Jan 11 '07 #1
8 1136
More info.

I disabled Compiler optomizations (just in case it was optimizing the if
statement to permanently true) and this still results in the exact same
behaviour.
"Steven Spencer (Spinalogic)" <Sp************ ***@newsgroup.n ospamwrote in
message news:OZ******** ******@TK2MSFTN GP03.phx.gbl...
Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter
the Start of the Holiday")

If (Not fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) Then

While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)

MsgBox("The date you have entered does not occur between the
shifts specified on that day.")

fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the
Start of the Holiday")

If IsNothing(fromd ate) Then

Exit While

End If

End While

End if

My dialog just gets a date time. It returns nothing for a failure.

I tried making the if statement " if not IsNothing(fromD ate) then" and
this still ran, so I tried the godawful combination that I have now.

Now I have checked in the debugger, the statement "(Not
fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) " is false.
This means that the if statement shouldn't run.

HOWEVER the statement ALWAYS enters the if statement block. Before you
ask, I have written an else statement and NOT clicked cancel and this
results in the statement returning true, and THEN entering the if block
(not the else block). Its as if its discarding the if statement and just
entering anyway.

For the life of me I cannot spot this error, and I'm on the managed MSDN
so I'd really appreciate some help here from MVP/MSFT.

Cheers.


Jan 11 '07 #2
VB.net
..net 1.1 SP1

That may be helpful/neccessary.
"Steven Spencer (Spinalogic)" <Sp************ ***@newsgroup.n ospamwrote in
message news:OZ******** ******@TK2MSFTN GP03.phx.gbl...
Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter
the Start of the Holiday")

If (Not fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) Then

While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)

MsgBox("The date you have entered does not occur between the
shifts specified on that day.")

fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the
Start of the Holiday")

If IsNothing(fromd ate) Then

Exit While

End If

End While

End if

My dialog just gets a date time. It returns nothing for a failure.

I tried making the if statement " if not IsNothing(fromD ate) then" and
this still ran, so I tried the godawful combination that I have now.

Now I have checked in the debugger, the statement "(Not
fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) " is false.
This means that the if statement shouldn't run.

HOWEVER the statement ALWAYS enters the if statement block. Before you
ask, I have written an else statement and NOT clicked cancel and this
results in the statement returning true, and THEN entering the if block
(not the else block). Its as if its discarding the if statement and just
entering anyway.

For the life of me I cannot spot this error, and I'm on the managed MSDN
so I'd really appreciate some help here from MVP/MSFT.

Cheers.


Jan 11 '07 #3
If todate.CompareT o(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0 Then Exit Sub

I've tried this line, verified in the debugger that todate.CompareT o(New
DateTime(1, 1, 1, 1, 1, 1, 1)) = 0 is true, yet this does not execute exit
sub

when it's false, it still doesn't run the exit sub (correctly) but there
isn't an inversion happening.

"Steven Spencer (Spinalogic)" <Sp************ ***@newsgroup.n ospamwrote in
message news:%2******** *******@TK2MSFT NGP06.phx.gbl.. .
VB.net
.net 1.1 SP1

That may be helpful/neccessary.
"Steven Spencer (Spinalogic)" <Sp************ ***@newsgroup.n ospamwrote
in message news:OZ******** ******@TK2MSFTN GP03.phx.gbl...
>Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please
Enter the Start of the Holiday")

If (Not fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) Then

While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)

MsgBox("The date you have entered does not occur between the
shifts specified on that day.")

fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the
Start of the Holiday")

If IsNothing(fromd ate) Then

Exit While

End If

End While

End if

My dialog just gets a date time. It returns nothing for a failure.

I tried making the if statement " if not IsNothing(fromD ate) then" and
this still ran, so I tried the godawful combination that I have now.

Now I have checked in the debugger, the statement "(Not
fromdate.Compa reTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) " is false.
This means that the if statement shouldn't run.

HOWEVER the statement ALWAYS enters the if statement block. Before you
ask, I have written an else statement and NOT clicked cancel and this
results in the statement returning true, and THEN entering the if block
(not the else block). Its as if its discarding the if statement and just
entering anyway.

For the life of me I cannot spot this error, and I'm on the managed MSDN
so I'd really appreciate some help here from MVP/MSFT.

Cheers.



Jan 11 '07 #4
Spotted!!!!!!!

The first issue is that assigning Nothing to a variable of type DateTime is
the same as assigning 01/01/0001 12:00:00 AM to it, i.e., Midnight (being
the start of the day) on the 1st of January in the year 1.

Dim _d As DateTime = Nothing
Dim _d As DateTime = New DateTime(1, 1, 1)
Dim _d As DateTime = New DateTime(1, 1, 1, 0, 0, 0, 0)
Dim _d As DateTime = DateTime.MinVal ue

to name just a few ways of initialising a variable of type DateTime and all
thiose shown result in _d having the same value.

The second issue is that you are comparing fromdate to 01/01/0001
01:01:01.001 AM. When the dialog 'fails', this test results in a value of -1
(fromdate (01/01/0001 12:00:00 AM is less than 01/01/0001 01:01:01.001 AM)
and therfore your boolean expression equates to True and the code inside the
If ... End If is executed as you are observing.

I would be inclined to recode it so that it is something like:

Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter
the Start of the Holiday")

If fromdate <DateTime.MinVa lue Then
While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)
MessageBox.Show ("The date you have entered does not occur between the
shifts specified on that day.", "Invalid Value")
fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the Start
of the Holiday")
If fromdate <DateTime.MinVa lue Then Continue
End While
End If
"Steven Spencer (Spinalogic)" <Sp************ ***@newsgroup.n ospamwrote in
message news:OZ******** ******@TK2MSFTN GP03.phx.gbl...
Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter
the Start of the Holiday")

If (Not fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) Then

While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)

MsgBox("The date you have entered does not occur between the
shifts specified on that day.")

fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the
Start of the Holiday")

If IsNothing(fromd ate) Then

Exit While

End If

End While

End if

My dialog just gets a date time. It returns nothing for a failure.

I tried making the if statement " if not IsNothing(fromD ate) then" and
this still ran, so I tried the godawful combination that I have now.

Now I have checked in the debugger, the statement "(Not
fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) " is false.
This means that the if statement shouldn't run.

HOWEVER the statement ALWAYS enters the if statement block. Before you
ask, I have written an else statement and NOT clicked cancel and this
results in the statement returning true, and THEN entering the if block
(not the else block). Its as if its discarding the if statement and just
entering anyway.

For the life of me I cannot spot this error, and I'm on the managed MSDN
so I'd really appreciate some help here from MVP/MSFT.

Cheers.


Jan 11 '07 #5
Seeing as you're on Framework 1.1 the line:

If fromdate <DateTime.MinVa lue Then Continue

should read:

If fromdate = DateTime.MinVal ue Then Exit While

It would have been nice if you had included that information in your
original post.
"Stephany Young" <noone@localhos twrote in message
news:Ox******** ******@TK2MSFTN GP06.phx.gbl...
Spotted!!!!!!!

The first issue is that assigning Nothing to a variable of type DateTime
is the same as assigning 01/01/0001 12:00:00 AM to it, i.e., Midnight
(being the start of the day) on the 1st of January in the year 1.

Dim _d As DateTime = Nothing
Dim _d As DateTime = New DateTime(1, 1, 1)
Dim _d As DateTime = New DateTime(1, 1, 1, 0, 0, 0, 0)
Dim _d As DateTime = DateTime.MinVal ue

to name just a few ways of initialising a variable of type DateTime and
all thiose shown result in _d having the same value.

The second issue is that you are comparing fromdate to 01/01/0001
01:01:01.001 AM. When the dialog 'fails', this test results in a value
of -1 (fromdate (01/01/0001 12:00:00 AM is less than 01/01/0001
01:01:01.001 AM) and therfore your boolean expression equates to True and
the code inside the If ... End If is executed as you are observing.

I would be inclined to recode it so that it is something like:

Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please
Enter the Start of the Holiday")

If fromdate <DateTime.MinVa lue Then
While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)
MessageBox.Show ("The date you have entered does not occur between the
shifts specified on that day.", "Invalid Value")
fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the Start
of the Holiday")
If fromdate <DateTime.MinVa lue Then Continue
End While
End If
"Steven Spencer (Spinalogic)" <Sp************ ***@newsgroup.n ospamwrote
in message news:OZ******** ******@TK2MSFTN GP03.phx.gbl...
>Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please
Enter the Start of the Holiday")

If (Not fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) Then

While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)

MsgBox("The date you have entered does not occur between the
shifts specified on that day.")

fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the
Start of the Holiday")

If IsNothing(fromd ate) Then

Exit While

End If

End While

End if

My dialog just gets a date time. It returns nothing for a failure.

I tried making the if statement " if not IsNothing(fromD ate) then" and
this still ran, so I tried the godawful combination that I have now.

Now I have checked in the debugger, the statement "(Not
fromdate.Compa reTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) " is false.
This means that the if statement shouldn't run.

HOWEVER the statement ALWAYS enters the if statement block. Before you
ask, I have written an else statement and NOT clicked cancel and this
results in the statement returning true, and THEN entering the if block
(not the else block). Its as if its discarding the if statement and just
entering anyway.

For the life of me I cannot spot this error, and I'm on the managed MSDN
so I'd really appreciate some help here from MVP/MSFT.

Cheers.



Jan 11 '07 #6
I'm actually a java programmer by trade.

I HATE VB.net

C# is sooo much nicer.

But yes, it was a goddamn reference type thing.
It SAID it was 12:00am in the debugger which is the value I replicated.. I
however had failed to identify the problem as I used the IsNothing(blah)
function on the datetime. Which returned false.

I changed the code to read fromdate = nothing and then this worked
correctly.

I do hope to all god that the only reason the reference type/value type
stuff is there is for VB6.0 compatibility otherwise whoever did it at MS
needs to be shot. And my employer doesn't know how to read C# and we have
WAY to much code to change right now. Thanks for your help though.

++karma
"Stephany Young" <noone@localhos twrote in message
news:uL******** ******@TK2MSFTN GP03.phx.gbl...
Seeing as you're on Framework 1.1 the line:

If fromdate <DateTime.MinVa lue Then Continue

should read:

If fromdate = DateTime.MinVal ue Then Exit While

It would have been nice if you had included that information in your
original post.
"Stephany Young" <noone@localhos twrote in message
news:Ox******** ******@TK2MSFTN GP06.phx.gbl...
>Spotted!!!!! !!

The first issue is that assigning Nothing to a variable of type DateTime
is the same as assigning 01/01/0001 12:00:00 AM to it, i.e., Midnight
(being the start of the day) on the 1st of January in the year 1.

Dim _d As DateTime = Nothing
Dim _d As DateTime = New DateTime(1, 1, 1)
Dim _d As DateTime = New DateTime(1, 1, 1, 0, 0, 0, 0)
Dim _d As DateTime = DateTime.MinVal ue

to name just a few ways of initialising a variable of type DateTime and
all thiose shown result in _d having the same value.

The second issue is that you are comparing fromdate to 01/01/0001
01:01:01.001 AM. When the dialog 'fails', this test results in a value
of -1 (fromdate (01/01/0001 12:00:00 AM is less than 01/01/0001
01:01:01.001 AM) and therfore your boolean expression equates to True and
the code inside the If ... End If is executed as you are observing.

I would be inclined to recode it so that it is something like:

Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please
Enter the Start of the Holiday")

If fromdate <DateTime.MinVa lue Then
While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)
MessageBox.Show ("The date you have entered does not occur between
the shifts specified on that day.", "Invalid Value")
fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter the Start
of the Holiday")
If fromdate <DateTime.MinVa lue Then Continue
End While
End If
"Steven Spencer (Spinalogic)" <Sp************ ***@newsgroup.n ospamwrote
in message news:OZ******** ******@TK2MSFTN GP03.phx.gbl...
>>Dim dlg As New dlgChangeDate

Dim fromdate As DateTime = dlg.GetaDate(Sy stem.DateTime.N ow, "Please
Enter the Start of the Holiday")

If (Not fromdate.Compar eTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) Then

While IsDateBetweenSh ifts(fromdate, cboHolidayDocto rs.SelectedValu e)

MsgBox("The date you have entered does not occur between the
shifts specified on that day.")

fromdate = dlg.GetaDate(Sy stem.DateTime.N ow, "Please Enter
the Start of the Holiday")

If IsNothing(fromd ate) Then

Exit While

End If

End While

End if

My dialog just gets a date time. It returns nothing for a failure.

I tried making the if statement " if not IsNothing(fromD ate) then" and
this still ran, so I tried the godawful combination that I have now.

Now I have checked in the debugger, the statement "(Not
fromdate.Comp areTo(New DateTime(1, 1, 1, 1, 1, 1, 1)) = 0) " is false.
This means that the if statement shouldn't run.

HOWEVER the statement ALWAYS enters the if statement block. Before you
ask, I have written an else statement and NOT clicked cancel and this
results in the statement returning true, and THEN entering the if block
(not the else block). Its as if its discarding the if statement and
just entering anyway.

For the life of me I cannot spot this error, and I'm on the managed MSDN
so I'd really appreciate some help here from MVP/MSFT.

Cheers.




Jan 11 '07 #7
On 2007-01-11, Steven Spencer (Spinalogic) <Sp************ ***@newsgroup.n ospamwrote:
I'm actually a java programmer by trade.

I HATE VB.net

C# is sooo much nicer.

But yes, it was a goddamn reference type thing.
It SAID it was 12:00am in the debugger which is the value I replicated.. I
however had failed to identify the problem as I used the IsNothing(blah)
function on the datetime. Which returned false.

I changed the code to read fromdate = nothing and then this worked
correctly.

I do hope to all god that the only reason the reference type/value type
stuff is there is for VB6.0 compatibility otherwise whoever did it at MS
needs to be shot. And my employer doesn't know how to read C# and we have
WAY to much code to change right now. Thanks for your help though.
Sorry to disappoint you, but the reference type vs value type stuff is not a
..NET thing and has nothing to do with VB.NET. The same thing would happen in
C#.

They have added "Nullable Types" in .NET 2.0:

Dim myNullableDate As Nullable(Of DateTime) = Nothing

The syntax is cleaner in C#:
DateTime? myNullableDate = null;

--
Tom Shelton
Jan 11 '07 #8
When the hell is someone going to make an object oriented language that is
actually FULLY OO.

Same stuff in C#. Well you learn something every day.

:'(
"Tom Shelton" <to*********@co mcastXXXXXXX.ne twrote in message
news:Te******** *************** *******@comcast .com...
On 2007-01-11, Steven Spencer (Spinalogic)
<Sp************ ***@newsgroup.n ospamwrote:
>I'm actually a java programmer by trade.

I HATE VB.net

C# is sooo much nicer.

But yes, it was a goddamn reference type thing.
It SAID it was 12:00am in the debugger which is the value I replicated..
I
however had failed to identify the problem as I used the IsNothing(blah)
function on the datetime. Which returned false.

I changed the code to read fromdate = nothing and then this worked
correctly.

I do hope to all god that the only reason the reference type/value type
stuff is there is for VB6.0 compatibility otherwise whoever did it at MS
needs to be shot. And my employer doesn't know how to read C# and we
have
WAY to much code to change right now. Thanks for your help though.

Sorry to disappoint you, but the reference type vs value type stuff is not
a
.NET thing and has nothing to do with VB.NET. The same thing would happen
in
C#.

They have added "Nullable Types" in .NET 2.0:

Dim myNullableDate As Nullable(Of DateTime) = Nothing

The syntax is cleaner in C#:
DateTime? myNullableDate = null;

--
Tom Shelton

Jan 14 '07 #9

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

Similar topics

2
1399
by: pasa | last post by:
I'm an old time python user, but just got bitten by namespaces in eval. If this is an old discussion somewhere, feel free to point me there. Based on the documentation, I would have expected the following to work: def foo(k): print k; print a ns = {'a':1, 'foo': foo} eval('foo(2)', ns)
0
3269
by: Karam Chand | last post by:
Greetings I have a table and I want to make a copy of it in the same database. I only keep the structure and indexes and not the data. I issue a command - create table `aimdb`.`mtv20030105spots_copy` ( primary key ( AdInstanceID ) ,FULLTEXT KEY `KeyNumber` (
3
2971
by: Aaron Brockhurst | last post by:
Hi Can anyone help? I cant get my php script to insert or delete records into a mysql table. I can view them all fine but that's about it. I've checked the user permissions on mysql and have set them all to 'Y' incase that was the problem but still no joy. Can anyone suggest what the problem may be? I'm tried the usual RTFM but cant spot the problem
1
8838
by: JMCN | last post by:
hello i receive a runtime error '2465' whenever i run my module in access 97. it says 'Run-time error '2465' OOB Reports can't find the field "DuplicatePayments' referred to in your expression. You may have misspelled the field name or the field may have been
1
3211
by: ravi | last post by:
I have created the following interest to calculate the interest for the following currency pairs. I have tried to combine them in macros using conditions but the next query that is run in the macro ends up deleting the previous interest value that has been generated by the query. For example if query 1 is run on the table with currency pair USD/CHF then the interest will be updated without any problem but if there is another entry in the...
0
1725
by: Tony Lewis | last post by:
I'm running IIS on a Windows 2k server and have just installed the .NET framework 1.1 so I can deploy ASP.NET applications on my server through .NET Studios. All my normal ASP applications run fine in IIS but I can't run any ASP.NET pages. Everything in IIS was configured to handle the .aspx file extension by the .NET framework installation and it installed with no errors. When I try to view a simple ASP.NET page through a web browser I...
1
1892
by: Eric | last post by:
This program is running fine in my office i just copy it and run at home it start given that error and highlight Chr(13). I dont know is this is what the error is or some thing else Compiler Error: Cant find project or library linesfromfile = linesfromfile + nextline + Chr(13) + Chr(10) Thanks,
2
4077
by: Mark Cummings | last post by:
I am migrating an Oracle 9i to Oracle 10g database, and Perl 5.0.4 to Perl 5.8.7 in Sun Solaris environment. Using Perl 5.8.7, the following legacy code segment is returning a '-1' return code on the system call to execute the 'mv' command. Note that the mv request is across directories. sub move_inproc { print "sub move_inproc\n"; `mv $histhome/dat/inbound/$filename $histhome/dat/inproc/$filename`; if ($? !=0) {
4
9756
by: ramaswamynanda | last post by:
Hello All, I have developed an application using Ms Access 2000. My client has Access 2003. I shipped him the code yesterday and he got an error hile running the application via the mdb file itself. The line of code is If Trim(EmployeeName) <> "" And Trim(EmployerName) <> "" Then The "trim" function is highlighted and the msgbox says Compile error - cant find project or library.
1
4938
by: veer | last post by:
hi i made program which calculates the time of every user works in particular SQL server and the exe of this program works fine only on those system which have vb6.0 installed but when i run this exe on other computer which dont have vb6.0 it shows the error err.number=3633 cant load dll msjter35.dll what does this define please tell me
0
10485
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
10231
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
10027
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
9073
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
7565
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
6805
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
5463
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...
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
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.