kerek2 10 Junior Poster

Hi All's,
I trying to develop new virtual keyboard for my on screen application using vb 2005. I can send a letter to cursor but just form one time only....how to send key to activewindows application at current cursor?...can anyone help me plz...

This is my coding:

SetActiveWindow(8975651603260375040)
        If CheckBox1.Checked = True Then

            Cursor.Current = Cursors.AppStarting
            SendKeys.Send("Q")

        Else
            Cursor.Current = Cursors.AppStarting
            SendKeys.Send("q")

        End If
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.