6 Replies - 2563 Views - Last Post: 10 December 2008 - 02:14 AM Rate Topic: -----

#1 sweetlipz  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 35
  • Joined: 01-December 08

how do add an application to another application

Post icon  Posted 03 December 2008 - 11:51 PM

jus wondering how to do this

i made a splash screen and then i made a separate Vb application that is a payroll calculator

I would like the splash screen to b displayed before the payroll comes up...but they are seperate applications

how do i link them together?

thx in advance
Is This A Good Question/Topic? 0
  • +

Replies To: how do add an application to another application

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4337
  • View blog
  • Posts: 12,137
  • Joined: 18-April 07

Re: how do add an application to another application

Posted 04 December 2008 - 12:09 AM

Well your splash screen was probably done on a form right? Well you can import that form into the other project and the code that goes along with it. Anything that was in your splash screen project, but not on the form, used to present the splash screen would have to be rewritten but the form itself and its controls, along with all events in that form's class can simply be imported.

Open your splash screen project folder in windows explorer, find the splash screen form file. Copy it to the folder where you have your other project.

Go to your application, right click the solution name in the solution explorer window and choose "Add" >> "Existing Item" and then browse to the folder that holds your project. Find the form file you just copied over and click the "Add" button.

Your form is now part of your project. :)

This post has been edited by Martyr2: 04 December 2008 - 12:10 AM

Was This Post Helpful? 0
  • +
  • -

#3 sweetlipz  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 35
  • Joined: 01-December 08

Re: how do add an application to another application

Posted 04 December 2008 - 02:26 AM

ur were really broad... i got to the splash screen section thingy and theres like 5 things that begin with form... which 1? and then were exactly do i paste? u said the payroll but like where...where all the other forms are or in the beginning

try to b a little more specific

note: wen i go to add then existing item...i can alrdy find wat im looking for there but wen i add it gives like 10 errors
Was This Post Helpful? 0
  • +
  • -

#4 sweetlipz  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 35
  • Joined: 01-December 08

Re: how do add an application to another application

Posted 04 December 2008 - 02:57 AM

wow im so mad...i was trying to copy the files and now i cant even open either of the projects without these crazy erriors...ffs
Was This Post Helpful? 0
  • +
  • -

#5 sweetlipz  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 35
  • Joined: 01-December 08

Re: how do add an application to another application

Posted 08 December 2008 - 07:12 PM

cmon guys i need haelp fast pls answer for me
Was This Post Helpful? 0
  • +
  • -

#6 darknoobie2  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 08-December 08

Re: how do add an application to another application

Posted 08 December 2008 - 07:57 PM

View Postsweetlipz, on 8 Dec, 2008 - 06:12 PM, said:

cmon guys i need haelp fast pls answer for me



Ok :) Open up your app project(not your splash). Now go to the solution explorer on the right top corner and right click and add another form. So now you should have form2 design. Make that your splash. Now add a timer to your form1. In the timer properties adjust the interval to how many seconds you want it to stay up. (1000 = 1 sec,2000 = 2 sec and so ).Also in the Timer1 properties change enabled to true.

Now in your form1 load sub type:

Timer1.enabled = true

form2.show()





In your Timer1_tick sub type:

  
form2.close()
Timer1.enabled = false

Attached File(s)

  • Attached File  test.zip (68.47K)
    Number of downloads: 67
  • Attached File  test.zip (68.47K)
    Number of downloads: 47

Was This Post Helpful? 0
  • +
  • -

#7 sweetlipz  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 35
  • Joined: 01-December 08

Re: how do add an application to another application

Posted 10 December 2008 - 02:14 AM

i got the app's linked and got the splash screen to come up first and dissappear after 3 secs like i want

only prob is the main app(not the splash) loads a split sec after the splash and covers it

i guess my quess is how do i make the main app load 3 seconds after i click debug(after the splash screen dissappears)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1