Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: PowerTCP sockets and forms
User133

From: oakbrook, IL USA
Posts: 17
Member Since: 04/08/02
posted October 23, 2002 9:20 AM

I was using your com version of powertcp ssl in .net. The application is running as a service and does not have a form included in it. I ran into issues with licensing because of the component not being on a form. In the .Net version of PowerTCP ssl is there still a requirement that your component be on a form? Do you have some sample code that uses your tcp component where it is not a control on a form? Has the component been tested in a situation where it is not running as a control on a form?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 23, 2002 9:34 AM

You will not have that problem. The only only difference between the two is that you have to manually create the licenses.licx and add it to the project when you use the reference.

If you want events in VB.NET you dim the object WithEvents. In C# you define the the event and then use the "+=" mechanism to "hook" it up to the object.

There are numerous examples included. I am sure you will find one that gets you going in the right direction!

Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted October 23, 2002 9:38 AM

Also, see the following help topics

ms-help://PowerTCPSslSockets/PowerTCPSslSockets/topics/UsingCreatingComponentAsReference.htm (using a component as a reference)

ms-help://PowerTCPSslSockets/PowerTCPSslSockets/topics/UsingCreatingLicensesFile.htm (creating a licenses.licx file)

ms-help://PowerTCPSslSockets/PowerTCPSslSockets/topics/EventsAsReference.htm (using events when the component is used as a reference)
User133

From: oakbrook, IL USA
Posts: 17
Member Since: 04/08/02
posted October 23, 2002 11:18 AM

Just to clarify, ya'll are saying that the component can run referenced as part of a windows service, developed in .Net without a form and without licensing issues. Is this correct?

Just curious, has the component acutally been tested in this manner? Has it been tested in a windows service, referenced and not as a control slapped on a form? I'm not trying to be a pain here - I just don't want to buy something and then find a surprise later.

Thanks!
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted October 23, 2002 11:24 AM

It has been tested as a referenced component in a service. Check out the Flash Server sample (the Service part), which uses the Server component as a reference in a .NET Windows Service.
ishmell
ishmell@hotmail.com

From: Arlington, WA USA
Posts: 15
Member Since: 04/29/03
posted April 29, 2003 8:27 PM

I've noticed that Jeff really likes posting references to documentation, like this:

ms-help://PowerTCPSslSockets/PowerTCPSslSockets/topics/EventsAsReference.htm

Unfortunately, I'm an idiot and I have no idea how to access these knowledge nuggets. Please explain.
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted April 29, 2003 9:34 PM

Answered in the following thread:

http://support.dart.com/postings?topicid=3027
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX