Check In / Check Out Application
Jul 11, 2010
i am new to the whole visual basic deal altogether and i'm sure i jumped into the hardest version. anyway i am trying to make a program for my band director so that when he checks-in/out uniforms its faster and easier. i have the checkout done but the check in is a bit of a trick. i need to read the data in from the file and whenever ", " that character is read it need to go to the next text box so it starts with textbox1 which is lastname and goes to textbox6.
View 14 Replies
ADVERTISEMENT
May 10, 2011
This is my problem.I have a field set up in MS Access to Boolean YES/NO, this field is populated when the user check a checkbox on a windows form. If the user check a checkbox, the value is written as checked in the data field (MS Access).The problem is when I search for the user information, I need the information from the Data base to populate(return) to the windows form. Example: If I enter a users phone number and the user data is present, the form gets populated with the information the user previously entered which was store in the database.Example: If the user selected checkbox1 and submits the form. When I search for the user info, the check box should check(populate) because the user had checked it on submit.Here is what I have done:
[code]...
I am getting the check value correctly in the database using a Boolean.Here is one of the errors I am getting. Unable to cast object of type
'System.Boolean' to type 'System.Windows.Forms.CheckBox.I am having trouble putting the codes in a code tag or block
View 1 Replies
Dec 15, 2011
My application is like this : i have to search my data from database with some check box and text box when user select check box specific function go on and then when user enters some range of value in textbox then the result will shown in data grid view after that i can print it by selecting data
my vb.net code is as follow:
Imports System.Data
Imports System.Data.SqlClient
Public Class XtraForm1
[CODE]............
I m also pasting the demo picture.
View 2 Replies
Apr 9, 2010
Details: I want to compare these above two table1 and 2 . The unmatched records should be save in a new table .
objectives
1 Should take input the table and fields we want to match each other.
2 Then after searching or reading the record from table and selected fields save the unmatch records in a new table
View 1 Replies
Oct 8, 2009
hi there,first of i know nothing at all and my goal is to make a app for xp to check a database and check/patch a iso and then to burn the result to dvd-dl, basically like a app called abgx360 checks the database then like xbox backup creator burns the game, i'd like to make a app to do both, i'm going to college next year in september to learn programing c+ andf a few other things, but thats a longtime away.
View 14 Replies
Jan 17, 2010
Is there a way to check specific pixels in a picturebox to check the color? Basically what I have is a black square with some white dots, and I want to find the position's in the picture of the white dots.
View 2 Replies
May 9, 2011
I have a Boolean that writes to a data field. The data field(column) is set to YES/NO, if the user check a checkbox, the value is written as check in the data field.The problem is when I search for the user information, I need to get to form to the state it was in when the user submitted it.
Example: If the use select checkbox1 and submits the form. When I search the form, I need to make that particular check box check.
[Code]...
View 6 Replies
Oct 23, 2008
I use check boxes and place them on my user interface (See attachment)I have coded the code for "select all" button :
Code:
Private Sub checkedall_Click(ByVal sender As System.Object, ByVal e As_
System.EventArgs) Handles checkedall.Click
Dim chkboxes, outs As New Collection()
[code]....
I could not seems to check all the boxes. Is there something wrong with it? I am not sure how to assign array to check boxes.
View 13 Replies
Jul 11, 2011
A couple of questions about check list boxes:
How to check/decheck all the item in the list How do you copy or delete all checked items in the list
View 1 Replies
Jun 4, 2011
How to check a check box based on a condition at run time?
View 3 Replies
Mar 6, 2010
How can i allow the user to only check one check box on a CheckedListBox1..I was thinking of using a timer but that might be a stupid thing to do.
View 3 Replies
May 11, 2009
I have an application that provides core services for a series of other applications.When another of these applications is started, I want to check that the service application is running and if not shutdown.What is the best method to check for the existence of the other app? I'm thinking that I should be using a global mutex in the services app and checking for it's existence in the other apps. Is this the correct way to proceed?
View 4 Replies
Jun 1, 2012
I was wondering if it is possible to check if a specific application is running when I open up a form.
If the application is running I want a label to say running, but if it isn't running then the label will say closed.
View 2 Replies
Aug 28, 2010
Is there any way to check if my application really has any dependencies?
View 3 Replies
Jan 21, 2009
I want to be able to test if an Excel application is already running on the computer. If it is, I want to use it to create and save a new file. Excel will remain open.If no Excel application is running, I will open Excel, create and save a new file, and then close Excel.
View 8 Replies
May 1, 2012
I've got an application which I want to only have 1 open.How would I make it check if the application is already open and only open if it isn't? I've had the idea of using 2 forms, one of which is the proper application and the other which just checks if its running then opens the other form.I would imagine it would check if there's more than 1 of the process name running and if there is close all others?
View 5 Replies
Apr 4, 2012
The application loads Patient info(PatientID, PatientName, Levels) from a .txt file on to the first form. The user then clicks the evaluate button and the patient information with cholesterol levels above 200 are displayed in three listboxes on the second form. The Second form exports that information to a .txt file and displays the total number today over 200 and the average
View 4 Replies
Feb 10, 2011
Using the Application Framework in a WinForms Project, I need to check conditions to determine whether the application should run at all and if it shouldn't run then I need to kill it before it even shows the main form. My conditional checking is occurring at the MyApplication.Startup event handler, so all I need is the method that shuts down or kills the current application.
I'm pretty sure this question's been asked a thousand times, a few of those even by me, but I can never remember the right language to get any useful info out of a Google or MSDN Search string.
It never hurts to try. In a worst case scenario, you'll learn from it.
View 6 Replies
May 26, 2010
while the application is running i'm using FileSystemWatcher to monitor the folder. But what if there are changes to the folder when the application is not running, how can I check for these changes when the application starts.(similar to how windows media player, for example, monitors your music folder. Even when you add songs to that folder when it is not running, it does discover them when it runs next time)
View 2 Replies
Aug 26, 2009
I have a simple console application which consists of a single executable and a DLL file. My project has a reference to the DLL. My question is how do I ensure the DLL is present in the same directory and prevent the console app from crashing? Although in reality the two files will probably never be separated, I want to make sure someone can diagnose the error without me there.
At first I tried adding File.Exists(PathToDLL) at the beginning of Sub Main(). If the file wasn't found, I was going to display a message and quit the application. But apparently if the DLL is referenced at any point in the code, a System.IO.FileNotFoundException is thrown regardless if the line is executed.
Is there some way to handle this in the executable itself without creating another executable to load that one?
View 2 Replies
Jul 25, 2010
How can I check if an application is running, and then kill it?I REALLY need it urgently because some random antivirus program attacked me, and it doesn't let me do ANYTHING! So I am planning to put the program on startup and kill it when it starts running.
View 5 Replies
Dec 21, 2009
I have created a control and have some code in constructor. This code should only run when application is running, but it also runs when i load form. Can I have some check if application is running or not?Faisal Saleem (Software Engineer)
View 6 Replies
Dec 3, 2009
I'm having a problem with some users, my vb tools always check at the splash screen a response from a server with a simple:
Dim MyResult as string = oWebclient.DownloadString("www.mydomain.com/page.php")
This actually works for most users but in some clients the firewalls I think they block this call or bypass or something like that, I found that after telling the user to turn off the firewall everything works ok, now I have some users that according to them they don't have a firewall or they already disable and still they have the problem.
You can see from the image the error message they receive, so my question is do you know any kind of free tool that I can send to the user to maybe log what program or whatever is blocking the program to connect?
View 6 Replies
May 15, 2010
Is it possible to Check if the Selected Application is a .Net Executeable ?
Like the User opens a OpenFileDialog selects a Executeable and the Program checks if it is coded with the .Net Framework.
View 4 Replies
Jul 30, 2011
The Enable Application Framework Check Box seems pretty well defined in a number oprevious postings, but leaves one question in my mind. The default is unchecked and the sub-topic Check boxes are:
Enable XP Visual Styles - - Checked
Make Single Instance Appllication - - Not Checked
Save My.Settings On Shutdown - -Checked
There are also 3 Combo Boxes:
Authentication Mode - - "Windows"
Shutdown Mode - - "When startup form closes"
Splash Screen - - (None)
When I un check the Enable Application Framework Check Box all items under it are grayed out. However, if I have changed one of the Comb Boxes my selection is also grayed out...My question is, have I lost the use of those function: Specifically I am mos interested in starting my application from a Sub Main and closing the application when all forms close.My underlying question is . . . are the greyed out selections still valid?
View 2 Replies
Jan 10, 2012
I need my application to check for internet connectivity on my user's computer. If there is, an image is displayed and if there isn't, a different image is displayed. Here's the code I used to get this to work:
Private Sub Window_Loaded(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles MyBase.Loaded
If NetworkInformation.NetworkInterface.GetIsNetworkAvailable Then
Dim bi1 As New BitmapImage
[code]....
I decided to test this on my own computer by changing my default gateway (thereby making it seem as if I lost connection). But I realized that the code still showed that I was connected. So I'm thinking that it's only checking for connectivity of the interface - which in this case, is my connection to the router (which is true, I was connected to the router).How do I check that the user's PC is actually connected to the internet? I read the article Check for Internet connectivity but it's in C# and I don't understand that.
View 1 Replies
Mar 22, 2012
I need to write a monitoring/watchdog program to check a series of application..The monitoring program should be able to Determine whether the applications it is monitoring has hang or no response If it hangs, restart the specific application.What sort of API in VB.NET can help me achieve this?
View 2 Replies
Jan 26, 2011
I am looking for a vb.net code for receiving e-mails without using any 3rd party libraries. I want to check Unread messages, Inbox and Sent messages. A Working sample is needed.
What is the default port for SMTP , is it port 25 (is it the same for all SMTP mail servers?). Which is more flexible in my case POP3 or IMAP ?
Edit: Someone please give me a sample working code for receiving mail using lumisoft (pop) in vb.net
View 2 Replies
Sep 19, 2009
How to set an application to check their reference assemblies first locally(root folder)then if fails globally(GAC)
View 4 Replies
Jul 30, 2011
How to check if my application is already running? So I can prevent it from starting twice.For example:My application is already running, the user is trying to run it again, a MsgBox shows and says that this application is already running.
View 2 Replies