Click to See Complete Forum and Search --> : Using MSComm on computers WO Visual Studion on them


Bjarki
February 16th, 2000, 07:33 AM
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

Kyle Burns
February 16th, 2000, 07:37 AM
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.

Cakkie
February 16th, 2000, 07:37 AM
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
slisse@planetinternet.be

The best way to escape a problem, is to solve it.

Weasel
February 16th, 2000, 07:44 AM
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.