PM3 Active X Control and Visual Studio 2008
PM3 Active X Control and Visual Studio 2008
I have just started playing with the PMI Active X control. It is a fantastic starter and works exactly as it should in vb in excel.
The problems come when I try to use it in VB.net in visual studio 2008.
If I drop the interface control on the form there is no problem.
If I drop the text control on the form, I get
Run time error '438'
Object doesn't support this property or method
It then invalidates the interface control.
It shows this control in the propery box as AxPMIText1 and does not list all of it's custom properties.
Do I have to give it a path to a .dll or put a .dll in the directory with it?
Do these controls work in vs2008?
Any help appreciated.
Thanx
Jim
The problems come when I try to use it in VB.net in visual studio 2008.
If I drop the interface control on the form there is no problem.
If I drop the text control on the form, I get
Run time error '438'
Object doesn't support this property or method
It then invalidates the interface control.
It shows this control in the propery box as AxPMIText1 and does not list all of it's custom properties.
Do I have to give it a path to a .dll or put a .dll in the directory with it?
Do these controls work in vs2008?
Any help appreciated.
Thanx
Jim
Jim
[url=http://67.199.38.245/c2coastal/]Eh!Team ROWING THE COAST of the WORLD[/url] <--- click here
[url=http://67.199.38.245/c2coastal/]Eh!Team ROWING THE COAST of the WORLD[/url] <--- click here
- Citroen
- SpamTeam
- Posts: 8062
- Joined: March 16th, 2006, 3:28 pm
- Location: A small cave in deepest darkest Basingstoke, UK
I'm not sure how often Chris Brett logs in over here. So send him a private message with details of your problem with the PMI ActiveX stuff.
http://c2forum.com/privmsg.php?mode=post&u=2810
http://c2forum.com/privmsg.php?mode=post&u=2810
I forwarded a link to him this AM; also not sure if he monitors this thread...
http://www.c2forum.com/viewtopic.php?t= ... c&start=15
http://www.c2forum.com/viewtopic.php?t= ... c&start=15
- Chris Brett
- 500m Poster
- Posts: 61
- Joined: May 25th, 2006, 10:07 am
Thanks for the e-mail Scott.
The PMI has not been tested within VS2008 as yet. In theory though it should be possible to function correctly. It may have some teething problems. I think these will be resolved if I upgrade the PMI to the latest Concept2 SDK.
I will have a play with the control within VS2008 and see what happens. When you get a limited list of control properties it usually means that the required *.ocx file has not been referenced correctly.
ulu:
Does the PMI control work correctly within VS2008 with only the PMText control producing the problem? If so anything that can be acomplished with a PMText control can be achieved with a normal TextBox control and 1 line of code. E.g.
I will try and find out a bit more this week.
Thanks for the information.
Chris
The PMI has not been tested within VS2008 as yet. In theory though it should be possible to function correctly. It may have some teething problems. I think these will be resolved if I upgrade the PMI to the latest Concept2 SDK.
I will have a play with the control within VS2008 and see what happens. When you get a limited list of control properties it usually means that the required *.ocx file has not been referenced correctly.
ulu:
Does the PMI control work correctly within VS2008 with only the PMText control producing the problem? If so anything that can be acomplished with a PMText control can be achieved with a normal TextBox control and 1 line of code. E.g.
Code: Select all
Text1.text = PMI1.DistanceCoveredDP
Thanks for the information.
Chris
Yes, that is the only problem. I found the incredible set of properties and functions and events you have in the PMI control and realized that the abscence of the text control was a non-issue in VS2008.Chris Brett wrote:
ulu:
Does the PMI control work correctly within VS2008 with only the PMText control producing the problem? If so anything that can be acomplished with a PMText control can be achieved with a normal TextBox control and 1 line of code. E.g.
I will try and find out a bit more this week.Code: Select all
Text1.text = PMI1.DistanceCoveredDP
Thanks for the information.
Chris
My kudos again for creating such a fantastic wrapper. It has saved my progamming time considerably.
Jim
Jim
[url=http://67.199.38.245/c2coastal/]Eh!Team ROWING THE COAST of the WORLD[/url] <--- click here
[url=http://67.199.38.245/c2coastal/]Eh!Team ROWING THE COAST of the WORLD[/url] <--- click here
- BrianStaff
- 2k Poster
- Posts: 220
- Joined: February 14th, 2008, 2:20 pm
- Location: Scottsdale, Arizona
I was able to get the ActiveX working inside a browser (IE7) using javascript.
see here...

It's not a working application - just a proof of concept.
BTW - how do I insert an actual image? ...instead of a link?...later, I figured it out
Brian
see here...

It's not a working application - just a proof of concept.
BTW - how do I insert an actual image? ...instead of a link?...later, I figured it out
Brian
M 65 / 6'3" / 234lbs as of Feb 14, 2008...now 212
Started Rowing: 2/22/2008
Vancouver Rowing Club - Life Member(Rugby Section)
PB: 500m 1:44.0 2K 7:57.1 5K 20:58.7 30' 6866m
Started Rowing: 2/22/2008
Vancouver Rowing Club - Life Member(Rugby Section)
PB: 500m 1:44.0 2K 7:57.1 5K 20:58.7 30' 6866m
- BrianStaff
- 2k Poster
- Posts: 220
- Joined: February 14th, 2008, 2:20 pm
- Location: Scottsdale, Arizona
Dougie - See you emailCitroen wrote:Are you willing to share the javascript program?
For lurkers...this will only work in IE and on a windows platform. ActiveX is an MS invention for Windows only.
Brian
M 65 / 6'3" / 234lbs as of Feb 14, 2008...now 212
Started Rowing: 2/22/2008
Vancouver Rowing Club - Life Member(Rugby Section)
PB: 500m 1:44.0 2K 7:57.1 5K 20:58.7 30' 6866m
Started Rowing: 2/22/2008
Vancouver Rowing Club - Life Member(Rugby Section)
PB: 500m 1:44.0 2K 7:57.1 5K 20:58.7 30' 6866m