Author Topic: Boring issue with the TEventsLog control  (Read 8082 times)

Offline eferreyra

  • Jr. Member
  • **
  • Posts: 78
  • Karma: 0
  • Pachu
Boring issue with the TEventsLog control
« on: June 05, 2007, 04:25:26 PM »
Hi, i have made at this time 3 different applications using the Activex Control Interface, in none of this i can use the TEventsLog control, or better expressed, in none of this works, just dont show my AxDesktopToolkitX.AxTConnection instance in the left panel...

Anybody have some clue about what im doing worng, i think is just matter of throw this activex control in a form, what else i need ? dosnt have qeird properties.. and in the SoftPhone example app works...  ???



Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Boring issue with the TEventsLog control
« Reply #1 on: June 05, 2007, 05:10:33 PM »
Should work "by magic", no extra configuration is needed.
Have you tried to reinstall the ActiveX components?

Offline eferreyra

  • Jr. Member
  • **
  • Posts: 78
  • Karma: 0
  • Pachu
Re: Boring issue with the TEventsLog control
« Reply #2 on: June 05, 2007, 07:32:04 PM »
it works on the SoftPhone example app compiled with VB6, is in my .NET applications where nothing happens...

Yes just finish reinstalling...

>:(

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Boring issue with the TEventsLog control
« Reply #3 on: June 05, 2007, 08:11:25 PM »
On .Net... which version are you using? 7.2 of Activex?

Offline eferreyra

  • Jr. Member
  • **
  • Posts: 78
  • Karma: 0
  • Pachu
Re: Boring issue with the TEventsLog control
« Reply #4 on: June 05, 2007, 08:14:54 PM »
Ok, i find the problem, i would try to explain:

In my apps the form with the TConnection and TExtension activex controls is not the same as the form with the TEventsLog control, the last is created on demand where user clicks on a button like this:

new EventsLogForm().Show(this) ;

At this point the connection and extension are already created, connected and registered, testing i come to the conclusion that TEventsLog control must already exists at the moment of the connection, so i create the EventsLogFor at the initialization, just dont showing then and later i do the connection logic, when i click the "log" button jus do a .Show of the aready instantiated EventsLogForm and voilá, the connection instance is there!

Hope understand my explanation.

Im using .NET Framework 2 and i think is 7.0 of the activex but not sure.
Why ?

Cheers!
;D

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Boring issue with the TEventsLog control
« Reply #5 on: June 07, 2007, 03:32:13 PM »
Hum, so if you put the object on the same form of TExtension it works?
Does it work on VB6?
I'll recommend to get the 7.2 ActiveX and try with that one.

Regards

Offline eferreyra

  • Jr. Member
  • **
  • Posts: 78
  • Karma: 0
  • Pachu
Re: Boring issue with the TEventsLog control
« Reply #6 on: June 08, 2007, 12:01:27 PM »
Thanks cavagnaro, as i say in the last post i resolve mi issue, and update again to 7.2

All i need is TEventsLog control exists (be instantiated) before i connect with the TConnection, then i create the form of the TEventsLog just after IniitilizeComponents procedure and when i need .Show it and in Closing i must prevent the disposing with Hide + Cancel

Cheers...

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Boring issue with the TEventsLog control
« Reply #7 on: June 08, 2007, 04:38:38 PM »
Oh you "why?" made me think you still had some problem... :) Good you resolve it