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

Home Posts Topics Members FAQ

how to capture time interval?

SJ
howdy,

In vb6 I could say

If Time >#4:00:00 PM# And Time < #4:01:00 PM# Then
'Do Something
End If

Well, I don't see the Time function in vb.net. I have
experimented with the TimeSpan object for capturing
durations of things. And I tried the following with no
luck

If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...

But got the error message that "<" and ">" are not defined
for a timespan. How can I perform the vb6 operation above
in vb.net?

Thanks
Nov 21 '05 #1
6 7171
SJ,
I created a TimeRange class just for this purpose.

http://www.martinfowler.com/ap2/range.html
If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...
Dim range As New TimeRange(#16:0 0:00#, #16:01:00#)

If range.Contains( Now) Then
...
End If

Something like:

Public Structure TimeRange

' Store the range as TimeSpans as the comparisons are "easier"
Private ReadOnly m_start As TimeSpan
Private ReadOnly m_finish As TimeSpan

' used to handle special case of the range spanning midnight
Private ReadOnly m_midnight As Boolean

Public Sub New(ByVal start As DateTime, ByVal finish As DateTime)
m_start = start.TimeOfDay
m_finish = finish.TimeOfDa y
m_midnight = (TimeSpan.Compa re(m_start, m_finish) > 0)
End Sub

Public ReadOnly Property Start() As DateTime
Get
Return DateTime.MinVal ue.Add(m_start)
End Get
End Property

Public ReadOnly Property Finish() As DateTime
Get
Return DateTime.MinVal ue.Add(m_finish )
End Get
End Property

Public Function Contains(ByVal value As DateTime) As Boolean
Dim timeOfDay As TimeSpan = value.TimeOfDay
If m_midnight Then
Return TimeSpan.Compar e(m_start, timeOfDay) <= 0 OrElse
TimeSpan.Compar e(timeOfDay, m_finish) <= 0
Else
Return TimeSpan.Compar e(m_start, timeOfDay) <= 0 AndAlso
TimeSpan.Compar e(timeOfDay, m_finish) <= 0
End If
End Function

End Structure

NOTE: I've defined the time range as being inclusive of the end points.

Hope this helps
Jay
"SJ" <SJ@discussions .microsoft.com> wrote in message
news:18******** *************** *****@phx.gbl.. . howdy,

In vb6 I could say

If Time >#4:00:00 PM# And Time < #4:01:00 PM# Then
'Do Something
End If

Well, I don't see the Time function in vb.net. I have
experimented with the TimeSpan object for capturing
durations of things. And I tried the following with no
luck

If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...

But got the error message that "<" and ">" are not defined
for a timespan. How can I perform the vb6 operation above
in vb.net?

Thanks

Nov 21 '05 #2
Doh!

If you want the end points to be exclusive, then you can change test on the
TimeSpan.Compar e lines in TimeRange.Conta ins:

Something like (untested):
Public Function Contains(ByVal value As DateTime) As Boolean
Dim timeOfDay As TimeSpan = value.TimeOfDay
If m_midnight Then
Return TimeSpan.Compar e(m_start, timeOfDay) < 0 OrElse
TimeSpan.Compar e(timeOfDay, m_finish) < 0
Else
Return TimeSpan.Compar e(m_start, timeOfDay) < 0 AndAlso
TimeSpan.Compar e(timeOfDay, m_finish) < 0
End If
End Function
Basically the value returned from TimeSpan.Compar e is:
- less then 0 if the first timespan is less then the second
- equal 0 if the first timespan equals the second
- greater then 0 if the first timespan is greater then the second

Hope this helps
Jay
"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message
news:ep******** ********@TK2MSF TNGP14.phx.gbl. .. SJ,
I created a TimeRange class just for this purpose.

http://www.martinfowler.com/ap2/range.html
If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...


Dim range As New TimeRange(#16:0 0:00#, #16:01:00#)

If range.Contains( Now) Then
...
End If

Something like:

Public Structure TimeRange

' Store the range as TimeSpans as the comparisons are "easier"
Private ReadOnly m_start As TimeSpan
Private ReadOnly m_finish As TimeSpan

' used to handle special case of the range spanning midnight
Private ReadOnly m_midnight As Boolean

Public Sub New(ByVal start As DateTime, ByVal finish As DateTime)
m_start = start.TimeOfDay
m_finish = finish.TimeOfDa y
m_midnight = (TimeSpan.Compa re(m_start, m_finish) > 0)
End Sub

Public ReadOnly Property Start() As DateTime
Get
Return DateTime.MinVal ue.Add(m_start)
End Get
End Property

Public ReadOnly Property Finish() As DateTime
Get
Return DateTime.MinVal ue.Add(m_finish )
End Get
End Property

Public Function Contains(ByVal value As DateTime) As Boolean
Dim timeOfDay As TimeSpan = value.TimeOfDay
If m_midnight Then
Return TimeSpan.Compar e(m_start, timeOfDay) <= 0 OrElse
TimeSpan.Compar e(timeOfDay, m_finish) <= 0
Else
Return TimeSpan.Compar e(m_start, timeOfDay) <= 0 AndAlso
TimeSpan.Compar e(timeOfDay, m_finish) <= 0
End If
End Function

End Structure

NOTE: I've defined the time range as being inclusive of the end points.

Hope this helps
Jay
"SJ" <SJ@discussions .microsoft.com> wrote in message
news:18******** *************** *****@phx.gbl.. .
howdy,

In vb6 I could say

If Time >#4:00:00 PM# And Time < #4:01:00 PM# Then
'Do Something
End If

Well, I don't see the Time function in vb.net. I have
experimented with the TimeSpan object for capturing
durations of things. And I tried the following with no
luck

If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...

But got the error message that "<" and ">" are not defined
for a timespan. How can I perform the vb6 operation above
in vb.net?

Thanks


Nov 21 '05 #3
SJ
Thanks. This is wonderful! It does exactly what I need,
although I will tinker with it to understand what is going
on. Note: I love DotNet. I just have to assimilate why
this is superior to the way you do it in VB6 :-). I mean,
I realize that var typing is way stronger in DotNet and
this results in less ambiguity. Is this one of the
benefits of DotNet for this situation? In any event, many
thanks!

-----Original Message-----
SJ,
I created a TimeRange class just for this purpose.

http://www.martinfowler.com/ap2/range.html
If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...
Dim range As New TimeRange(#16:0 0:00#, #16:01:00#)

If range.Contains( Now) Then
...
End If

Something like:

Public Structure TimeRange

' Store the range as TimeSpans as the comparisons

are "easier" Private ReadOnly m_start As TimeSpan
Private ReadOnly m_finish As TimeSpan

' used to handle special case of the range spanning midnight Private ReadOnly m_midnight As Boolean

Public Sub New(ByVal start As DateTime, ByVal finish As DateTime) m_start = start.TimeOfDay
m_finish = finish.TimeOfDa y
m_midnight = (TimeSpan.Compa re(m_start, m_finish) > 0) End Sub

Public ReadOnly Property Start() As DateTime
Get
Return DateTime.MinVal ue.Add(m_start)
End Get
End Property

Public ReadOnly Property Finish() As DateTime
Get
Return DateTime.MinVal ue.Add(m_finish )
End Get
End Property

Public Function Contains(ByVal value As DateTime) As Boolean Dim timeOfDay As TimeSpan = value.TimeOfDay
If m_midnight Then
Return TimeSpan.Compar e(m_start, timeOfDay) <= 0 OrElseTimeSpan.Compa re(timeOfDay, m_finish) <= 0
Else
Return TimeSpan.Compar e(m_start, timeOfDay) <= 0 AndAlsoTimeSpan.Compa re(timeOfDay, m_finish) <= 0
End If
End Function

End Structure

NOTE: I've defined the time range as being inclusive of the end points.
Hope this helps
Jay
"SJ" <SJ@discussions .microsoft.com> wrote in message
news:18******* *************** ******@phx.gbl. ..
howdy,

In vb6 I could say

If Time >#4:00:00 PM# And Time < #4:01:00 PM# Then
'Do Something
End If

Well, I don't see the Time function in vb.net. I have
experimented with the TimeSpan object for capturing
durations of things. And I tried the following with no
luck

If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...

But got the error message that "<" and ">" are not defined for a timespan. How can I perform the vb6 operation above in vb.net?

Thanks

.

Nov 21 '05 #4
SJ,
I just have to assimilate why
this is superior to the way you do it in VB6 :-). One can create a TimeRange class in VB6 almost as easily. The three things
that I would find missing, that does not allow the VB6 implementation to be
as robust as the VB.NET implementation below are:
1. No constructors (I cannot define the start & finish times when I create a
new value, I would need to set them afterwords).
2. No readonly fields (the fields can be changed within the VB6 class,
however Properties can be used to protect the values outside the class).
3. Type (aka Structure) do not allow methods, only Classes do.

I made TimeRange a Structure (VB6 Type) as I wanted it to:
- act like primitive types
- be immutable
- value semantics are desired

Its size should be under 16 bytes.

http://msdn.microsoft.com/library/de...Guidelines.asp

One feature that VB.NET has that VB6 also is missing are Shared methods. I
would consider adding a Shared Parsed method to TimeRange that is able to
take a string & convert it into a new TimeRange value. Then I would also
override the Object.ToString method in TimeRange to allow converting the
TimeRange into a readable format.
I realize that var typing is way stronger in DotNet and
this results in less ambiguity. Is this one of the
benefits of DotNet for this situation?
I consider being able to create value types such as TimeRange a benefit.

http://martinfowler.com/ieeeSoftware/whenType.pdf

I also consider the full OO nature of .NET when creating classes a major
benefit, such as constructors, inheritance, polymorphism (both inheritance &
implements), encapsulation.. .

Hope this helps
Jay
"SJ" <SJ@discussions .microsoft.com> wrote in message
news:05******** *************** *****@phx.gbl.. . Thanks. This is wonderful! It does exactly what I need,
although I will tinker with it to understand what is going
on. Note: I love DotNet. I just have to assimilate why
this is superior to the way you do it in VB6 :-). I mean,
I realize that var typing is way stronger in DotNet and
this results in less ambiguity. Is this one of the
benefits of DotNet for this situation? In any event, many
thanks!

-----Original Message-----
SJ,
I created a TimeRange class just for this purpose.

http://www.martinfowler.com/ap2/range.html
If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...


Dim range As New TimeRange(#16:0 0:00#, #16:01:00#)

If range.Contains( Now) Then
...
End If

Something like:

Public Structure TimeRange

' Store the range as TimeSpans as the comparisons

are "easier"
Private ReadOnly m_start As TimeSpan
Private ReadOnly m_finish As TimeSpan

' used to handle special case of the range

spanning midnight
Private ReadOnly m_midnight As Boolean

Public Sub New(ByVal start As DateTime, ByVal

finish As DateTime)
m_start = start.TimeOfDay
m_finish = finish.TimeOfDa y
m_midnight = (TimeSpan.Compa re(m_start,

m_finish) > 0)
End Sub

Public ReadOnly Property Start() As DateTime
Get
Return DateTime.MinVal ue.Add(m_start)
End Get
End Property

Public ReadOnly Property Finish() As DateTime
Get
Return DateTime.MinVal ue.Add(m_finish )
End Get
End Property

Public Function Contains(ByVal value As DateTime)

As Boolean
Dim timeOfDay As TimeSpan = value.TimeOfDay
If m_midnight Then
Return TimeSpan.Compar e(m_start,

timeOfDay) <= 0 OrElse
TimeSpan.Comp are(timeOfDay, m_finish) <= 0
Else
Return TimeSpan.Compar e(m_start,

timeOfDay) <= 0 AndAlso
TimeSpan.Comp are(timeOfDay, m_finish) <= 0
End If
End Function

End Structure

NOTE: I've defined the time range as being inclusive of

the end points.

Hope this helps
Jay
"SJ" <SJ@discussions .microsoft.com> wrote in message
news:18****** *************** *******@phx.gbl ...
howdy,

In vb6 I could say

If Time >#4:00:00 PM# And Time < #4:01:00 PM# Then
'Do Something
End If

Well, I don't see the Time function in vb.net. I have
experimented with the TimeSpan object for capturing
durations of things. And I tried the following with no
luck

If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...

But got the error message that "<" and ">" are not defined for a timespan. How can I perform the vb6 operation above in vb.net?

Thanks

.

Nov 21 '05 #5
SJ
Wow! That was definitely a clear explanation. I guess my
issue is that I just don't have a broad enough of
experience yet, even with vb6, to appreciate all of this
functionality. Thus, I have to ask these questions
(humbly) and just assimilate.

Many thanks for your help and explanations.

-----Original Message-----
SJ,
I just have to assimilate why
this is superior to the way you do it in VB6 :-).One can create a TimeRange class in VB6 almost as easily.

The three thingsthat I would find missing, that does not allow the VB6 implementation to beas robust as the VB.NET implementation below are:
1. No constructors (I cannot define the start & finish times when I create anew value, I would need to set them afterwords).
2. No readonly fields (the fields can be changed within the VB6 class,however Properties can be used to protect the values outside the class).3. Type (aka Structure) do not allow methods, only Classes do.
I made TimeRange a Structure (VB6 Type) as I wanted it to:
- act like primitive types
- be immutable
- value semantics are desired

Its size should be under 16 bytes.

http://msdn.microsoft.com/library/default.asp? url=/library/en-
us/cpgenref/html/cpconValueTypeU sageGuidelines. asp
One feature that VB.NET has that VB6 also is missing are Shared methods. Iwould consider adding a Shared Parsed method to TimeRange that is able totake a string & convert it into a new TimeRange value. Then I would alsooverride the Object.ToString method in TimeRange to allow converting theTimeRange into a readable format.
I realize that var typing is way stronger in DotNet and
this results in less ambiguity. Is this one of the
benefits of DotNet for this situation?
I consider being able to create value types such as

TimeRange a benefit.
http://martinfowler.com/ieeeSoftware/whenType.pdf

I also consider the full OO nature of .NET when creating classes a majorbenefit, such as constructors, inheritance, polymorphism (both inheritance &implements), encapsulation.. .

Hope this helps
Jay
"SJ" <SJ@discussions .microsoft.com> wrote in message
news:05******* *************** ******@phx.gbl. ..
Thanks. This is wonderful! It does exactly what I need, although I will tinker with it to understand what is going on. Note: I love DotNet. I just have to assimilate why this is superior to the way you do it in VB6 :-). I mean, I realize that var typing is way stronger in DotNet and
this results in less ambiguity. Is this one of the
benefits of DotNet for this situation? In any event, many thanks!

-----Original Message-----
SJ,
I created a TimeRange class just for this purpose.

http://www.martinfowler.com/ap2/range.html

If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...

Dim range As New TimeRange(#16:0 0:00#, #16:01:00#)

If range.Contains( Now) Then
...
End If

Something like:

Public Structure TimeRange

' Store the range as TimeSpans as the comparisons
are "easier"
Private ReadOnly m_start As TimeSpan
Private ReadOnly m_finish As TimeSpan

' used to handle special case of the range

spanning midnight
Private ReadOnly m_midnight As Boolean

Public Sub New(ByVal start As DateTime, ByVal

finish As DateTime)
m_start = start.TimeOfDay
m_finish = finish.TimeOfDa y
m_midnight = (TimeSpan.Compa re(m_start,

m_finish) > 0)
End Sub

Public ReadOnly Property Start() As DateTime
Get
Return DateTime.MinVal ue.Add(m_start)
End Get
End Property

Public ReadOnly Property Finish() As DateTime
Get
Return DateTime.MinVal ue.Add(m_finish )
End Get
End Property

Public Function Contains(ByVal value As
DateTime) As Boolean
Dim timeOfDay As TimeSpan = value.TimeOfDay
If m_midnight Then
Return TimeSpan.Compar e(m_start,

timeOfDay) <= 0 OrElse
TimeSpan.Com pare(timeOfDay, m_finish) <= 0
Else
Return TimeSpan.Compar e(m_start,

timeOfDay) <= 0 AndAlso
TimeSpan.Com pare(timeOfDay, m_finish) <= 0
End If
End Function

End Structure

NOTE: I've defined the time range as being inclusive of

the end points.

Hope this helps
Jay
"SJ" <SJ@discussions .microsoft.com> wrote in message
news:18***** *************** ********@phx.gb l...
howdy,

In vb6 I could say

If Time >#4:00:00 PM# And Time < #4:01:00 PM# Then
'Do Something
End If

Well, I don't see the Time function in vb.net. I have
experimented with the TimeSpan object for capturing
durations of things. And I tried the following with

no luck

If Now.TimeOfDay > #16:00:00# And Now.TimeOfDay <
#16:01:00# Then...

But got the error message that "<" and ">" are not

defined
for a timespan. How can I perform the vb6 operation

above
in vb.net?

Thanks
.

.

Nov 21 '05 #6
SJ,
A few books you may want to consider (hopefully I don't scare you :-)):

Robin A. Reynolds-Haertle's book "OOP with Microsoft Visual Basic .NET and
Microsoft Visual C# .NET - Step by Step" from Microsoft Press covers the how
of OOP, unfortunately not the why of OOP. I consider it a good entry level
book.

David West's book "Object Thinking" from Microsoft Press covers the why of
OOP and some of the intellectual how (at an abstract design level, not
implementation level as the first book). I consider this a more advanced
book.

Gang of Four's (GOF) book "Design Patterns - Elements of Reusable
Object-Oriented Software" from Addison Wesley, is IMHO a "must have" book
for the serious OO developer. Design Patterns provide programmers with a
convenient way to reuse object-origned code & concepts amount programmers
and across projects, offering easy, time-saving solutions to commonly
recurring problems in software design. The GOF are Erich Gamma, Richard
Helm, Ralph Johnson, and John Vlissides.

James W. Cooper's book "Visual Basic Design Patterns - VB 6.0 and VB.NET" is
also a "must have" book that is an excellent companion to the above GOF
book. Cooper's book gives the VB6 & VB.NET view of each pattern in the GOF
book.
Once you have a good solid handle on OO and Patterns I consider Martin
Fowler's two books "Refactorin g" and "Patterns of Enterprise Application
Architecture" both from Addison Wesley to be informative reads.

I recently started reading Joshua Kerievsky's book "Refactorin g to Patterns"
also from Addison Wesley which helps bridge the gap between the GOF Patterns
book & Martin's Refactoring book.

Another book I also recently starting reading is James W. Newkirk & Alexei
A. Vorontsov's book "Test-Driven Development in Microsoft .NET" which
explains a useful methodology (Test Driven Development or TDD) in the
context of .NET. I find that TDD simplifies the development process.

I'm sure I have some other books that I could recommend...

Yes, I am currently reading two books...

Hope this helps
Jay
"SJ" <SJ@discussions .microsoft.com> wrote in message
news:40******** *************** *****@phx.gbl.. .
Wow! That was definitely a clear explanation. I guess my
issue is that I just don't have a broad enough of
experience yet, even with vb6, to appreciate all of this
functionality. Thus, I have to ask these questions
(humbly) and just assimilate.

Many thanks for your help and explanations.

<<snip>>
Nov 21 '05 #7

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

Similar topics

1
5093
by: Rob | last post by:
Hi, I have a question, when you use a random number generator Random() in a loop to generate say 50000 random numbers; is it any difference if you use different time interval between each loop instead of a fixed amount of time, for example using an exponential time interval instead of a fixed time interval in a loop which generates 50000 random number makes any changes in results? Thanks for any help. Rob
4
2977
by: Andrew Poulos | last post by:
How do I convert a length of time, measured in seconds, into a "point in time" type time interval or what's represented as: time (second,10,2) The format is: PS]] where: y: The number of years (integer, >= 0, not restricted) m: The number of months (integer, >=0, not restricted) d: The number of days (integer, >=0, not restricted)
2
1890
by: VB User | last post by:
I need to which time interval a given time is within. What is the function I can use?
1
3531
by: greg chu | last post by:
Hi, not sure who has done this. I want to set up a time interval that could be pass midnight. so people can enter 8AM to 8AM (pass midnight to 2nd day) 8AM to 2 AM (pass midnight to 2nd day) 8AM to 2 PM The have code to check if the time is in interval.
0
1054
by: achio84 | last post by:
Hi all, I'm a newbie in .Net programming. I'm developing a web application that has a listbox containing more than 1000++ items. This listbox is dynamic as the content will change on a time interval (e.g every 5 seconds). I tried to compare the list items and make a change if there is a need using for loop and if condition. I even tried using ajax. But then, when i get the data pass back from ajax function, i also need to made comparison. As...
6
5575
by: newsteve1 | last post by:
hi, this should be simple but its stumping me, I am trying to make a slideshow that pulls random images at a random time interval (between 1 and 4 seconds). The images part works fine, and I can get the time function to create a random number, but that number doesnt change throughout the duration of the slideshow. I would like the duration to reset itself and changefor every picture that is displayed. Here is my code: function...
1
3138
by: mndprasad | last post by:
Hi all I need a help here..am doing an application in jsp..i got struck in a position where i have not done that before There are multiple users in my application..for each user the time allotement is 9am to 4pm...after 4 it should automatically logout and the admin can increase the time interval say upto 5..so that he can work til 5pm... how can i do this...while logging also it should check the time
0
1366
by: mariasoosai | last post by:
I have to send the jobs status that are started running from the previous day 9.00 a.m to today 9 a.m from the table sysjobhistory in sql server msdb database.But in that table , date and time are seperately present. also they are of datatype 'int'. pls anyone tell the query extract the jobs that are running between the specified time interval
1
2261
by: madankarmukta | last post by:
HI, I created the process which is hook to launch just before the Desktop appears and after the login credentials are entered by the machine owner.In Xp it is giving the expected result i.e. my process is running properly .. can say surely because the UI Interface of the executable is appearing before desktop appears. But in Windows server 2008 .. It seems to be not working because no UI interface is appearing when user is logging in . Why...
0
9546
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
10491
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
10268
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10247
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
10031
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...
1
7571
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
6809
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();...
1
4146
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
3
2941
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.