Login  
Search All Forums
Dart Home | PowerTCP WebServer for ActiveX | Custom Development Reply | PowerTCP WebServer for ActiveX Topics | Forums   
AuthorForum: PowerTCP WebServer for ActiveX
Topic: Distributing dart webserver with vb.net app problem
polive96
phil@theolivefamily.com

From: cedar park, TX USA
Posts: 9
Member Since: 08/23/07
posted September 25, 2007 12:54 PM

Hi,

I've using the dart webserver in a windows vb.net application of mine, and everything goes great on the development machine where i have my license installed.

But, when i go to build the app and use it on another machine, it always tells me there is no license installed.

Now, I've seen several way to fix this in the forums, but none of them seem to help. Here are the ways:

1) do a full build of the app and it will automatically build in the license and work when you distribute it

2) distribute a .licx file with the app (which i did not receive)

3) put an entry in the registry a HKEY_LOCAL_MACHINE\Software\Dart\PowerTCP\License... for which it doesn't tell you what the key should be named.... (and just putting it under "License" does not work)

4) place code in the app so that at startup it creates an instance of the webserver and sets the serial number... for which there is no example of this method for the webserver object... only on DartZip objects...

Now, can somebody there please explain all this... and direct me to the proper solution... since there is no documentation on this.

Thanks,

-Phillip
Arjun

From: Rome, NY, USA
Posts: 137
Member Since: 09/17/07
posted September 25, 2007 2:23 PM

Hello Phil,

I have sent you an email. Please check your email.

Regards,
Arjun
polive96
phil@theolivefamily.com

From: cedar park, TX USA
Posts: 9
Member Since: 08/23/07
posted September 25, 2007 2:37 PM

you sent me an example for a zip object... i need the example for the dart webserver
Arjun

From: Rome, NY, USA
Posts: 137
Member Since: 09/17/07
posted September 25, 2007 5:28 PM

Hello Phil,

Please try the following and share your observations:

-------------------------------------------------
Dim webServ As AxDartWebServer.AxWebServer
Dim SERIAL_NUMBER_WEbSrv As String = "SerialNumber"

webServ = New AxDartWebServer.AxWebServer

Dim fieldInfo As System.Reflection.FieldInfo

fieldInfo = GetType(System.Windows.Forms.AxHost).GetField("licenseKey", Reflection.BindingFlags.NonPublic Or Reflection.BindingFlags.Instance)

fieldInfo.SetValue(webServ, SERIAL_NUMBER_WEbSrv)

webServ.CreateControl()
-------------------------------------------------

I hope this helps.

Regards,
Arjun
polive96
phil@theolivefamily.com

From: cedar park, TX USA
Posts: 9
Member Since: 08/23/07
posted September 25, 2007 5:32 PM

wait... please reply soon.
i am not using the axDartWebServer...

i'm just instantiating an instance of DartWebServer.Webserver
I don't even reference the axDartWebServer.dll assembly
Arjun

From: Rome, NY, USA
Posts: 137
Member Since: 09/17/07
posted September 27, 2007 5:29 PM

Hello Phil,

If you still having problems, I would request you to please run the Dartnostics utility and send the report.

The location of the Dartnostics utility is:
<<Start>> <<All Programs>> <<Power TCP>> <<Webserver for ActiveX>> <<DartNostics>>.

Regards,
Arjun
Reply | PowerTCP WebServer for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX