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.
Last Edit: Feb 28th, 2007, 8:54am by lithiumjohn
IP Logged
Andrew FabulaTech Forum Moderator
Moderator FabulaTech Forum Senior Member
Gender: Posts: 427
Re: Add Virtual Serial Port Control VS 2005 Reply #3 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.
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.
IP Logged
Andrew FabulaTech Forum Moderator
Moderator FabulaTech Forum Senior Member
Gender: Posts: 427
Re: Add Virtual Serial Port Control VS 2005 Reply #5 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.