Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
Author | Forum: PowerTCP FTP for ActiveX Topic: License Issue |
kdcarlisle From: Fort Worth, TX USA Posts: 2 Member Since: 10/11/04 |
posted October 11, 2004 5:50 PM I created a small application to use the ftp tool to download files. Originally I embedded the item on a form and access it that way (and it worked). I have recently rebuilt my machine and installed Windows XP (service pack 2) along with the .NET Framework 1.1 (service pack 1 ... version 1.1.4322.573). When I add the Dart components to my project and then try to add them to a form, I get the following error: Invalid Primitive Type: System.Reflection.Missing. Only CLS compliant primitive types can be used. Consider using CodeObjectCreateExpression. So now, based on the documentation, I am reating the object directly in the code (not via a component) Declared at the top of my class Private WithEvents ftp1 As DartFtp.Ftp Defined in my class init ftp1 = New Ftp ftp1.Passive = False The application works fine on my development machine, but does not work on other machines (A License for the Power TCP Ftp Component was not found on this machine). I have also created a license.licx file and included it in the project. It contains the following information (based on what I could find in the forums) license.licx DartFtp.Ftp, DartFtp DartZip.Zip, DartZip It is still not working and I am not sure what exactly should be in the license file. Is it going to be possible to do this or do I need to remove the .NET SP1 from my machine and put the form with the embedded controls back? Thanks, Kent |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 11, 2004 7:22 PM You have two problems: 1) Microsoft made it very hard to use licensed ActiveX controls in .NET unless you place them on a form 2) Microsoft broke the AxImp program in SP1 so that it is now impossible to insert ActiveX controls that use optional parameters You have 3 possible solutions: 1) Wait for Microsoft to release the hotfix which we are currently working with them on. I would guess we are only a few days away from that but it's hard to predict because of all the red tape involved working with a company of that size. 2) Uninstall the Service Pack, or if that's not an option, reinstall the framework 3) Use the control without a form and implement the reflections licensing described in this thread: http://support.dart.com/postings?topicid=2647 I will be posting a response in this thread when we get the hotfix from MS so if you choose to wait, you will be notified as soon as the post is complete. |
kdcarlisle From: Fort Worth, TX USA Posts: 2 Member Since: 10/11/04 |
posted October 11, 2004 7:32 PM Thank you for all the information. I will uninstall the service pack and put the controls back into a form. Thanks again, Kent |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 3, 2004 2:22 PM The hotfixes are now available: For Framework 1.0 (All OS): http://www.dart.com/downloads/mshotfixes/NDP1.0sp3-KB887813-X86-Enu.exe For Framework 1.1 (All OS except Server 2003): http://www.dart.com/downloads/mshotfixes/NDP1.1sp1-KB886802-X86.exe For Framework 1.1 (Server 2003 only): http://www.dart.com/downloads/mshotfixes/WindowsServer2003-KB886802-x86-enu.exe |
Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
![]() |