Results 1 to 5 of 5

Thread: Linking One project form to another

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    4

    Linking One project form to another

    hello,
    i wearn't sure where abouts to post this but here we go:

    basically i have made to different programs well still in vb form at the moment.
    i decided i wanted to add these together.
    so i went into one project and went file add project and added the otherone in. My only problem is that i am using a drop down menu and i want it so when i click on the option is want the form from the other project to appear.
    usually if the 2 forms were in the same project it would usually be Whatever.Show i think thats what i would be please correct me if i'm wrong. Just how do i connect a form from one project to a form from another project so that the form from the other project will appear.

    on another note if i got this working basically ones a html program and the other is a fully working on-screen keyboard. After getting one to pop-up when told to i would need it so when say i pushed the letter k n the onscreen-keyboard is would appear in the textbox on the other form. i haven't tried it because i can't get the first bit working but i doubt it would be as simple as telling it to put the text in the textbox that i named to it so for instance it might normally if it was on the same form be "Keyboard" but when linking to another project might it be "Project1(or whatever the project is calld)\Keyboard"

    All help is appreciated . . . .

    Thankyou

    Swerve_jnr

  2. #2
    Fanatic Member cid's Avatar
    Join Date
    Nov 2002
    Location
    Fort Worth, Texas
    Posts
    854

    Re: Linking One project form to another

    Do you mean?
    VB Code:
    1. Private Sub Options_Click ()
    2. If Case = "1" Then
    3. Form2.Show
    4. End If
    5. End Sub

    As far as the keyboard goes, I cant remember exactly but you have to mess with the keyascii function and trap the keys. When and if you reply back to this I will have an answer for you.

    www.google.com - Pay Tribute.

    Always Listening To: Thrice

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    4

    Re: Linking One project form to another

    i need this form that is in another project to appear when i click the option in the drop down menu.

    secondly this keyboard needs to be so that you push a key on the on-screen keyboard and the letter/number(whatever) will appear into the text box on the other form


    btw thx for the help so far

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Linking One project form to another

    Things would be so much simpler if everything were in just one project. Why are you using two different projects?

  5. #5

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    4

    Re: Linking One project form to another

    i would but i'm 13 and was only taught ertain things and colledge

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