Re: Error !!!!!!!!!!!!!!!!
You need to ELEVATE Visual Studio in order to compile/test apps. VB6 - VS2010
Re: Error !!!!!!!!!!!!!!!!
Thanks reply David , but can you please clarify , l am not an expert
Re: Error !!!!!!!!!!!!!!!!
Click the Start Button, in the SEARCH BOX, type Visual Studio and you'll see it at the top of the menu bar. (or find it in All Programs). Right click on the correct version, and select RUN AS ADMINISTRATOR. Give it permission, and then it will work.
Re: Error !!!!!!!!!!!!!!!!
Forgot to mention that David , but VB6.exe including the exe of the project l am working on l run them all as administrator but the code is not working .
Re: Error !!!!!!!!!!!!!!!!
What are you trying to send a key to?
Re: Error !!!!!!!!!!!!!!!!
In a listview by pressing 'Enter' to jump from a column to the next
Re: Error !!!!!!!!!!!!!!!!
Re: Error !!!!!!!!!!!!!!!!
Of course mine , the one l use in my project
Re: Error !!!!!!!!!!!!!!!!
Re: Error !!!!!!!!!!!!!!!!
Did you try to send Chr(9) instead of "{TAB}"? It may work. I don't really know what you are trying to do but when I want to send the TAB string, I use the Chr(vbKeyTab) which I think is 9. Try that and give feedback!
Re: Error !!!!!!!!!!!!!!!!
"{TAB}" and Chr(9) do not work when running the project .
As strange as it may seem , they work though , when one makes a .exe and runs the exe
Re: Error !!!!!!!!!!!!!!!!
Use Keyascii = vbKeyTab instead of SendKeys "{TAB}"
This should solve your problem. I remember having that problem. When I want to use the Enter Key but I don't want to hear the 'ding' sound, I use Keyascii = 0. I'm pretty sure your problem will be fixed. Give me some news if it works or not!
Re: Error !!!!!!!!!!!!!!!!
Private Sub Dummy_KeyPress(Index As Integer, KeyAscii As Integer)
If KeyAscii = 13 Then
KeyAscii = vbKeyTab
End If
End Sub
If you mean this routine , no , it does not .
Doesn't matter though , as long as it works when you run the exe of the project
It definitely has to do with win 7/64 , but it's not worth going back to 32 bit just for that and some other minor difficulties one faces with 64 bit .
Thanks anyway