FabulaTech Forum (http://www.serial-port-mapper.com/forum)
Serial Port Solution >> Virtual Serial Port Control >> Add Virtual Serial Port Control VS 2005
(Message started by: lithiumjohn on Feb 27th, 2007, 11:44am)

Title: Add Virtual Serial Port Control VS 2005
Post by lithiumjohn on Feb 27th, 2007, 11:44am
Your instructions for adding the control don't work with Visual Studion 2005, there is no:

Project -> Add to Project -> Components and Controls

How do you add this control using VS 2005?

Title: Re: Add Virtual Serial Port Control VS 2005
Post by Andrew on Feb 28th, 2007, 7:20am
To add control using VS 2005 you have to:

1. Create Visual Basic Window Application

2. On Toolbox, click right mouse button and choose "Choose items..." in context menu.

3. Click on "COM Components"

4. Find and check "Fabulatech Virtual Serial Port Control"

After that, control must appear on the toolbox in "Components".

Drag-n-drop it onto your form.

Title: Re: Add Virtual Serial Port Control VS 2005
Post by lithiumjohn on Feb 28th, 2007, 8:53am
OK, all of that works.  How do I get Visual Studio to add the new class for the control?  The impression I get from the help file supplied is that should be created when I add the control.

Title: Re: Add Virtual Serial Port Control VS 2005
Post by Andrew on Feb 28th, 2007, 10:57pm
Actually, yes. Every time you add control on your form, Visual Studio adds new object. Just double-click on control's icon on the form and you will get into editing OnVComm subroutine and there you will get name of created object.

Also you can check Form1.Designer.vb file (Form1 is the name of the form). Here you can find objects initialization.

So, everything is done automatically.

Title: Re: Add Virtual Serial Port Control VS 2005
Post by lithiumjohn on Mar 1st, 2007, 6:06am
Well, either I'm really dense, or it's not working.  I have the form, and I double-click on the form, and the properties window opens, and that's it.  I can right-click on the control on the dialog, and I get the standard right-click menu.  

You're talking about a VB file, but I'm using C++, perhaps we're talking apples and oranges here.  I need to add this control to a MFC C++ project.


Title: Re: Add Virtual Serial Port Control VS 2005
Post by Andrew on Mar 1st, 2007, 8:17am
It seems really there is a problem with VSPC + VS2005 + C++ MFC. Anyway, our developers are trying to resolve this issue.
I'll post results when we have working solution.

Title: Re: Add Virtual Serial Port Control VS 2005
Post by Andrew on Mar 2nd, 2007, 4:32am
We've resolved the issue with VS2005.

Please try new version:
http://www.virtual-serial-port-control.com/vspc-data/2.3.3/virtual-serial-port-control.zip

Awaiting your reply