Is there a way I can detect in vb.Net the power has switched to a UPS
unit in case of power failure?
Thanks 6 3796
Most UPS vendors support a method for communicating the status of their
devices and the power supply. Most of them even have software that they
sell or give away that will monitor your UPS device for power failure, so
that you can shut down a machine.
For large networked systems, you'd use a MIB and SNMP, because the larger
UPS devices can speak over a network. The smaller devices, for personal
computers, often hook up over USB. For that, you will probably be best off
using the software that comes with the UPS. For example, if you have an APC
device, you would use Personal PowerChute, which is a free download from
their web site www.apcc.com
So, I ask, are you trying to do this for a server-sized UPS device that you
can hook to your network, or a smaller unit that you will hook to a
particular machine? If the former, SNMP is your method. If the latter, you
are doing either USB programming (proprietary, in all liklihood) or you can
configure the tools that come with the device to call your app.
Good Luck,
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message
news:60**************************@posting.google.c om... Is there a way I can detect in vb.Net the power has switched to a UPS unit in case of power failure?
Thanks
Thank you Nick
Actually, I'm developping a device that will be connected to the
serial port of thousands of cash registers all over the country. In
fact, I don't know which UPS unit will be in used if there is any.
Since I'm dealing with very sensitive data, I don't want to loose
anything in case of a power failure. I'm know the OS gets notified
when the UPS unit start to deliver the power after a power failure
(You confirmed that). And I'm pretty sure that the OS must send a
message to all running application to let them know. My question is,
how can I pick up this message when it happens or when the power comes
back?
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:<qKw9d.435291$8_6.368115@attbi_s04>... Most UPS vendors support a method for communicating the status of their devices and the power supply. Most of them even have software that they sell or give away that will monitor your UPS device for power failure, so that you can shut down a machine.
For large networked systems, you'd use a MIB and SNMP, because the larger UPS devices can speak over a network. The smaller devices, for personal computers, often hook up over USB. For that, you will probably be best off using the software that comes with the UPS. For example, if you have an APC device, you would use Personal PowerChute, which is a free download from their web site www.apcc.com
So, I ask, are you trying to do this for a server-sized UPS device that you can hook to your network, or a smaller unit that you will hook to a particular machine? If the former, SNMP is your method. If the latter, you are doing either USB programming (proprietary, in all liklihood) or you can configure the tools that come with the device to call your app.
Good Luck,
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message news:60**************************@posting.google.c om... Is there a way I can detect in vb.Net the power has switched to a UPS unit in case of power failure?
Thanks
Hello Stephane,
First off, will the device be directly connected to the UPS device, or just
to the cash register? If you are connected directly to the UPS, you can be
notified by it. Otherwise, this is not a UPS question, this is a question
of how you are notified by the OS.
Secondly, is your device designed to connect to many different cash
registers, or a specific model and type of cash register? If so, you may
know what version of the OS that the register is using, and what hardware
features you can count on. Note that there is no reason to believe that all
registers are actually notified by the OS. The fact that the OS *can* be
notified does NOT mean that the register *will* be notified. These are two
radically different things. http://support.microsoft.com/kb/q310752/
Thirdly, can you put software on the register, or are you simply connecting
to the serial port? If you are not installing software on the register,
then none of this matters, because there would be no application running on
the pc to forward the message on to the serial port where you could detect
it.
It may make more sense for your device to use a simple Lion battery backup
or USB solid state hard drive for data backup than for your device to detect
if the UPS has switched power.
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message
news:60**************************@posting.google.c om... Thank you Nick
Actually, I'm developping a device that will be connected to the serial port of thousands of cash registers all over the country. In fact, I don't know which UPS unit will be in used if there is any. Since I'm dealing with very sensitive data, I don't want to loose anything in case of a power failure. I'm know the OS gets notified when the UPS unit start to deliver the power after a power failure (You confirmed that). And I'm pretty sure that the OS must send a message to all running application to let them know. My question is, how can I pick up this message when it happens or when the power comes back?
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:<qKw9d.435291$8_6.368115@attbi_s04>... Most UPS vendors support a method for communicating the status of their devices and the power supply. Most of them even have software that they sell or give away that will monitor your UPS device for power failure,
so that you can shut down a machine.
For large networked systems, you'd use a MIB and SNMP, because the
larger UPS devices can speak over a network. The smaller devices, for personal computers, often hook up over USB. For that, you will probably be best
off using the software that comes with the UPS. For example, if you have an
APC device, you would use Personal PowerChute, which is a free download from their web site www.apcc.com
So, I ask, are you trying to do this for a server-sized UPS device that
you can hook to your network, or a smaller unit that you will hook to a particular machine? If the former, SNMP is your method. If the latter,
you are doing either USB programming (proprietary, in all liklihood) or you
can configure the tools that come with the device to call your app.
Good Luck,
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message news:60**************************@posting.google.c om... Is there a way I can detect in vb.Net the power has switched to a UPS unit in case of power failure?
Thanks
Hi Nick,
Our unit is designed to be placed between the cash register and the
printer. It has to listen on the serial communication port of the cash
register to record every transactions that are processed, record it
into a database and send it to the printer with a unique identifier
and a legal stamp. Since it will be used in thousands of stores all
over the country, we will have to support a wide variety of cash
registers models. Using regular expressions specific to each models,
we can easily understand which information is sent to the printer
through the serial port. We don't have to bother over which OS is used
inside the cash register at all. The store manager will have to make
sure his cash register and his printer are supported by our unit. If
the store has a UPS, our unit will have to be connected to it as well
as the cash register.
Since the store owner won't be forced to use a UPS and because he can
use wathever UPS unit he wants if he desires to have one, I can only
rely on my own OS (Win CE or Xp Embedded) running in my Unit to notify
my program that the UPS has started.
The best solution for us would be as you said to put in our module our
own UPS device or battery. In fact, we only need just a few seconds,
not minutes or hours, to make sure we backup everything and shut down
the process properly.
Wether we use a own power backup system or the store owner's ups, we
would like to intercept any notifications from the OS that the power
had been lost.
Stephane
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:<iFRad.459378$8_6.264122@attbi_s04>... Hello Stephane,
First off, will the device be directly connected to the UPS device, or just to the cash register? If you are connected directly to the UPS, you can be notified by it. Otherwise, this is not a UPS question, this is a question of how you are notified by the OS.
Secondly, is your device designed to connect to many different cash registers, or a specific model and type of cash register? If so, you may know what version of the OS that the register is using, and what hardware features you can count on. Note that there is no reason to believe that all registers are actually notified by the OS. The fact that the OS *can* be notified does NOT mean that the register *will* be notified. These are two radically different things.
http://support.microsoft.com/kb/q310752/
Thirdly, can you put software on the register, or are you simply connecting to the serial port? If you are not installing software on the register, then none of this matters, because there would be no application running on the pc to forward the message on to the serial port where you could detect it.
It may make more sense for your device to use a simple Lion battery backup or USB solid state hard drive for data backup than for your device to detect if the UPS has switched power.
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message news:60**************************@posting.google.c om... Thank you Nick
Actually, I'm developping a device that will be connected to the serial port of thousands of cash registers all over the country. In fact, I don't know which UPS unit will be in used if there is any. Since I'm dealing with very sensitive data, I don't want to loose anything in case of a power failure. I'm know the OS gets notified when the UPS unit start to deliver the power after a power failure (You confirmed that). And I'm pretty sure that the OS must send a message to all running application to let them know. My question is, how can I pick up this message when it happens or when the power comes back?
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:<qKw9d.435291$8_6.368115@attbi_s04>... Most UPS vendors support a method for communicating the status of their devices and the power supply. Most of them even have software that they sell or give away that will monitor your UPS device for power failure, so that you can shut down a machine.
For large networked systems, you'd use a MIB and SNMP, because the larger UPS devices can speak over a network. The smaller devices, for personal computers, often hook up over USB. For that, you will probably be best off using the software that comes with the UPS. For example, if you have an APC device, you would use Personal PowerChute, which is a free download from their web site www.apcc.com
So, I ask, are you trying to do this for a server-sized UPS device that you can hook to your network, or a smaller unit that you will hook to a particular machine? If the former, SNMP is your method. If the latter, you are doing either USB programming (proprietary, in all liklihood) or you can configure the tools that come with the device to call your app.
Good Luck,
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message news:60**************************@posting.google.c om... > Is there a way I can detect in vb.Net the power has switched to a UPS > unit in case of power failure? > > Thanks
Hello Stephane,
Your store owner would need to be CERTAIN that his register and printer are
supported, but will also be BETTER OFF if his UPS is also supported, because
you will have to write software to listen to each potentially different
message from a UPS.
So, call up your market base and find out what are the top one or two UPS
devices in use in the stores, and write support for them directly. I would
suggest using a "driver" software model, where your app simply registers an
event and you install a driver specific to the UPS to raise that event.
That way, you can write drivers for more UPS devices as time goes on.
You will want to get specs from the UPS manufacturers themselves. I do not
believe that there is a uniform protocol for communicating these messages.
Note: there are three hardware implications that may affect you:
(1) does the UPS actually send a data signal at all? The UPS may have no
port to send it on (smaller UPS devices, and those more than a few years
old, largely have no data message at all),
(2) what port will you receive the message on? Does your device have a type
A USB port? Most newer UPS devices, the ones with USB ports, have a type B
connection. Note that type A and type B are DIFFERENT. There are no
adapters for one to another, because the type A end, expected to appear on
computers, must provide electricity to the type B end. Therefore, your
device will need to have a type A port if you expect to communicate directly
with the USB port on the UPS.
(3) Most UPS devices have one and only one USB port. If that port is
already connected to the register (as it will be in some turn-key
installations), then you cannot connect to it. In a USB communication,
there is one A and one B. That's it. You cannot have two As and one B. It
would be irresponsible for you to tell a store owner to move the connection
from the register to your device. While you only need a second or two to
store everything, the register may need much longer than that. In this
configuration, you simply cannot succeed by directly connecting to the UPS.
In a traditional IT setting, a central computer would query individual
systems using SNMP (Simple Network Monitoring Protocol). Each system that
participates in SNMP would have a driver (usually called a MIB) that
responds to messages, gathers local events, and transmits them upstream.
The central system has the logic to send out messages when specific events
occur.
Therefore, if you were to follow standards, you would provide a MIB, for
your device, that runs on the register (you will need one for each major OS
of the registers). The MIB would query your device for status and send the
status messages to a registered listener (usually a network management
application like CA Unicenter or HP Openview). Also, the MIB would get
messages from the management application and relay them to your device.
That could be done by connecting another port from the register to your
device, or it can be done using some special interrupt sequence that the MIB
sends out by intercepting the data stream travelling over the printer port
(may not be easy to do the latter, but it costs less to manufacture the
device).
Your device can listen for the signals from the MIB, which can give
instructions like "backup now" and "systems initialization test" as relayed
from the management application.
That's the traditional way to do this. Sounds like this may be difficult in
your setting. I don't know. I'm not involved in the retail POS market.
There is another way to look at this, which is much simpler.
Let's stipulate that the power goes off and your device has a small battery
backup capability. The register will shut down. Three causes: (a) the
power went out to the register and no UPS was present... it simply quit.
(b) the register got a signal from a UPS or a MIB telling it to power down
immediately, (c) a frantic store clerk responds to the fact that she is
standing in a dark room with puzzled customers by shutting down the register
(as she was trained to do).
Once the register goes down, assuming you are still running on battery, the
register will stop sending data to the printer. If you have enough battery
to last for 15 minutes, you will last longer than the register would, which
means that the register will quit before you do. In this case, printing
will become idle.
If printing goes idle for more than 30 seconds, then you should simply save
everything, because there is a possibility that the power has gone off and
the register has gone offline.
That's as good a logic as you will likely get without installing software on
the register.
Good Luck,
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message
news:60**************************@posting.google.c om... Hi Nick,
Our unit is designed to be placed between the cash register and the printer. It has to listen on the serial communication port of the cash register to record every transactions that are processed, record it into a database and send it to the printer with a unique identifier and a legal stamp. Since it will be used in thousands of stores all over the country, we will have to support a wide variety of cash registers models. Using regular expressions specific to each models, we can easily understand which information is sent to the printer through the serial port. We don't have to bother over which OS is used inside the cash register at all. The store manager will have to make sure his cash register and his printer are supported by our unit. If the store has a UPS, our unit will have to be connected to it as well as the cash register. Since the store owner won't be forced to use a UPS and because he can use wathever UPS unit he wants if he desires to have one, I can only rely on my own OS (Win CE or Xp Embedded) running in my Unit to notify my program that the UPS has started. The best solution for us would be as you said to put in our module our own UPS device or battery. In fact, we only need just a few seconds, not minutes or hours, to make sure we backup everything and shut down the process properly. Wether we use a own power backup system or the store owner's ups, we would like to intercept any notifications from the OS that the power had been lost.
Stephane
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:<iFRad.459378$8_6.264122@attbi_s04>... Hello Stephane,
First off, will the device be directly connected to the UPS device, or
just to the cash register? If you are connected directly to the UPS, you can
be notified by it. Otherwise, this is not a UPS question, this is a
question of how you are notified by the OS.
Secondly, is your device designed to connect to many different cash registers, or a specific model and type of cash register? If so, you
may know what version of the OS that the register is using, and what
hardware features you can count on. Note that there is no reason to believe that
all registers are actually notified by the OS. The fact that the OS *can*
be notified does NOT mean that the register *will* be notified. These are
two radically different things.
http://support.microsoft.com/kb/q310752/
Thirdly, can you put software on the register, or are you simply
connecting to the serial port? If you are not installing software on the register, then none of this matters, because there would be no application running
on the pc to forward the message on to the serial port where you could
detect it.
It may make more sense for your device to use a simple Lion battery
backup or USB solid state hard drive for data backup than for your device to
detect if the UPS has switched power.
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message news:60**************************@posting.google.c om... Thank you Nick
Actually, I'm developping a device that will be connected to the serial port of thousands of cash registers all over the country. In fact, I don't know which UPS unit will be in used if there is any. Since I'm dealing with very sensitive data, I don't want to loose anything in case of a power failure. I'm know the OS gets notified when the UPS unit start to deliver the power after a power failure (You confirmed that). And I'm pretty sure that the OS must send a message to all running application to let them know. My question is, how can I pick up this message when it happens or when the power comes back?
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:<qKw9d.435291$8_6.368115@attbi_s04>... > Most UPS vendors support a method for communicating the status of
their > devices and the power supply. Most of them even have software that
they > sell or give away that will monitor your UPS device for power
failure, so > that you can shut down a machine. > > For large networked systems, you'd use a MIB and SNMP, because the larger > UPS devices can speak over a network. The smaller devices, for
personal > computers, often hook up over USB. For that, you will probably be
best off > using the software that comes with the UPS. For example, if you
have an APC > device, you would use Personal PowerChute, which is a free download
from > their web site www.apcc.com > > So, I ask, are you trying to do this for a server-sized UPS device
that you > can hook to your network, or a smaller unit that you will hook to a > particular machine? If the former, SNMP is your method. If the
latter, you > are doing either USB programming (proprietary, in all liklihood) or
you can > configure the tools that come with the device to call your app. > > Good Luck, > > --- Nick > > "Stephane Belzile" <st*************@cgi.com> wrote in message > news:60**************************@posting.google.c om... > > Is there a way I can detect in vb.Net the power has switched to a
UPS > > unit in case of power failure? > > > > Thanks
Hi Nick,
I've learned so much with all your replies. Wow! Yesterday, I had a
meeting with my project manager and we discussed a lot about
everything that was in your message. I think the last solution, using
independant batteries inside the unit will do the job. It's fairly
easy to manage and most of all... simple and cheap to build!
That's what we thought a few weeks ago when we first put our hands on
the project and now, it seems that any effort aimed at trying to
manage every situation would be very risky. You've brought a few good
arguments to help them decide.
Some owners will have to update or change their equipment. We want to
limit as much as possible those impacts because of the costs. If we
add UPS restrictions...
Thank you very much for all your help.
Stephane Belzile
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:<kC9dd.154318$He1.114374@attbi_s01>... Hello Stephane,
Your store owner would need to be CERTAIN that his register and printer are supported, but will also be BETTER OFF if his UPS is also supported, because you will have to write software to listen to each potentially different message from a UPS.
So, call up your market base and find out what are the top one or two UPS devices in use in the stores, and write support for them directly. I would suggest using a "driver" software model, where your app simply registers an event and you install a driver specific to the UPS to raise that event. That way, you can write drivers for more UPS devices as time goes on.
You will want to get specs from the UPS manufacturers themselves. I do not believe that there is a uniform protocol for communicating these messages.
Note: there are three hardware implications that may affect you: (1) does the UPS actually send a data signal at all? The UPS may have no port to send it on (smaller UPS devices, and those more than a few years old, largely have no data message at all), (2) what port will you receive the message on? Does your device have a type A USB port? Most newer UPS devices, the ones with USB ports, have a type B connection. Note that type A and type B are DIFFERENT. There are no adapters for one to another, because the type A end, expected to appear on computers, must provide electricity to the type B end. Therefore, your device will need to have a type A port if you expect to communicate directly with the USB port on the UPS. (3) Most UPS devices have one and only one USB port. If that port is already connected to the register (as it will be in some turn-key installations), then you cannot connect to it. In a USB communication, there is one A and one B. That's it. You cannot have two As and one B. It would be irresponsible for you to tell a store owner to move the connection from the register to your device. While you only need a second or two to store everything, the register may need much longer than that. In this configuration, you simply cannot succeed by directly connecting to the UPS.
In a traditional IT setting, a central computer would query individual systems using SNMP (Simple Network Monitoring Protocol). Each system that participates in SNMP would have a driver (usually called a MIB) that responds to messages, gathers local events, and transmits them upstream. The central system has the logic to send out messages when specific events occur.
Therefore, if you were to follow standards, you would provide a MIB, for your device, that runs on the register (you will need one for each major OS of the registers). The MIB would query your device for status and send the status messages to a registered listener (usually a network management application like CA Unicenter or HP Openview). Also, the MIB would get messages from the management application and relay them to your device. That could be done by connecting another port from the register to your device, or it can be done using some special interrupt sequence that the MIB sends out by intercepting the data stream travelling over the printer port (may not be easy to do the latter, but it costs less to manufacture the device).
Your device can listen for the signals from the MIB, which can give instructions like "backup now" and "systems initialization test" as relayed from the management application.
That's the traditional way to do this. Sounds like this may be difficult in your setting. I don't know. I'm not involved in the retail POS market.
There is another way to look at this, which is much simpler.
Let's stipulate that the power goes off and your device has a small battery backup capability. The register will shut down. Three causes: (a) the power went out to the register and no UPS was present... it simply quit. (b) the register got a signal from a UPS or a MIB telling it to power down immediately, (c) a frantic store clerk responds to the fact that she is standing in a dark room with puzzled customers by shutting down the register (as she was trained to do).
Once the register goes down, assuming you are still running on battery, the register will stop sending data to the printer. If you have enough battery to last for 15 minutes, you will last longer than the register would, which means that the register will quit before you do. In this case, printing will become idle.
If printing goes idle for more than 30 seconds, then you should simply save everything, because there is a possibility that the power has gone off and the register has gone offline.
That's as good a logic as you will likely get without installing software on the register.
Good Luck, --- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message news:60**************************@posting.google.c om... Hi Nick,
Our unit is designed to be placed between the cash register and the printer. It has to listen on the serial communication port of the cash register to record every transactions that are processed, record it into a database and send it to the printer with a unique identifier and a legal stamp. Since it will be used in thousands of stores all over the country, we will have to support a wide variety of cash registers models. Using regular expressions specific to each models, we can easily understand which information is sent to the printer through the serial port. We don't have to bother over which OS is used inside the cash register at all. The store manager will have to make sure his cash register and his printer are supported by our unit. If the store has a UPS, our unit will have to be connected to it as well as the cash register. Since the store owner won't be forced to use a UPS and because he can use wathever UPS unit he wants if he desires to have one, I can only rely on my own OS (Win CE or Xp Embedded) running in my Unit to notify my program that the UPS has started. The best solution for us would be as you said to put in our module our own UPS device or battery. In fact, we only need just a few seconds, not minutes or hours, to make sure we backup everything and shut down the process properly. Wether we use a own power backup system or the store owner's ups, we would like to intercept any notifications from the OS that the power had been lost.
Stephane
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:<iFRad.459378$8_6.264122@attbi_s04>... Hello Stephane,
First off, will the device be directly connected to the UPS device, or just to the cash register? If you are connected directly to the UPS, you can be notified by it. Otherwise, this is not a UPS question, this is a question of how you are notified by the OS.
Secondly, is your device designed to connect to many different cash registers, or a specific model and type of cash register? If so, you may know what version of the OS that the register is using, and what hardware features you can count on. Note that there is no reason to believe that all registers are actually notified by the OS. The fact that the OS *can* be notified does NOT mean that the register *will* be notified. These are two radically different things.
http://support.microsoft.com/kb/q310752/
Thirdly, can you put software on the register, or are you simply connecting to the serial port? If you are not installing software on the register, then none of this matters, because there would be no application running on the pc to forward the message on to the serial port where you could detect it.
It may make more sense for your device to use a simple Lion battery backup or USB solid state hard drive for data backup than for your device to detect if the UPS has switched power.
--- Nick
"Stephane Belzile" <st*************@cgi.com> wrote in message news:60**************************@posting.google.c om... > Thank you Nick > > Actually, I'm developping a device that will be connected to the > serial port of thousands of cash registers all over the country. In > fact, I don't know which UPS unit will be in used if there is any. > Since I'm dealing with very sensitive data, I don't want to loose > anything in case of a power failure. I'm know the OS gets notified > when the UPS unit start to deliver the power after a power failure > (You confirmed that). And I'm pretty sure that the OS must send a > message to all running application to let them know. My question is, > how can I pick up this message when it happens or when the power comes > back? > > "Nick Malik" <ni*******@hotmail.nospam.com> wrote in message news:<qKw9d.435291$8_6.368115@attbi_s04>... > > Most UPS vendors support a method for communicating the status of their > > devices and the power supply. Most of them even have software that they > > sell or give away that will monitor your UPS device for power failure, so > > that you can shut down a machine. > > > > For large networked systems, you'd use a MIB and SNMP, because the larger > > UPS devices can speak over a network. The smaller devices, for personal > > computers, often hook up over USB. For that, you will probably be best off > > using the software that comes with the UPS. For example, if you have an APC > > device, you would use Personal PowerChute, which is a free download from > > their web site www.apcc.com > > > > So, I ask, are you trying to do this for a server-sized UPS device that you > > can hook to your network, or a smaller unit that you will hook to a > > particular machine? If the former, SNMP is your method. If the latter, you > > are doing either USB programming (proprietary, in all liklihood) or you can > > configure the tools that come with the device to call your app. > > > > Good Luck, > > > > --- Nick > > > > "Stephane Belzile" <st*************@cgi.com> wrote in message > > news:60**************************@posting.google.c om... > > > Is there a way I can detect in vb.Net the power has switched to a UPS > > > unit in case of power failure? > > > > > > Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Graham |
last post by:
Can anyone tell me how to detect when a client socket connection has failed
(ie remote equipment power failure) using VB.net.
Thanks in advance
|
by: Gerard M Foley |
last post by:
Can one write a webpage which is not displayed but which simply redirects
the user to another page without any action by the user?
Sorry if this is simple, but I am sometimes simple myself.
...
|
by: Vijay |
last post by:
Hi all,
i have TCP client server application written in C# using async
socket methods, eg BeginReceive(), BeginEnd() etc
server is continuesly running in the background, client connect to...
|
by: Daniel |
last post by:
how to detect who redirects traffic to a aspx page? is this info passed
along in request object or can sites anonymously redirect traffic to other
sites?
|
by: Jacob Thastrup.com |
last post by:
Hi
How do I detect whether my laptop is running on battery or using the
power outlet?
Thanks
Jacob Thastrup
|
by: Stephane Belzile |
last post by:
Is there a way I can detect in vb.Net the power has switched to a UPS
unit in case of power failure?
Thanks
|
by: souissipro |
last post by:
Hi,
I have written a C program that does some of the functionalities
mentionned in my previous topic posted some days ago. This shell
should:
1- execute input commands from standard input,...
|
by: comp.lang.php |
last post by:
require_once("/users/ppowell/web/php_global_vars.php");
if ($_GET) {
// INITIALIZE VARS
$fileID = @fopen("$userPath/xml/redirect.xml", 'r');
$stuff = @fread($fileID,...
|
by: s3raph |
last post by:
Hi,
I'm having trouble detecting the client machine connection lost when the client physically pushes the power or restart button on their computer.
Using the code from Plater in the following...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
|
by: Johno34 |
last post by:
I have this click event on my form. It speaks to a Datasheet Subform
Private Sub Command260_Click()
Dim r As DAO.Recordset
Set r = Form_frmABCD.Form.RecordsetClone
r.MoveFirst
Do
If...
|
by: jack2019x |
last post by:
hello, Is there code or static lib for hook swapchain present?
I wanna hook dxgi swapchain present for dx11 and dx9.
| |