Facing problem when loading VB form 
Author Message
 Facing problem when loading VB form

I hope I am following your question properly...

We seem to be doing the same thing...except we use the Item_Open Event to
start the objects in our ActiveX DLL.

If you notice that Outlook is responding to events you may need to check -
Is the last event still being processed in your code/form/dll (ie is it
running fast enought) and secondly, are anyy errors being generated that you
aren't aware of?

--

For Outlook and VB Experts: http://www.*-*-*.com/
*****************************************************************

Visit our new DOT NET ZONE for all that's hot!
< http://www.*-*-*.com/ >

****************************************************************

Quote:
> Hi

> We have developed a custom form in Outlook 2000 and published it in the
> Exchange server. This form contains a VB script to load the ActiveX DLL
> object in the item_open () function. We have set of click events that
calls
> the function in this Object. We noticed that for some of the click events
> (which load a VB form) does not work consistently. Click event fails to
open
> this VB form sometime. However If we exit outlook and come again the same
> click event works properly.

> Any help on this will be greatly appreaciated.

> thanks

> Kasi



Sat, 15 Nov 2003 19:02:15 GMT  
 Facing problem when loading VB form
I hope I am following your question properly...

We seem to be doing the same thing...except we use the Item_Open Event to
start the objects in our ActiveX DLL.

If you notice that Outlook is responding to events you may need to check -
Is the last event still being processed in your code/form/dll (ie is it
running fast enought) and secondly, are anyy errors being generated that you
aren't aware of?

--

For Outlook and VB Experts: http://www.escapesys.com
*****************************************************************

Visit our new DOT NET ZONE for all that's hot!
<http://www.vbug.co.uk>

****************************************************************

Quote:
> Hi

> We have developed a custom form in Outlook 2000 and published it in the
> Exchange server. This form contains a VB script to load the ActiveX DLL
> object in the item_open () function. We have set of click events that
calls
> the function in this Object. We noticed that for some of the click events
> (which load a VB form) does not work consistently. Click event fails to
open
> this VB form sometime. However If we exit outlook and come again the same
> click event works properly.

> Any help on this will be greatly appreaciated.

> thanks

> Kasi



Sat, 15 Nov 2003 19:02:15 GMT  
 Facing problem when loading VB form
Hi Guys

Thanks for your response. Let me explain the problem little more clearly.

We have developed a ActiveX DLL in Visual Basic 5.0 This DLL is coded to
retrieve certain information from the SQL server database using ADO and
display it in a VB form. User can key in the information related to
retreived data and save the it to the SQL server. We are calling this DLL
from the outlook (OFT files) in the following way. In our case Items are
located in a public folder of exchange server.

item_open()
{
   ..............
   ...............
   Set moButtons = CreateObject("FxFTWO.ExWO")  /* activeX DLL */
   If moButtons is Nothing then
           Msgbox "FxFTWO.ExWO not Installed or  Registered properly",
VbInformation + vbOKOnly, TITLE
  Call CmdExit_Click
  Exit Function
 End If
........

Quote:
}

CmdReport_Click()
{
...............
  moButtons.EnterReport; /* connects to SQL database and loads VB input form
*/
.............

Quote:
}

Item_open function is called and outlook form opens without any problem. Now
we have button in outlook form to generate the click event. There are around
5 function that uses this DLL object but "EnterReport" is the only function
that loads the VB form. Now when we click on other buttons functions are
performed properly but when we click on the 'EnterReport" button sometimes
the VB form gets opened and someother time no form is loaded and button
toggles as though no function defined for this button. If we go out of
outlook and come again it works. I have a doubt if any memory leakage or
outlook limitation is causing this trouble.

Can anyone help me on this.

thanks

Kasi



Quote:
> I hope I am following your question properly...

> We seem to be doing the same thing...except we use the Item_Open Event to
> start the objects in our ActiveX DLL.

> If you notice that Outlook is responding to events you may need to check -
> Is the last event still being processed in your code/form/dll (ie is it
> running fast enought) and secondly, are anyy errors being generated that
you
> aren't aware of?

> --

> For Outlook and VB Experts: http://www.escapesys.com
> *****************************************************************

> Visit our new DOT NET ZONE for all that's hot!
> <http://www.vbug.co.uk>

> ****************************************************************


> > Hi

> > We have developed a custom form in Outlook 2000 and published it in the
> > Exchange server. This form contains a VB script to load the ActiveX DLL
> > object in the item_open () function. We have set of click events that
> calls
> > the function in this Object. We noticed that for some of the click
events
> > (which load a VB form) does not work consistently. Click event fails to
> open
> > this VB form sometime. However If we exit outlook and come again the
same
> > click event works properly.

> > Any help on this will be greatly appreaciated.

> > thanks

> > Kasi



Sun, 16 Nov 2003 06:43:14 GMT  
 Facing problem when loading VB form
Hi

We have developed a custom form in Outlook 2000 and published it in the
Exchange server. This form contains a VB script to load the ActiveX DLL
object in the item_open () function. We have set of click events that calls
the function in this Object. We noticed that for some of the click events
(which load a VB form) does not work consistently. Click event fails to open
this VB form sometime. However If we exit outlook and come again the same
click event works properly.

Any help on this will be greatly appreaciated.

thanks

Kasi



Sat, 15 Nov 2003 12:47:04 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Facing problem when loading VB form

2. Facing Problems in DBGrid Control in Master Detail Forms

3. $$$ in Toronto for Face-To-Face with Access 7 MCP

4. $$$ in Toronto for Face-to-Face with Access 7 MCP

5. VB Form Designer cannot load a form

6. Load a Form into another Form in VB

7. Loading and unloading vb forms(vb 6.0 service pack 5)

8. Happy Face problem revisited

9. some problems I faced when using ole.

10. facing problem in accessing SQL Server on a network

11. Some problem being faced using True DBGrid Pro 5.0

12. Facing Problem while sending client certificate programatically through HTTPSend

 

 
Powered by phpBB® Forum Software