Any Way To Simulate Human Temperature Taking?
Feb 27, 2010
I am trying to simulate human temperature taking. Basic I just need a button, a textbox , a progress bar and a timer. What I want to do is that when the button is clicked, the progress bar will slowly increment and after it reaches maximum, a random number in the range 35-40 will be generated in the text box.
Now so far, this is what I've done:
Public Class Health
Private Sub Health_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
[Code] .....
So this is suppose to be a temperature gadget for kids and therefore when a certain amount of temperature is reached...an alarm is sent to the parents. So the progress bar is working fine. The random number generator too. A "sent" dialog box is open if the temperature is >38.
1-The number is working. But I would like the number to b e generated AFTER the progress bar reaches maximum.
2-The sent dialog box is open basically the moment I click on the button to start the progress bar (if the num generated is>38). And it keeps up looping and opening.
View 2 Replies
ADVERTISEMENT
Feb 26, 2010
I am trying to simulate human temperature taking. Basic i just need a button, a text box , a progress bar and a timer.What I want to do is that when the button is clicked, the progress bar will slowly increment and after it reaches maximum, a random number in the range 35-40 will be generated in the text box.Now so far, this is what I`ve done:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
Dim r As New Random
[code]....
So the progress bar is working fine. The random number generator too. But here are my problems:
1-Once the button is click, the number is generated. I would like that to happen after the progress bar reaches maximum.
2-So this is suppose to be a temperature gadget for kids and therefore when a certain amount of temperature is reached...an alarm is sent to the parents. How do I generate a dialog box (to acknowledge an alarm was sent) in case the temperature exceeds say 38? The dialog box should close after some 5 seconds. If possible, in case of such excess, the button color should turn to red or otherwise(no excess) blue.
View 3 Replies
Aug 12, 2009
How to simulate mouse movements to look like humans'? I want my cursor not to jump around but move/flow from point to point.
View 4 Replies
Jul 19, 2011
can somebody tell me the codes that a webcam can detect a human.
View 4 Replies
Nov 16, 2011
I have this idea of developing a vb.net desktop app. That pops up a cartoon human figure on the desktop corner and reads a particular file saved some where on the pc. Like TEXT to SPEECH or something.
View 1 Replies
Aug 9, 2010
I have ASN.1 format files. I have to convert into CSV(comma separated) format also readable one. Tell me the shortest way... Like Decoders etc.
View 1 Replies
May 30, 2009
as above how to do that man? I will also want to extract the information to be sent from the database. An example of what i am going to do is something like this:
Reference:[URL]..
View 8 Replies
Apr 22, 2011
This is a homework assignment, but i want help, not answers. I made the form for this project, but my instructor supplied the code, the problem is, it doesnt work haha I have been trying to troubleshoot this for the past couple of hours but my problem is that when it comes to VB, my major weakness is database connections. When i run the code the form does not pull any data as it is suppose to. My thought is that it might be outdated because the instructions i got told me to "open Visual Studio 2005" so i dont know if the VB code from 2005 to now has changed? I have VS 2010 and SQL server 2008 R2. My first thought was that maybe my connection string was wrong, but i put in the same information that i use to connect in sql server management studio and i read that if the connection string was wrong VB would throw an error, is that right? With all the code entered in VS, it doesnt show any errors such as syntax errors etc.
It does error out when i run the program though, im guessing because when i click update, or edit, it cant because there is no data in there to edit or update. I'm wondering if someone could review this code and tell me why it isnt pulling data and explain it to me so i can understand. I will attach my whole project instead of pasting the 500 some lines of code.
[Code]...
View 14 Replies
Apr 4, 2011
I want to write a human resource programme that can accept employee records and compute for their salaries and overtime and also print out the needed salary slips and reports.
View 1 Replies
Feb 26, 2009
How can I convert a (unix) timestamp (which I get from a web service as integer) to a human readable date?
View 3 Replies
Apr 14, 2010
Greetings, I'm looking for a way to encode a string into HTML that uses human-readable tags such as ê (=ê). At the moment, I am using the HttpUtility.HtmlEncode() function, but it appears to return numbered tags instead of human-readable ones. For example:
Dim str as string = HttpUtility;HtmlEncode("vente - en-tête")
'Expected: vente - en-tête
'Actually received: vente - en-tête
Is there a setting or function in ASP.Net to encode a string into HTML resembling the first comment?
EDIT: I am looking for this kind of functionality because the text is saved HTML-encoded in the database. The text comes from a bunch of MS Word documents that have been converted to HTML.
View 1 Replies
Apr 7, 2010
I have USB device that is detected as human interface device (HID). The device has one button on it. I want to have more of same devices attached to one PC. I would like to simulate a click on that device (it is not a mouse!). It should be simple using Windows API, but I just can't seem to find an example or at least function that does that (I successfully found code that takes position of a MOUSE, and sends click to a MOUSE, but I need that for my HID). What i really need is an example how to simulate click on HID (something like joystick).Second question is a bit more complicated and I can't find a solution. The HID when button is clicked returns data (5-6 bytes). But data returned is immediately printed to the screen (like i typed it on keyboard) and it is followed by CR, however no data is left on clipboard. I don't know how to get that data to my program. Detecting keystrokes using Windows API (something like keylogger), or to make a control (richtextbox) and retrieve data from that control? Thou important notice is that my program is complicated, involves multithreading (cross-thread operations are a mess) and is TIME CRITICAL (as much as it can be on Windows - you get what I mean), so cross-thread access of control will slow me down a lot or even just won't work. Something like this:[code]Even if this problem is solved it still makes it buggy because user should be able to use GUI all the time.
View 5 Replies
Jan 20, 2011
How I use Directx SDK to detect a microphone and the frenquency in hertz (pitch) of human voice?
View 1 Replies
Aug 29, 2009
How I use Directx SDK to detect a microphone and the frenquency in hertz (pitch) of human voice?
View 2 Replies
Nov 20, 2006
Is there any way to get PC/CPU temperature??
View 4 Replies
Dec 16, 2005
i like to get CPU temperature of my own machine and i am developing application for network monitoring. is there any way to get CPU temperature using Visual Basic..
View 4 Replies
Jun 15, 2012
Recently ive been experiencing someproblems playing minecraft on my toshiba qosmio x500, because of the high ram and cpu useage, my laptop gets very hot very fast, simply turning off due to overheating after maybe 20 minutes, if i am not rasing it off the desk, in which case, i must be careful as the fans are often blocked by whatever i am leaning the laptop against, otherwise if positioned carefully, i get cpu heat at a constant 90% or so,100% being when the computer overheats and turns off.[code]...
finding out how to get the cpu temperature?
View 2 Replies
Sep 30, 2007
I just searched a method to read my CPU Temperature, at first i tried W32_TemperatureProbe, but this didn't work. Now i use: MSAcpi_ThermalZoneTemperatureI found this [Code]
View 4 Replies
Aug 29, 2009
read the cpu temperature in a VB application.i tried to get it using WMI but that isn't supported by my computer.i used code i found on this forum and what i get from the WMI code creator.this is the code created with the WMI code creato
View 10 Replies
Nov 20, 2009
[code...]
So far, my friend has this, and we're trying to figure out how to get the code to tell convert F to C, and back. All we can use for input is (example:) 10,f and it will change it to 40,C.
View 2 Replies
Jan 6, 2011
I'm doing a little app that basically has 2 text boxes. You'll enter Fahrenheit into TextBoxA and Celsius into TextBoxB.As the text changes in TextBoxA I want the equivalent Celsius value to be displayed in TextBoxB and vice versa.Is there a way to do it all in Xaml except for a Convert class that does the maths? So basically I want the TextChanged event of one textBox to pass in it's value into a Converter class that is evaluated and sent to the other TextBox and visa versa.
View 2 Replies
Jul 4, 2008
im wish to get the cpu temperature and cpu fan using wmi.. in my bios, i can read my fan speed and cpu temperature.. i tried to use wmi to get the data but it doesnt function..for the wmi, i downloaded the wmi creator from microsoft website.. n it work perfectly to find other information like bios infomtion. however, it is not working with cpu temperature and fan speed..from internet, i found a program called SPEEDFAN and this program can list out all the computer temperature... do anyone know how this program function? i wish to get the information of temperature using vb.net.
View 11 Replies
May 24, 2011
I want to know are you have trend view control.Each second I receive temperature value, I want display the temperature curve (trend graphics).
Are there have existing control to use? If not, how can I achieve this.
View 12 Replies
May 20, 2009
I need to find the local temperature and load that information on to a windows desktop application, which has to be programmed either using vb or C#,
View 14 Replies
Aug 11, 2010
If this is possible i'min need of the code snippet to be able to display the CPU's temperature in a listbox
View 7 Replies
Nov 9, 2007
I'm trying to get hard drive temperature data.I can get the temperature via MSStoragedriver_ATAPISmartData.And, I can get all sorts of drive info (model, serial #, etc. via the Win32PhysicalMediaClass.The trouble is trying to link the two together.I get this temperature info, but I don't know which drive it is.The only identifier I can get from MSStoragedriver_ATAPISmartData is InstanceName.That looks like it has the model number embedded in it, but I can't get model number in Win32 my question is how can I get the temperature data and realte it to a specific drive?
View 2 Replies
Oct 12, 2010
I am able to get a list of my drives by using
Dim allDrives() As DriveInfo = DriveInfo.GetDrives()
Now I am wanting to get the current temperature of the drive. My total code below, everything is wrote to a ini file for pickup of another program I use on my network.
Dim allDrives() As DriveInfo = DriveInfo.GetDrives()
Dim computerN As String
Dim path As String
computerN = Environment.MachineName 'set computer name
[Code] ......
View 1 Replies
Sep 19, 2010
How do i read cpu temperature in windows 7?
View 1 Replies
Nov 3, 2007
i'd like to read the cpu temperature in a VB application.i tried to get it using WMI but that isn't supported by my computer.i used code i found on this forum and what i get from the WMI code creator.this is the code created with the WMI code creator.
View 9 Replies
Oct 19, 2011
I'm trying to write a small application that will show the GPU temperature. I'v found the following documentation about the subject: [URL] according to this documentation, I can use the nvcpl.dll file (which is a part of the NVIDIA driver) like this:
[Code]...
View 4 Replies