Results 1 to 5 of 5

Thread: Creating Vbs in VB

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    348

    Re: Creating Vbs in VB

    im getting a invalid character error here.

    VB Code:
    1. print #1, "objShell.SendKeys"{Tab}""

  2. #2
    Addicted Member sigid's Avatar
    Join Date
    May 2006
    Location
    Massachusetts, USA
    Posts
    182

    Re: Creating Vbs in VB

    Try something like this:
    Dim s As String

    S = "objShell.SendKeys" & CHR$(34) & "{TAB}" & CHR$(34)
    Print #1, S

    ...does this work?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width