Manage The Keys State In Program?
Nov 27, 2010
I Want manage the keys state in my program(in vb 2010) but 'key press event' cant manage more than a key in a time.i want manage keys for commanding something.(for example if "CTRL AND AIT AND Shift And "A" and "S" was pressed do something)
View 3 Replies
ADVERTISEMENT
May 4, 2009
How can I get the state of a modifier key using VB.NET on the Compact Framework, in this case Windows Mobile 6.1. I want to be able to determine if the following keys are pressed or locked:
Shift
CTRL
ALT
and for the Psion Teklogix machines
Orange
Blue
Although I may be able to work this out, if I can determine the others.I want to create my own on-screen indicator panel and want to poll the keys, not using events.
View 1 Replies
Jul 26, 2009
I want to know that what we use to manage another computer.
View 2 Replies
Dec 19, 2010
I'm trying to findout a way to manage another program windows programaticly. Such as enable/disable minimize/maximize buttons and whole border frame itself. Also i'm trying to prevent or disable showing that program on taskbar.
I'm trying to write a program wich culd run several other and grind them on screen without border frames or/and without buttons.
View 8 Replies
Nov 11, 2010
I am looking for code do the following. Am working in an stockroom in a factory and am looking to write a program to manage stock in the storeroom. want to issue stock/ to members and receive it back from them so that dbase will be update at all times. really do not want to reinvent the wheel. all programs that i see out there does not cater for the handing and taking back of items given to a spesific employee...
View 2 Replies
Feb 5, 2009
Im creating an EPOS system and nearing the end of the application.I need to connect my newly acquired barcode reader to the form in vb.net so that whenever I scan an item in the items ID number appears in the necessary textbox.After some research I have bought the relevant barcode reader making sure it supports the relevant barcodes including retail.I have plugged it into the computer through the usb port, it has installed automatically all of the relevant drivers, and below is the code Im using in vb.The below code is include for where the form loads up:Me.KeyPreview = True
View 4 Replies
Nov 2, 2009
I'm Jojo and i'm developing a program to help ppl in WoW.There's just 1 function which I can't manage to figure out, the program has to switch to the WoW window when I click a button.
View 19 Replies
Oct 18, 2009
I dont know how to do this at all. How can I make a program that can manage the startup programs (ex. Disable, delete, enable, exc. the startup programs) I don't know where to start. On a separate note, how can I make a file that executes multiple programs? I will provide more detail if needed.
View 19 Replies
Jun 24, 2010
I want to make a program to manage my homehub 2.0 router.There's a reset option which requires a piece of script to be run;
<script type="text/javascript">
<![CDATA[
var restartButton = new Button("restart","","Restart my BT Home Hub",function(){restart_ajax();});
]]>
</script>
I think this will cause my router to reset, although I'm not sure.How would I get this to run in a vb.net program?
View 6 Replies
Jun 3, 2010
i want to make a simple program where i can add/edit or delete a shortcut from an installed programs in my computer.
let say c:program filesmicrosoft officeoffice11winword.exe.
the purpose of this is i want some of my selected programs to be in a single window where i can click to open so i don't need to go to start then programs and open that specific program.
i want to run that program in startup so everytime i start my computer the shell or the program is already running and i could click the program that i want on that window.
View 2 Replies
Nov 10, 2010
I want to write a program to manage my pets and vet visit information. I have areadycreated a database but I don't like the interfac
View 2 Replies
Nov 30, 2011
Public Class Form1
Class Member
Public Name As String
[code]....
This is what i have so far and its giving me headaches to fix it someone please help with this code assuming that the names and phone numbers of all members are stored in alphabetical order by last name , then by first name in text file residents.txt
View 1 Replies
Mar 12, 2009
i want my program to understand what i push the key "+" for example and do something. i can write this "something" but i dont remember how to make it see when i push the keyboard keys (NOTICE: i want the program to see the keyboard keys even if the program is minimized and another program is maximized)
View 5 Replies
Oct 21, 2008
I have a problem detecting whether one of the arrow keys is pressed, all the other keys seem to be detected apart from the arrow keys??? I have set key preview to True........ It detects the arrrow keys BUT ONLY if I have NO other controls on the form??? example..
Me.Text = e.keycode
It works, but then if I add a button for example, it stops.
View 3 Replies
Aug 15, 2011
Here is, basically, how my application works:
When windows starts, my app starts. Whenever my app is running, it hides the desktop, taskbar, etc... When a button is clicked in my application ("Start program"), then my application will set its visible property at false and another application will start.
Everything seems to work perfect except I need a way for my application to set its visible property back to true, but only once the other application that was started earlier, is closed (no longer running.)
My thought was that I could use a timer to check for the applications state every so many seconds:[code...]
I have 2 concerns with this:
1. A timer checking this every few seconds will invoke unneeded stress on a computer since they are running for sometimes very long periods of time.
2. There is a better way to accomplish this that doesnt rely on a timer.
View 2 Replies
Jun 15, 2010
Displaying the State Abbreviation am using radio buttons to look up state and state Abbreviation also.My issues is the box where the State and State abbreviation show become invisible and cause error[code]...
View 21 Replies
Feb 8, 2010
I am making a program for my workplace. The program is going to close explorer.exe on start up and launch only applications i select. (I know that there are other ways to do this, but I'm getting paid to make a custom program W/ Co. Logo)
1st question: How do i make the program close explorer.exe on start up
2nd question: End users will be able to change the background of this app. My question is, How do i save the background the end user pick on program exit and load it on program start? [code]...
View 2 Replies
Oct 15, 2011
How can i disable view state in vb.net,so that i have the properties of labels as i left,when i return to a page.i am developing a windows application.
View 2 Replies
Mar 23, 2012
What is the best way to save the state of a program. Maybe that is not the right way to describe it but, what I mean is almost any application you can input a whole bunch of data make selections and choices and then save these in files unique to the application your working with.
For the time being I will ask my question in term of VB.NET since it is what I am currently working with. I understand the use of the stream writer to write data to a file (any file extension can be used even your own made up one) and then you can later open the file with the stream reader and load the saved application state. At least that is what I know how to do. Are there other ways to approach saving the state? In my case I have a dictionary that is defined through user input to store a lot of data and I am trying to find the best way to save the dictionary so I can load it again.
View 2 Replies
Mar 16, 2011
Iam looking for a way to save a checkbox' state between runs. So that if a checkbox is checked and the program is the closed down, it will remain checked when the program starts up again and vice versa. I've found som deferent guides around the web but i cant seem to get it to work..
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Dim ExtApp As Integer
[code].....
View 5 Replies
Jul 23, 2009
I'm working on a small project that will take Screen shot in several modes, the big problem that I'm facing currently is that I don't know how to capture the user keys will my application is minimized or when it's not the active window, i must do so if i want to let the user capture anything without having my application hiding the object (window) he want to its screen shot.
View 2 Replies
Nov 10, 2009
Im making an key counter and ive got the program to count all keys at the time, i just can't count mouse buttons, i would really like to have help with this, if any of you wanna help im online at my own IRC chat. [URL]..
View 2 Replies
May 2, 2010
Is there a way to make it so if you pressed a button for example, it would "press" the enter key or something similar.
View 14 Replies
Jan 12, 2011
I'm helping a friend port some code that I have written in Java to Visual Basic.NET. VB.NET is not my language of choose, so I am entirely new to it's quirks. How can I display keys from a HashTable in a ListBox?
View 2 Replies
Sep 4, 2011
I am wondering on how to write the code such that the program will respond when 2 arrow keys are pressed at the same time. In other words, I would like to have the program to behave like a racing game.
View 1 Replies
Dec 2, 2011
What I am looking to do is write a VB.NET program, as a service that reports anything on client1 that I want (say the fact it is online) to a database on the internet, so I can look on management1 and see the online status of the machine (assuming management1 has a connection to the online database).
What is being reported doesn't matter, what I am looking at is a starting point to create a system like that. I have googled obviously and come up with nothing, I'd just like a "starting point" or some documentation to look at for creating something like this. The service doesn't look too difficult but the periodic reporting of online status or ANYTHING to any kind of database is not something I am sure how to deal with.
I already have setup a VBS that reports information to an ASP script that then places it in a database but I don't know how I would create say a "keep alive" connection for a vb.net service.
View 1 Replies
May 17, 2010
I've been hired at a company to fix some bugs and make some improvements to their in house programs. The program I am currently working has been written in Visual Studio 2005, in Visual Basic specifically. The program is used to connect to a database on a server and provide various information. However, I have run into a snag where the program will refuse to connect to the database when it using a user account and password that has been set up on the database. When I look at the logs i see it is giving the error as stated above, however, I have double and triple checked the password both on the database and the one hardcoded into the program and they are identical yet it still logs that there is a password mismatch. Has anyone run into this problem or figured out a solution towards fixing it, I will be much obliged.
View 6 Replies
Dec 14, 2009
I have this code for my shortcut keys
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.Shift = True And e.KeyCode = Keys.F3 Then
'Do something
End If
But I also have a button to send my program to the System tray like so:
NotifyIcon1.Visible = True
Me.Visible = False
How can I get my shortcut key to work while my program is in the system tray?
It doesn't work while its a notify icon
View 1 Replies
Oct 21, 2011
I want to make a simple program that will click certain keys on my keyboard at a certain interval. I have VB10. Could someone provide me with some code?
View 7 Replies
Sep 13, 2010
I was wondering if there is any way to make a program recognize a keyboard shortcut while its not the active program
View 1 Replies