CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 1999
    Location
    Iceland
    Posts
    10

    Using MSComm on computers WO Visual Studion on them

    Hello

    I am tring to use MSComm in my VB program and the program only works one computers with Visual Studio sett up on them. I buld the project as a static library. The program works fine until I add the MSComm control to my project (Dragg it into my dialog) or I use a MSComm object. I also add MSComm to my project even though it does not stop the program from working. The program says a DLL is not on the computer do need to copy that DLL to all the Computers that use this program. Any help would be great.

    Thanks
    Bjarki





  2. #2
    Join Date
    Feb 2000
    Location
    Indiana
    Posts
    308

    Re: Using MSComm on computers WO Visual Studion on them

    VB does not provide static linking. You need to either build an install program for your app or manually copy and register the files that your project references. Your best bet would be to go with an install program.


  3. #3
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Using MSComm on computers WO Visual Studion on them

    When creating a setup program, the wizard will check to see what component are used. When you have added a mscomm control to your project, he will automatically add this. When installing the program, you will automatically copy the needed dll (probaly mscomm.dll or mscomm.drv).

    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  4. #4
    Join Date
    Feb 2000
    Location
    South Carolina, US
    Posts
    36

    Re: Using MSComm on computers WO Visual Studion on them

    Findand run:
    "Your VB Directory"\setupkit\kitfil32\SETUPWIZ.EXE
    It will tell you what you need to send with your prog. The directory also
    comes with the MAKECAB program if you want to use it, but PKZIP is probably
    better for ease of handling.




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