Results 1 to 6 of 6

Thread: Help On Key Function

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Pakistan
    Posts
    436

    Help On Key Function

    I have deveoped a calculator and i want to use it from any where within my project, By a single line command. Suppose user is running issue program and he want to calculate some figure , he needs to press just F2 or F10 and calculator form appear in front of screen. But it should be a single line command.

  2. #2
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    Why should it be a single line command?
    anyway
    VB Code:
    1. Call Shell(calc_exe_path)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Pakistan
    Posts
    436
    Does it work for entire project or a from , if it is for entire project then where this command should be placed

    thanx

  4. #4
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: Help On Key Function

    Originally posted by zubairkhan
    I have deveoped a calculator and i want to use it from any where within my project
    Is it a form in your project¿
    Or a seperate program¿
    VB.NET MVP 2008 - Present

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Pakistan
    Posts
    436
    i have multiple forms in project and i want to use this shell from any where in project, but i do not want to write command line for each form.

  6. #6
    Fanatic Member sridharavijay's Avatar
    Join Date
    Sep 2002
    Location
    http://www.vijaysridhara.in
    Posts
    589
    Then I believe you need to create an Addin to VB and register a hot key for that....

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