|
-
Dec 1st, 2006, 05:48 PM
#1
Thread Starter
Lively Member
[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
-
Dec 2nd, 2006, 12:49 PM
#2
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?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 2nd, 2006, 02:20 PM
#3
Thread Starter
Lively Member
Re: Some Outlook COM ADD IN Questions
 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?
-
Dec 2nd, 2006, 02:39 PM
#4
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?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 2nd, 2006, 03:43 PM
#5
Thread Starter
Lively Member
Re: Some Outlook COM ADD IN Questions
 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.
-
Dec 2nd, 2006, 04:19 PM
#6
Re: Some Outlook COM ADD IN Questions
So the Form is constantly displayed when Outlook is running?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 2nd, 2006, 04:26 PM
#7
Thread Starter
Lively Member
Re: Some Outlook COM ADD IN Questions
 Originally Posted by RobDog888
So the Form is constantly displayed when Outlook is running?
Yes it is
-
Dec 2nd, 2006, 04:30 PM
#8
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 2nd, 2006, 04:39 PM
#9
Thread Starter
Lively Member
Re: Some Outlook COM ADD IN Questions
 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
-
Dec 2nd, 2006, 04:43 PM
#10
Thread Starter
Lively Member
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.
-
Dec 2nd, 2006, 05:41 PM
#11
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.
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 2nd, 2006, 06:01 PM
#12
Thread Starter
Lively Member
Re: Some Outlook COM ADD IN Questions
 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
-
Dec 2nd, 2006, 10:47 PM
#13
Re: Some Outlook COM ADD IN Questions
Ok, then I guess you should Resolve this thread.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|