VS 2010 - Creating Patient Event Logger For A Hospital NICU
Dec 15, 2011
I am currently working on a way to create a keystroke logger program of sorts, to be used in a hospital neonatal intensive care unit. It will be used in a project to look for ways to identify problems shortly after birth in newborn infants. (I was approached to create this program as I am the only one here with any programming experience, and I kinda put my foot in my mouth and said yes! D'oh!) While I have dabbled with C programming about 15 years ago (in DOS) and have some current familiarity with Excel-based VBA scripting, I have absolutely no experience with coding from scratch in Visual Basic (I'm a neurobiologist, not a programmer).
[Code]....
View 27 Replies
ADVERTISEMENT
Nov 13, 2011
'Declare the price rate per night
Const decNightly_Rate As Decimal = 350D
Private Sub btnCalculateCharges_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculateCharges.Click
[code]...
I am trying to make a hospital form where the user inputs data for a hospital bill. I have to create three functions: CalcStayCharges, CalcMiscCharges, and CalcTotalCharges. I do not know why this code won't work.
View 13 Replies
Feb 28, 2012
I have an application that tests various hardware components for notebooks. One of those components is the keyboard.I have a form that displays a keyboard. In that form's KeyPreview event, I get which key is pressed. If it's the correct key, I disable the visual UI cue and move on to the next key.I'm converting the bulk of the code into a library so that it can be used in other projects more easily. But I'm having a hard time grasping how I would create this event in my library and still allow the same functionality.
View 10 Replies
Apr 14, 2011
i recently received a new work pc and have installed visual studio 2010 premium on it. this was installed on my old machine as well, the only differece between the two PCs being my old one was 32bit and the new one is 64bit.With that said, when i create a windows form project and drop a control on a form, double click that control, the default event code is created for me.It is missing the "ByVal" portion of the code. Using a textbox as an example, below is the code it generates. Is there a setting that I'm just missing and need to turn on? I've been using visual studio since version 2005 and i've never seen this before.
Private Sub TextBox1_TextChanged(sender As System.Object, e As System.EventArgs) Handles TextBox1.TextChanged
End Sub
View 3 Replies
May 11, 2011
I would like to develop a queue application in VB for a clinic, so that when a patient comes, he is entered in a queue as he waits. A doctor picks the next available patient in the queue and a message is posted in the screen for that patient to go to the doctors room. How do i do this?
View 21 Replies
Oct 29, 2009
below is the code I am working on. It is for a hospital cost form.
[code..]
I have a working version, but it doesn't meet the requirements completley.(I can post that if you need to see it) I am redoing this project and I am so stressed out. I may be overlooking something!
[code..]
View 14 Replies
Nov 14, 2009
I am having a problem linking the two other mods. I can't seem to be able to link CalcMiscCharges and CalcTotalCharges. I realize that I have just the CalcDayCharge being displayed. I am not getting any kind of errors, as of now.
Public Class frmHospitalStay
'Clears the form.
Private Sub btnClearForm_Click(ByVal sender As System.Object, ByVal e As
[CODE]...
View 10 Replies
Jul 4, 2009
I try to make a monitoring solution to work on my PC for monitoring others' activities on my PC.I have wrote a simple programm for key logging using keyDown event with keyPreview is true for form.what is the best way to make the code in an excutable form, is it by making it a "windows service" ?, if yes then how to do this?
View 1 Replies
Apr 26, 2010
Is it possible to write a key logger in Visual Basic.NET? Is this the right language to be using?So far, I've gotten a console app to read input and append to a file.1)How can I make a .NET program "catch" all keyboard input?
2)How do I make a process not show up in Task Manager?
This is not for a virus, but rather a parental control program for a specific clientele. No malicious intent here.
View 2 Replies
Jun 21, 2010
I am using vb to make a hospital system which works with a access database. i am having an issue with the updating function to the database, this time round instead of hard codding the connection i used the connection/data source wizard, in microsoft visual studio 2008 and there fore most of the code has been auto generated for me, which includes the insert, delete and update funtions from what i can find and what i have read vb is ment to also auto generate this which it is not. the funny thing is that i can close the program down and reload it (as long as i haven't opened the database) and my changes are still there but if i go and open the database and it hasn't changed. also i can change the database through the use of the Dataset connections in the datasource tab but not int he program the code ive found and believe that is meant to update the database
This is running off a couple of buttons i also have a update query but have know way of accessing it
Me.Validate()
Me.TblPatientDetailsBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.PatientInfoDataSet)
View 1 Replies
Jun 20, 2009
I am trying to create a Screen Shot Logger. Anyone knows the code on taking a print screen if a click a button and it will be save as c:Fileimage.jpg
View 1 Replies
Jun 6, 2011
I have a gps logger which store the gps data into its internal memory .I have a description file for the data format and how to send commands to the logger to get data . this file is present at the following website L [URL]
I need to make a vb.net application that can download data from the gps logger . and to set its configuration parameters .
View 2 Replies
Jun 8, 2009
Trying to write a DLL logger that is independant of the executing application. How can I determine the DLL path?
View 11 Replies
Sep 13, 2011
I need to read data from a GPS logger that plugs into a computer using mini USB.
I need to do this with C# but ive never used C# before so i am completely clueless.
I dont need code right now though the first thing i need to do is just recognise what processes this task consists of. What method is used what are the things i need to do.
I really need it explaining in as simple terms as possible ive tried searching the net for it for hours but terminology is so complicated and im so clueless i dont think i would recognise the correct information if it hit me in the face.
View 2 Replies
May 3, 2012
when i create a new form i get this in the codePrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
View 4 Replies
Aug 24, 2010
I have a small form that notifies the user on the completion of events (such as SMO restore). I want this form to appear from various sources (such as the below SMO Restore complete event) so I guess I need to create a new thread before creating the form? As it could be called from outside the UI thread. (I also need to pass a string to this form)
[Code]...
View 1 Replies
Feb 16, 2010
I have a control that is created in the code behind and generates fine but I can't figure out how to create an event handler for it.I've found plenty of examples for it in C sharp, but none of them seem to apply to VB.
View 4 Replies
Mar 15, 2009
I already created a button "enjoy button" that i want to move in a form when the "timer start button" is clicked. how do link the timer to the "timer start button" and make it move?this is what i tried so far..
blankfirst-------------------------------------------------------------------------------Public Class MainForm Dim DX As Integer Dim DY As Integer Dim X As Integer Dim Y As Integer Dim Counter As Double Dim Y1 As Integer Dim Y2 As Integer Dim X1 As Integer Dim X2 As Integer------------------------------------then-------------------------------------------------------------
[code]....
View 4 Replies
Apr 9, 2010
in my project I create buttons dynamically
For i = 0 To btns.Count - 1
btns(i) = New Button()
btns(i).Text = names(i)
btns(i).Size = New Size(btns(i).Text.Length * 15, 25)
[code]....
I need to specify a handler for each button that retrieves the button text how can I do this?
View 6 Replies
Sep 3, 2010
I have an assignment to complete, that for the most part is half way done, the application starts with the number zero (0) and anytime the count button is pressed, the a one (0) should be added to the output label?
Public Class CounterForm
Private Sub countButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles countButton.Click
countTotalLabel.Text = Val(countButton.Text) + 1 End Sub
End Class
View 2 Replies
Dec 25, 2011
what is the error in the bleow: 'Public Event OnFilterAdded()' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. Note: the error line is italic underline
Imports System
Imports System.Collections
Imports System.Configuration
[Code].....
View 3 Replies
Feb 10, 2009
I am creating a keydown event that when the enter key is pressed it performs the button1_click event. I have this much:
if e.keycode = keys.enter then
//code here
endif
I just need to know how to make it perform the button1_click event.
View 6 Replies
Jul 21, 2010
I have written one application which communicate with one data logger unit (temperature monitoring unit) and download records after some interval. Unit continuously send current temperature which I have to show on screen and after each one hour I have to download log (all records saved inside unit at max 1024) from unit.
Now problem is after downloading log, application get hang or what we called working in background and resume after some time. If I pause debugger in visual studio 2008 it show control at application start (sub main) with message as "application will resume here after completing execution of current function". There is nothing in output window. So how can i trace is there any events got spool or what actually application doing in background.
View 1 Replies
Jun 19, 2012
I have a class that is in an assembly due to being required for other projects that I'm currently working on. One class lets call it Class Factory, creates a group of controls which require click event handlers to be attached, I have algorithms which determine polymorphic behavior based on certain features but that is relatively irrelevant.
Due to the event handler having to open up a specific form that isn't part of my assembly, and that form requiring this "Factory" class. Without creating circular reference is there any way I can essentially "delegate" the handler event for the form to define? As a simple work around I have had to maintain two separate classes, one in the project with the form and one in the assembly.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Width = 1500
Dim panel As New Panel
panel.Location = New Point(0, 0)
panel.Size = New Size(1000, 200)
[Code] .....
View 2 Replies
Mar 13, 2009
On SqlDataSource_Insert, I'm grabbing the users unique MemberID and adding to the db. Adding the MemberID works great. I also want to add a unique EventID for the event they are submitting, but the code that I'm using below just inserts a guid with all zeros.
Protected
Sub SqlDataSource1_Inserting(ByVal
sender As
[Code]....
View 3 Replies
Dec 21, 2011
I want when I create a node in a tree View object could enable a button and when remove all of the nodes disable my button again.How can I do this and which event is suitable for this work.
View 4 Replies
Jul 21, 2010
I have the following code which I use in another Form and it works perfectly. I copied the same code to another form, changed the controls, keys combinations, etc., but the keyboard shortcuts do nothing at runtime. None of the key combinations work, it throws no Exceptions,I put a MessageBox in the F1 KeyDown conditional, but it doesn't show. That tells me that it's not Handling the KeyDown Event.[code]
View 5 Replies
May 24, 2011
Im trying to create a diary system that on click event of the built in calander in vb.net opens the current diary entry for that day. i am using the my.settings variables to store the entrys the problems i am having is how to create a my.settings variable automaticly if one dosnt exist for that date (will be using the date of the clicked day as the name e.g. 10/5/2011)
So basicly i want the user to be able to click through the dates on the calander and the entry be displayed in a text box next to it, blank if nothing is there and the user can edit/save them after just need the code to auto create and i guess how to search the my.settings im quite new to using this storage, i normally use text files. the pic shows the program so far, it has one diary entry but it has no relation to the date. the label is linked to the calander also , displaying the selected date.
View 2 Replies
Aug 11, 2011
im trying to create a diary system that on click event of the built in calander in vb.net opens the current diary entry for that day.i am using the my.settings variables to store the entrysthe problems i am having is how to create a my.settings variable automaticly if one dosnt exist for that date (will be using the date of the clicked day as the name e.g. 10/5/2011)so basicly i want the user to be able to click through the dates on the calander and the entry be displayed in a text box next to it, blank if nothing is there and the user can edit/save them afterjust need the code to auto create and i guess how to search the my.settingsim quite new to using this storage, i normally use text files.the pic shows the program so far, it has one diary entry but it has no relation to the date.
View 2 Replies
May 22, 2011
I've been working on creating forms and objects through code in the the load event of Form1, truthfully theres a few questions I have under this one category but to start I want to create a button click event that will check what button was pressed then set that button to a variable. I want the event to treat the button that was clicked like it was that buttons click event.Here's a shortened version of my code (Lol if you can call this short):
[code]...
View 3 Replies