Hi,
I am trying to make an autotyper using this code:
Sendkeys "Text"
This code causes an error that says "permission denied"
My OS is Windows Vista and I use vb6.
Any help would be appreciated.
Hi,
I am trying to make an autotyper using this code:
Sendkeys "Text"
This code causes an error that says "permission denied"
My OS is Windows Vista and I use vb6.
Any help would be appreciated.
You need to update your VB6. Microsoft patched the MSVBVM60.DLL to fix the problem. Try here - http://msdn.microsoft.com/en-us/vbrun/aa662927.aspx
Thanks for trying to help but this didn't work. I don't think my vb6 version is the problem.
A couple of different things may do the trick...
1) upgrade your sp to vs6sp6b.exe http://www.microsoft.com/downloads/details.aspx?familyid=9EF9BF70-DFE1-42A1-A4C8-39718C7E381D&displaylang=en
2) turn UAC off
3) learn API SendMessage with WM_SETTEXT Const (you may or may not need some combination of the following... FindWindow, EnumWindows, EnumChildWindows, PostMessage)
Good Luck
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.