-
Apr 12th, 2006, 07:06 PM
#1
Thread Starter
Frenzied Member
[2005] sendkeys & special characters
is there a way to use special characters and sendkeys? if not, is there something i can do that is like sendkeys but allows special characters.
-
Apr 12th, 2006, 07:12 PM
#2
Re: [2005] sendkeys & special characters
-
Apr 12th, 2006, 07:18 PM
#3
Thread Starter
Frenzied Member
Re: [2005] sendkeys & special characters
Originally Posted by eyeRmonkey
that doesnt allow special characters. i dont mean f8 and {enter} and such i mean like the alt + #'s stuff(not all allowed).
-
Apr 12th, 2006, 07:21 PM
#4
Re: [2005] sendkeys & special characters
If you had read the page, you would seen that you nedd to put + and # inside brackets like so:
-
Apr 12th, 2006, 07:26 PM
#5
Thread Starter
Frenzied Member
Re: [2005] sendkeys & special characters
Originally Posted by eyeRmonkey
If you had read the page, you would seen that you nedd to put + and # inside brackets like so:
but i dont know the alt codes of the special characters.
-
Apr 12th, 2006, 09:34 PM
#6
Thread Starter
Frenzied Member
Re: [2005] sendkeys & special characters
Originally Posted by high6
but i dont know the alt codes of the special characters.
any help?
-
Apr 13th, 2006, 01:02 AM
#7
Re: [2005] sendkeys & special characters
All of the "alt codes" are listed on that link. Why don't you take a moment and read through it?
-
Apr 13th, 2006, 05:02 AM
#8
Re: [2005] sendkeys & special characters
Originally Posted by high6
any help?
Hi,
Here's the link with the Keys Enumaration;
http://msdn.microsoft.com/library/de...classtopic.asp
Wkr,
sparrow1
-
Apr 13th, 2006, 05:13 AM
#9
Thread Starter
Frenzied Member
Re: [2005] sendkeys & special characters
Originally Posted by eyeRmonkey
All of the "alt codes" are listed on that link. Why don't you take a moment and read through it?
but it shows up as a box and it needs to be the exact thing for it to work.
is there a way to just be able to copy the box and use it.
-
Apr 13th, 2006, 05:46 AM
#10
Re: [2005] sendkeys & special characters
Originally Posted by high6
is there a way to use special characters and sendkeys? if not, is there something i can do that is like sendkeys but allows special characters.
Hi,
Did you see my link in post 8, you can find a list with all the Keys enumeration.
About your special Characters you can use something like this, it's with a RichTextBox:
VB Code:
Private Sub RichTextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles RichTextBox1.KeyPress
Dim asciiInt As Integer = Asc(e.KeyChar)
Select Case asciiInt
Case 48 To 57 'Numbers
Call Beep()
e.Handled = True
Case 8 'BackSpace
Call Beep()
e.Handled = True
Case 32 'Space
Call Beep()
e.Handled = True
Case 97 To 122 'Letters
Call Beep()
e.Handled = True
Case 65 To 90 'Capital Letters
Call Beep()
e.Handled = True
Case 45 'Dashes
Call Beep()
e.Handled = True
Case 59 'semi-colon
Call Beep()
e.Handled = True
Case Else 'everything else...
e.Handled = False
End Select
End Sub
Hope it helps you in the right direction.
Wkr,
sparrow1
-
Apr 13th, 2006, 05:50 AM
#11
Thread Starter
Frenzied Member
Re: [2005] sendkeys & special characters
this doesnt help... i need to be able to send the special char from copy and pasting into the app and sending it like sendkeys.
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
|