CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2013
    Location
    United States
    Posts
    6

    Unhappy VB6 Application(.exe) is missing controls!!! Help!

    Hi, guys. I have packaged my VB6 application which I designed from a Windows 7 computer. After I install the program on other computers and run it, I noticed all label controls, shape controls and image controls were missing (without error messages). The same happens to installations on computers running vista and win2000 and XP. It also happens to Win7 computers, other than the one that I have Visual Studio 6 on (the computer I developed from). I have checked all my OCX files and they are all there.

    Please, could someone help me with this? Thanks in advance.

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: VB6 Application(.exe) is missing controls!!! Help!

    When you say you packaged the app I assume you mean that you use the PDW and built a setup.exe for it which you then installed on the target machine?

    When you say you checked the ocx files you are talking about the target machine, the setup or your local machine?
    Always use [code][/code] tags when posting code.

  3. #3
    Join Date
    Feb 2013
    Location
    United States
    Posts
    6

    Re: VB6 Application(.exe) is missing controls!!! Help!

    Yes,I used PDW and Installed onto various Windows Platform machines. The target computers are the ones not displaying the controls. Datamiser for coming forth.

  4. #4
    Join Date
    Feb 2013
    Location
    United States
    Posts
    6

    Re: VB6 Application(.exe) is missing controls!!! Help!

    Sorry, my last sentence was wrong. I meant to say, "Thanks, Datamiser, for coming forth".

  5. #5
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: VB6 Application(.exe) is missing controls!!! Help!

    Ok but you did not answer the other question I asked about the ocxs you mentioned.
    Always use [code][/code] tags when posting code.

  6. #6
    Join Date
    Feb 2013
    Location
    United States
    Posts
    6

    Re: VB6 Application(.exe) is missing controls!!! Help!

    Oh. Sorry. Yes I included all the activex files needed by my application in the setup. That includes mscomctl.ocx, comdlg32.ocx, msado20.tlb, msbind.dll, mscal.ocx, msdatgrd.ocx, msderun.dll, mstdfmt.dll, tabctl32.ocx and vbstkit.dll.

  7. #7
    Join Date
    Feb 2013
    Location
    United States
    Posts
    6

    Re: VB6 Application(.exe) is missing controls!!! Help!

    Would this problem appear if i built my form using Forms 2.0?

  8. #8
    Join Date
    Feb 2013
    Location
    United States
    Posts
    6

    Re: VB6 Application(.exe) is missing controls!!! Help!

    Would this problem appear if i built my form using Forms 2.0?

  9. #9
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: VB6 Application(.exe) is missing controls!!! Help!

    Can't say for sure but you are not supposed to distribute those so may be
    Always use [code][/code] tags when posting code.

Tags for this Thread

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

Featured