Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Problem in Activex Integration with ProfUIS(Very Urgent) Collapse All
Subject Author Date
Sachin Gupta Aug 25, 2006 - 9:30 AM

Hi Tech Support,

We are contacting you for the problem of Activex integration in our projects.Please notice that We had been in discussion with you for quite a long period of time through your GENERAL FORUM through the login name of "Sanket".As we had some logistics issue in procuring the PROFUIS license and had been trial version users,so we had to communicate with you through the general forum . The thread ---" Using Prof-UIS to implement Toolbar in an ActiveX Control "
in your general forum was created by us and please go through the entire trail of information that we exchanged.

We want you to look into this issue with utmost priority, because we have to meet our delivery deadlines very urgently.

We had sent you an email to you at support@prof-uis.com with the screen shots of the problem from the id: Debabrata_Mukherjee@G1.com ::Even though we have the same implementation of code both in non-activex and activex projects, we are not getting any desired output in the activex project.

Please find below a details of what has been followed:

The standalone SARS and SARS with the parent non-activex (when we drag drop report to the app) are working fine. What we have done for these cases we have followed all the steps here also in SARSX which is the ActiveX project for Activex report.

Here we have derived our toolbar from CSaRsXToolbar which is derived from CSaRsToolbarStd which is a child of CExtToolControlBar (Main Prof-UIS toolbar class). The same class CSaRsToolbarStd is being used in SARS. In CSaRsXToolbar::Create we are creating the toolbar and loading the toolbar as well. In the CSaRsXFrame which is the mainframe class of sarsx we have a member object of CSaRsXToolbar type. In the OnCreate method of CSaRsXFrame we are actually creating the toolbar by calling m_wndToolBar.Create(this), here m_wndToolBar is a member of CSaRsXFrame class of type CSaRsXToolbar. This is the present implementation. And we have made all our changes on top of that.

We have changed the code for CSaRsXToolbar::Create to see the effectaˆ¦

Previously the code wasaˆ¦


if (!CSaRsToolbarStd::Create(NULL,this,IDR_SARSX_TOOLBAR) || !CSaRsToolbarStd::LoadToolBar(IDR_SARSX_TOOLBAR))

return FALSE;



We made it as followsaˆ¦

1. if (!CSaRsToolbarStd::Create(NULL,this,IDR_SARSX_TOOLBAR) || !CSaRsToolbarStd::LoadToolBar(IDR_SARSX_TOOLBAR))

return FALSE;

2. if (!CSaRsToolbarStd::Create(NULL,this,AFX_IDW_TOOLBAR) || !LoadToolBar(IDR_SARSX_TOOLBAR))

return FALSE;

But now also it was not coming properlyaˆ¦In the second case I used AFX_IDW_TOOLBAR like we used in Mainfrm.cpp of SARS.

We removed the derived class implementation of CSaRsXToolbar:;Create and used the CSaRsToolbarStd::Create from the CSaRsXFrame::OnCreate method.
It is also not working.

In addition to that we are using IE version 6.0 .Does the IE version matter as we are creating a ProfUIS look toolbar in our application only.

I want to highlight again that as we have already discussed in your general forum, so please look into the thread for details.

We are expecting a quick response from you .You can send us emails also.
Regards.

Sachin Gupta Aug 28, 2006 - 8:28 AM

Hi,

Thanks for your response.

We can do a webex to demonstrate the problem and you can also debug the problem remotely.
Please suggest a good time. We would prefer early morning EST time for this.

Thanks,
Sachin

Technical Support Aug 27, 2006 - 10:10 AM

We cannot help you resolve these ActiveX issues because of lack of information about your app. We can see two possible options that should help us resolve the issues faster:
1) you send us a test (compilable) project that shows the problem.
2) we can connect to your desktop (e.g using Webex) and debug the problem remotely.

Sachin Gupta Aug 28, 2006 - 8:29 AM

Hi,

Thanks for your response.

We can do a webex to demonstrate the problem and you can also debug the problem remotely.
Please suggest a good time. We would prefer early morning EST time for this.

Thanks,
Sachin

Technical Support Aug 28, 2006 - 11:09 AM

This time is perfect but we already set up another meeting for tomorrow. Please contact us via e-mail (at support@prof-uis.com) so we can arrange the details.