Results 1 to 6 of 6

Thread: Problem using mscomm control

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    21

    Red face Problem using mscomm control

    hi..
    i developed a project using mscomm control in visual studio 6.0 and i created the exe file and run in a system with no visual studio and it shows the following error:

    Component 'MSCOMM32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid

    plz help..

    thanish..

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Problem using mscomm control

    Did you create an installer (setup) or just copy the files from one computer to another. If you created the setup then that will register the dependencys for the program on the computer you install on. If you just copied then did you copy just the exe for the program or did you copy the MSCOMM32.OCX also? If you copied both did you register the OCX?
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Problem using mscomm control

    Thread moved to the 'Application Deployment' forum, which is where questions about installing/distributing your software belong

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    21

    Re: Problem using mscomm control

    hi..
    i had installed vb 6 in my computer and develop the exe in my computer.. i copied the exe alone and tried in my another computer(with no vb installed)and i got the error.. what should i copy? wt to register? plz help

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Problem using mscomm control

    You can't just copy the EXE alone.

    You need to either create an installation package or package using reg-free COM. The latter is only useful on XP or later.

  6. #6
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Problem using mscomm control

    Sounds like a small project just use PDW built into vb6 from the addin's menu and install it to the target pc. If vista or Win 7 it might get more involved.
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

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