|
-
Jul 8th, 2008, 11:12 AM
#1
Thread Starter
Lively Member
TSR's
This may not be a VB question per se:....but in the good old days, we could write Terminate but Stay Resident code that would execute in the autoexec.bat file. So, when the user (for instance) hit a <Control E> key the tsr would execute based on that keyboard interrupt. Is there any equivalent in XP that would allow me to execute a VB program based on a special or function key irrespective of where the "focus" is? Thanks for any advice.
kgb
-
Jul 8th, 2008, 11:29 AM
#2
Fanatic Member
Re: TSR's
Nothing has changed and you can still use batch files. Just place the command you wish to execute inside it. Next you need to create a shortcut pointing to the bat file. Finally assign a key to this shortcut using the properties of the shortcut.
CLanguage; 
IF Post = HelpFull Then
RateMe
Else
Say("Shut UP")
End If
DotNet rocks
VB 6, VB.Net 2003, 2005, 2008, 2010, SQL 2005, WM 5.0,ahem ?OpenRoad?
-
Jul 8th, 2008, 01:53 PM
#3
Thread Starter
Lively Member
-
Jul 8th, 2008, 07:56 PM
#4
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 10th, 2008, 10:43 PM
#5
Re: TSR's
if you create a shortcut for the program in question, all you have to do is right click on the shortcut and look at the properties. You can assign a hotkey to any shortcut you've created, and it doesn't matter where it is on the drive.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|