Outlook 2000 vs. 2002 vs. 2003 + vb6 addin

MS OFFICE OUTLOOK

    Next

  • 1. Button adding again and again on toolbar each time i open new mail
    I am adding a button on word mail editor and also giving its temprory to true but still it is getting added again and again .. this is my code is there any other method to prevent it........... Set objCBs = Inspector.CommandBars Dim cbar1 As Office.CommandBar Set cbar1 = objCBs.Add(Name:="Custom1", Position:=msoBarTop, Temporary:=True) cbar1.Visible = True Set osendButton = cbar1.Controls.Add(msoControlButton, , , , True) osendButton.Style = msoButtonCaption osendButton.Caption = "Send and Add to Intelligent" osendButton.Enabled = True osendButton.Visible = True Pls help ....... -- Gaurav khare software engineer Ots Solutions Pvt Ltd
  • 2. Click event of button on word mail editor is not working
    I am using Prog_id also .the button is visible but its click event is not firing but all is working good in outlook editor.The problem is only with word mail editor this is the code i am using Set osendButton = Objeditor.CommandBars("Standard").Controls.Add(Temporary:=True, Before:=1) osendButton.Caption = "Send and Add to Intelligent" osendButton.Visible = True osendButton.DescriptionText = "Send and Add to Intelligent" osendButton.ToolTipText = "This functionality is currently unavailable" osendButton.Style = msoButtonCaption osendButton.BuiltInFace = True osendButton.Visible = True osendButton.Enabled = True osendButton.OnAction = "!<" & g_progid & ">" where g_progid = AddInInst.ProgId assigned in IDTExtensibility2_OnConnection method Is there is problem with systax of click event ot outlook buttons and word buttons?? pls help what shoul i do .Also temporay=true is not working after closing outlook it is till visible on word applications. -- Gaurav khare software engineer Ots Solutions Pvt Ltd
  • 3. How to use Excel control in Outlook Form?
    I have a form I created which is an invoice request. I need the flexibility for multiple rows in a table that can add up the results. I've tried inserting the Spreadsheet control, but when I try to send myself the form filled out (it's based on an email), I get the following error message: To help prevent malicious code from running, one or more objects in this form were not loaded. Contact your administrator. Uh oh, I'm the administrator. How do I get around this?
  • 4. Problem in sending an attachement from VB in outlook 2003
    I use this code to send the application log file from my app : **************************************** Private Sub mnuEmailLog_Click() Dim mMail As Variant Dim newMail As Variant Dim myAttachments As Variant On Error GoTo ErrmnuEmail Set mMail = CreateObject("Outlook.Application") Set newMail = mMail.CreateItem(0) Set myAttachments = newMail.Attachments myAttachments.Add (globalVariables.INIVariables.LogFileName) newMail.Subject = "Catapult log file" newMail.Display ExitmnuEmail: Set mMail = Nothing Set newMail = Nothing Exit Sub ErrmnuEmail: MsgBox "Cannot find Outlook" Resume ExitmnuEmail End Sub ******************************************* This code is working fine with Outlook 2000. When I run this code on the machine having Outlook 2003, then it is opening a new mail window with the attachement but when I click on 'send' button, I am getting error. "The operation cannot be completed because the object has been deleted." Will someone please tell me what's the problem ? Much thanks in advance !! sanjeev
  • 5. receipient name
    Hi, On the top cell which is named receipient name, I'd like to use my local account to send email on behalf of my boss. I don't want my email address to be shown. What settings can I go for? Thanks Jack

Outlook 2000 vs. 2002 vs. 2003 + vb6 addin

Postby Marc Milde » Wed, 16 Jun 2004 00:06:13 GMT

Hi there,

i wrote an addin in visual basic 6 prof. for outlook -
on the development-system is outlook 2003 installed
and everything works fine (icons, commandbar-buttons and
a property page).

moving the dll and the ocx to a new system with
same outlook (2003) shows the property page
but *not* the commandbar-icons...

another test on a outlook 2002 system fails: *no*
commandbar and *no* property page....

...so iam now thinking about the compatibility of
outlook 2002/2003 and what i should do to
get it working with ol 2000/2002/2003 without
any strange things - is there any special thing i
have to care about?

many thanks in advance,

/Marc



Re: Outlook 2000 vs. 2002 vs. 2003 + vb6 addin

Postby Ken Slovak - [MVP - Outlook] » Wed, 16 Jun 2004 00:34:46 GMT

Develop on a system with the oldest version of Outlook you intend to support
if you intend to use early binding and not just use Object for everything.
For an add and the related OCX you must register the addin in HKCU or HKLM
and for the OCX you must register it for it to work on other systems.

Without seeing code I have no idea why the commandbars weren't there on
other systems. I develop usually on an Outlook 2000 system and haven't had
any problems with commandbars not showing up, even when I develop on an
Outlook 2003 system.

-- 
Ken Slovak
[MVP - Outlook]
 http://www.**--****.com/ 
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
 http://www.**--****.com/ 









Re: Outlook 2000 vs. 2002 vs. 2003 + vb6 addin

Postby Marc Milde » Wed, 16 Jun 2004 00:44:08 GMT

Hi Ken,

thanks for your quick response. Ill try it with Outlook 2000 and
then installing it with 2002/2003. maybe thats it already, i dont
know actually :-)

however, here is a snippet of my creation of the commandbar....

many thanks again,

/Marc

-----------------

Friend Sub InitHandler(olApp As Outlook.Application, strProgID As String)

    'Get the Application object for Outlook
    Set oApp = Application

    'Customize the Outlook Menu structure and toolbar
    Set oCBs = oApp.ActiveExplorer.CommandBars

    Set oMenuBar = oCBs.Add("Out-of-Office", 1, False, True)

    oMenuBar.Visible = True

    Set obutton1 = oMenuBar.Controls.Add(msoControlButton, , , , True)

    obutton1.Caption = "Out of Office aktivieren"
    obutton1.Tag = "oooaktivieren"
    obutton1.ToolTipText = "Out of Office aktivieren"
    obutton1.FaceId = 5653
    obutton1.Style = msoButtonIcon
    obutton1.Enabled = True
    obutton1.OnAction = "<!" & strProgID & ">"

[...]

end sub



Re: Outlook 2000 vs. 2002 vs. 2003 + vb6 addin

Postby Marc Milde » Wed, 16 Jun 2004 07:37:23 GMT

Hello Ken,

you where right... developed/compiled on a OL2000 machine works on
2000, 2002 and 2003 without any problems.

iam still thinking why this was not written in any of my "programming
for outlook" - books.

many thanks for your help,

/Marc



Re: Outlook 2000 vs. 2002 vs. 2003 + vb6 addin

Postby Ken Slovak - [MVP - Outlook] » Wed, 16 Jun 2004 21:58:05 GMT

It's pretty common knowledge and has been mentioned in these groups many
times.

-- 
Ken Slovak
[MVP - Outlook]
 http://www.**--****.com/ 
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
 http://www.**--****.com/ 









Similar Threads:

1.URGENT : version problems with CR in VS 2003 after upgrade from VS 2002

2.Crystal Report in VS.Net 2002 and VS.Net 2003

I am using the Crystal Report came with VS.NET. When I try to change the
Text Object in the report thru code in VS.Net 2002 it didn't change but in
VS.Net 2003 it work fine. Is there a patch for VS.Net 2002 that can solve
this problem or any work around to this problem. Thanks.


3.Solved : version problems with CR in VS 2003 after upgrade from VS 2002

4.vs 2003 c# addin - debug problem after install vs 2005 beta 2

hi all,

i created a com addin for word / excel / powerpoint using c# and vs2003. - 
now i had to install vs 2005 beta2. - there are only one problem:

i cannot debug my addin any more.

when starting word (from vs 2003) i get this error:

attachting to process "" not possible.

(i translated the error message from german.) the  quotation marks are 
empty!

other applications (e.g. web applications) i can debug!

any ideas?

thank you!

ingo 


5.Outlook COM Add-in. 2002 vs 2003

I have built an outlook add-in on my machine (has outlook 2003) and is 
running fine. But when running the same dll in another machine (has outlook 
2002) it fails. Any idea why??

6. I want to develop an addin for outlook 2003 using VS .NET 2002

7. .NET vs VB6 for COM Addin

8. VB6 and Word 2003 vs. Word 2002(XP)



Return to MS OFFICE OUTLOOK

 

Who is online

Users browsing this forum: No registered users and 16 guest