Results 1 to 5 of 5

Thread: Forms on Program dont show when installed

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2006
    Posts
    4

    Forms on Program dont show when installed

    I used package and deployment wizard to install an application I wrote. However when i go to run it after installation, it runs but the form does not show up on the screen. When the program starts it loads the main form, on the Form_Load event of the main form i use a form.show vbmodal command to display an user prompt form first. THis is the only thing that seems to differ from programs of the past. It runs fine if i just use the exe file that you can build in VB. If i run the package and deployment wizard and install the program nothing shows up when i go to run it, but it is still running. It does show up in Windows Task Manager. Any ideas?

  2. #2
    Addicted Member
    Join Date
    Jun 2006
    Location
    Egypt
    Posts
    162

    Re: Forms on Program dont show when installed

    Maybe errors in the shortcut , try to run the file from the Program files folder
    Mohammed Sayed - Egypt - Anesthetist



    =

    =

  3. #3
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: Forms on Program dont show when installed

    Quote Originally Posted by cjsmith411
    i use a form.show vbmodal command to display an user prompt form first.
    If you use Me.Show vbModal it won't show up in the Taskbar either just leave of the vbModal
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2006
    Posts
    4

    Re: Forms on Program dont show when installed

    Took out the vbModal that seemed to help, I also had some file I/O and forgot to include those files, once I did that helped too. Works now. THANKS!

  5. #5
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: Forms on Program dont show when installed

    If this topic is resolved you can edit the topic title and add [Resolved] then add the grren tick mark.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

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