Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-22-2011, 11:07 PM   #1
Baseband Member
 
Chamblin's Avatar
 
Join Date: Jul 2009
Posts: 34
Send a message via MSN to Chamblin Send a message via Yahoo to Chamblin
Default Visual Basic 2010 Question

Hello, hope everyone is doing good tonight. I've been learning a little bit of visual basic. I can make small applications and so on nothing major though. But im curious... Are you able to write a code to make a program (that is running in the background, ex. minimized) appear in front of everything if you click say cntrl + C (hot keys you'd set)? I hope I explained this correctly.

Ex.

Your on facebook
You made a program you wanna use appear
So you click the hot keys you'd set.
The program will appear on top of all applications you was previously viewing.
__________________

__________________
Maximum Memory Capacity: 4096MB / Currently Installed Memory: 2GB / Available Memory Slots: 1 / Total Memory Slots: 2 / Dual Channel Support: Yes
CPU Family: AMD Athlon(tm) 7750 Dual-Core Processor Model 2, Stepping 3 / CPU Speed: 2712 MHz / Video Card: ATI Radeon HD 4300/4500 series / Approx. Total Memory: 1785 MB / Current Display Mode: 1280 x 960 (32) (60Hz)
Chamblin is offline   Reply With Quote
Old 05-23-2011, 09:43 AM   #2
7D8
In Runtime
 
7D8's Avatar
 
Join Date: Oct 2006
Posts: 209
Default Re: Visual Basic 2010 Question

Quote:
Originally Posted by Chamblin View Post
...Are you able to write a code to make a program (that is running in the background, ex. minimized) appear in front of everything if you click say cntrl + C (hot keys you'd set)?...
Yes, you can. You would have to rebind default Windows keys to make sure nothing is bound to those keys. You would have to go throught the OS to do that, unless you want to do it programatically, where the key set is rebound only when your application/service is launched.

The application that you write can be a stand alone application that eliminates the window and just runs in the system tray, or a windows service that runs constnatly in the background (as you are suggesting), and can launch an application based upon a key stroke.

I would go for the later. It is cleaner in my opinion.
7D8 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:06 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0