GavZ Mostly Beginners Luck! Local time Today, 05:22 Joined May 4, 2007 Messages 56 Aug 14, 2007 #1 Hi - Is it possible to change a letter to two leeters up from what you type? For example when you type an 'a' you get a 'c' Thanks in advance
Hi - Is it possible to change a letter to two leeters up from what you type? For example when you type an 'a' you get a 'c' Thanks in advance
Guus2005 AWF VIP Local time Today, 06:22 Joined Jun 26, 2007 Messages 2,642 Aug 14, 2007 #2 use the keypress event and echo chr$(KeyAscii+3) to the control. This should point you in the right direction
use the keypress event and echo chr$(KeyAscii+3) to the control. This should point you in the right direction
P PeterF Registered User. Local time Today, 06:22 Joined Jun 6, 2006 Messages 295 Aug 14, 2007 #3 You can use the KeyDown event for that, something like Code: Private Sub YourControlName_KeyDown(KeyCode As Integer, Shift As Integer) KeyCode = KeyCode + 2 End Sub You will need some kind of check for results after the Z.
You can use the KeyDown event for that, something like Code: Private Sub YourControlName_KeyDown(KeyCode As Integer, Shift As Integer) KeyCode = KeyCode + 2 End Sub You will need some kind of check for results after the Z.
GavZ Mostly Beginners Luck! Local time Today, 05:22 Joined May 4, 2007 Messages 56 Aug 14, 2007 #4 Thats brill - Thanks both!!
GavZ Mostly Beginners Luck! Local time Today, 05:22 Joined May 4, 2007 Messages 56 Aug 15, 2007 #5 I have got it to work ok with the keypress function and chr$(KeyAscii+3) Is it possible to do the above and change each letter of a string with a button?
I have got it to work ok with the keypress function and chr$(KeyAscii+3) Is it possible to do the above and change each letter of a string with a button?
Oldsoftboss AWF VIP Local time Today, 14:22 Joined Oct 28, 2001 Messages 2,499 Aug 15, 2007 #6 I think this may be what you are trying to achieve... Well sort of, anyway. Dave Attachments Encrypt Example.zip Encrypt Example.zip 21.5 KB · Views: 110
GavZ Mostly Beginners Luck! Local time Today, 05:22 Joined May 4, 2007 Messages 56 Aug 15, 2007 #7 Cheers Dave but can you post it in A97 please Thanks Gav
Oldsoftboss AWF VIP Local time Today, 14:22 Joined Oct 28, 2001 Messages 2,499 Aug 15, 2007 #8 Access 97... is that still around? The attachment has been converted but not tested (I dont have A97 on any of my PC's) You may have to reset references. Dave Attachments Encrypt Example97.zip Encrypt Example97.zip 7.2 KB · Views: 91
Access 97... is that still around? The attachment has been converted but not tested (I dont have A97 on any of my PC's) You may have to reset references. Dave
GavZ Mostly Beginners Luck! Local time Today, 05:22 Joined May 4, 2007 Messages 56 Aug 16, 2007 #9 Thats Great - Have to work in A97 at work - cheapskates wont buy a newer version! Thanks Gav
Oldsoftboss AWF VIP Local time Today, 14:22 Joined Oct 28, 2001 Messages 2,499 Aug 16, 2007 #10 I use it to store logon passwords in a table. I thought that storing the actual password was a bit obvious, so I use this method to store and retreive them.
I use it to store logon passwords in a table. I thought that storing the actual password was a bit obvious, so I use this method to store and retreive them.