[RESOLVED] Some Outlook COM ADD IN Questions
I am developing a 2000 COM ADD IN using VB6(IDE). Now I dont understand the difference between propertypage and user control.
Anyway when I wanted to add some files from the project workspace, I saw the two. I added user control, designed the form. But the problem I have now is that I dont know if I need propertypage or not. Also one of the controls in my user control form is supposed to get its values when outlook dis/connects.
My questions again is "How can I make this control reference the Ondisconnection and Onconnection events in order to use it in the user control?".
Example:the start time is supposed to be OnConnection, while endtime values will be taken from OnDisconnection event.
How can I programmatically make these accomplished and make the add in display my user control, because it does not display it at all?.
thanks for any help
Re: Some Outlook COM ADD IN Questions
I replied in your other similar thread? but to make sure,....
Is this UserControl on a VB Form? What does your addin do and how does the user access it?
Re: Some Outlook COM ADD IN Questions
Quote:
Originally Posted by RobDog888
I replied in your other similar thread? but to make sure,....
Is this UserControl on a VB Form? What does your addin do and how does the user access it?
Yes its on a VB Form, kind of interface for the user to interact with the add in. Its supposed to be accessed by "Outlook-Option-Advanced_Com Add In" its load on start up. Anyway one of the values for the form depends on outlook exiting in order for the event to fire...it takes its values from OnBeginShutDown() of the add in...I dont also know how to extract this value likewise. Any idea? :confused: :confused:
Re: Some Outlook COM ADD IN Questions
I mean if its a VB Form how and where will the user get acccess to it tfor displaying it?
Re: Some Outlook COM ADD IN Questions
Quote:
Originally Posted by RobDog888
I mean if its a VB Form how and where will the user get acccess to it tfor displaying it?
At run time the form is supposed to display, the user doesnt have much to do other than to view it as GUI, when he loads the add in.
Re: Some Outlook COM ADD IN Questions
So the Form is constantly displayed when Outlook is running?
Re: Some Outlook COM ADD IN Questions
Quote:
Originally Posted by RobDog888
So the Form is constantly displayed when Outlook is running?
Yes it is
Re: Some Outlook COM ADD IN Questions
Then are there any options or configurations needed/used? If so where are you setting them from? A menu on your Form? If so then the menu would contain a About menu item where you can place info about your form.
If not then either an Options menu on your form or a property page in Outlook wil be the way to go.
Re: Some Outlook COM ADD IN Questions
Quote:
Originally Posted by RobDog888
Then are there any options or configurations needed/used? If so where are you setting them from? A menu on your Form? If so then the menu would contain a About menu item where you can place info about your form.
If not then either an Options menu on your form or a property page in Outlook wil be the way to go.
There are no options, I am just trying the best I think would fit in. Anyway maybe i need to user property page then. Thanks, just confused more because Sue already said i didnt need property page :thumb: :thumb:
Re: Some Outlook COM ADD IN Questions
If you check here you will understand more what i am trying to do:
http://www.cdolive.com/prool2k.htm
they used both user control and propertypage, thats what i dont understand.
Re: Some Outlook COM ADD IN Questions
No, still. What they are doing is showing you several options of ways to display configurations for your addin's Options etc.
The property page can be added to your addin and then on that property page they are showing how to optionally add an ActiveX Control to it. You do not need to use a user control on the property page, but it does simplify the access to the page.
Quote:
ActiveX Controls as Property Pages
Property Pages can be ActiveX controls, standalone .exe files, in-process dlls or VBA programs.
These two things are completely separate from using a Form as something to help configure your addin's options. They are two different methods and you can use both but it would be twice as much work and would be redundant.
Re: Some Outlook COM ADD IN Questions
Quote:
Originally Posted by RobDog888
No, still. What they are doing is showing you several options of ways to display configurations for your addin's Options etc.
The property page can be added to your addin and then on that property page they are showing how to optionally add an ActiveX Control to it. You do not need to use a user control on the property page, but it does simplify the access to the page.
These two things are completely separate from using a Form as something to help configure your addin's options. They are two different methods and you can use both but it would be twice as much work and would be redundant.
Ok thanks I will use propertypage then
Re: Some Outlook COM ADD IN Questions
Ok, then I guess you should Resolve this thread. ;)