|
Wayne Taylor
Posts: 14
Joined: 2006-05-02
|
I've created a form that displays OK, except when displayed in the WebViewPane.
I assumed from what I read, the html page will automatically be generated. I think the problem may be that I only have VB.Net installed, but no ASP. Is this the cause, or is there something else that I should be doing?
Cheers,
Wayne |
|
Posted 02 May, 2006 04:00:28
|
|
Top
|
|
Sergey Grischenko
Add-in Express team
Posts: 7233
Joined: 2004-07-05
|
Hi Wayne.
Do get any error messages on the HTML page? |
|
Posted 02 May, 2006 17:31:49
|
|
Top
|
|
Wayne Taylor
Posts: 14
Joined: 2006-05-02
|
No, there aren't any error messages, only a blank page.
Checking the properties, the Home page is supposed to be "C:\Documents and Settings\Main\Local Settings\Application Data\EEaddin\EEaddin2003.html". I've checked this file (it does exist), and the html is this
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html><head></head><body><object classid="clsid:ADE6F0D5-0005-406d-B0BF-F9879F000003" id="Container" width="100%" height="100%" VIEWASTEXT></object></body></html>
The form (at the moment) contains a toolbar and a RichTextBox, but nothing shows.
Wayne |
|
Posted 03 May, 2006 11:01:19
|
|
Top
|
|
Fedor Shihantsov
Guest
|
Hello Wayne,
Does restore a standard view after uninstalling or unregistering the ADX project?
Could you please provide more detailed information. What versions of ADX Extensions do you use? What Office version? Do you use the Shim project in your solution?
Could you please send me the add-in module source code.
Please, make sure the file C:\Program Files\Common Files\Afalinasoft\Add-in Express .NET Extensions for Outlook\ADXOlFormContainer.2003.dll exist.
Let me know about the result.
Thanks,
Fedor |
|
Posted 03 May, 2006 12:06:45
|
|
Top
|
|
Wayne Taylor
Posts: 14
Joined: 2006-05-02
|
Hi Fedor,
I've tried restoring a standard view after uninstalling/unregistering the add-in, but no luck.
I'm using the latest version of ADX Extensions, Office 2003, but I can't create a shim project as I don't have C# installed.
And C:\Program Files\Common Files\Afalinasoft\Add-in Express .NET Extensions for Outlook\ADXOlFormContainer.2003.dll does exist.
Below is the code from the Addin module....
Imports System.Runtime.InteropServices
Imports System.ComponentModel
Imports Outlook = Microsoft.Office.Interop.Outlook
'Add-in Express Add-in Module
<GuidAttribute("7F78689F-DB1A-4646-AB91-9C54A5F14067"), ProgIdAttribute("EEaddin.AddinModule"), RunInstaller(True)> _
Public Class AddinModule
Inherits AddinExpress.MSO.ADXAddinModule
Friend WithEvents AdxOlFormsManager1 As AddinExpress.OL.ADXOlFormsManager
#Region " Component Designer generated code. "
'Required by designer
Private components As System.ComponentModel.IContainer
'Required by designer - do not modify
'the following method
Friend WithEvents AdxOlFormsCollectionItem1 As AddinExpress.OL.ADXOlFormsCollectionItem
Friend WithEvents ImageList1 As System.Windows.Forms.ImageList
Friend WithEvents AdxCommandBarButton3 As AddinExpress.MSO.ADXCommandBarButton
Friend WithEvents AdxCommandBarButton2 As AddinExpress.MSO.ADXCommandBarButton
Friend WithEvents adxOutlookEvents As AddinExpress.MSO.ADXOutlookAppEvents
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(AddinModule))
Me.AdxOlFormsManager1 = New AddinExpress.OL.ADXOlFormsManager(Me.components)
Me.AdxOlFormsCollectionItem1 = New AddinExpress.OL.ADXOlFormsCollectionItem(Me.components)
Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components)
Me.AdxCommandBarButton3 = New AddinExpress.MSO.ADXCommandBarButton(Me.components)
Me.AdxCommandBarButton2 = New AddinExpress.MSO.ADXCommandBarButton(Me.components)
Me.adxOutlookEvents = New AddinExpress.MSO.ADXOutlookAppEvents(Me.components)
'
'AdxOlFormsManager1
'
Me.AdxOlFormsManager1.Items.Add(Me.AdxOlFormsCollectionItem1)
Me.AdxOlFormsManager1.SetOwner(Me)
'
'AdxOlFormsCollectionItem1
'
Me.AdxOlFormsCollectionItem1.ExplorerLayout = AddinExpress.OL.ADXOlExplorerLayout.WebViewPane
Me.AdxOlFormsCollectionItem1.FolderName = "Experts Exchange"
Me.AdxOlFormsCollectionItem1.FolderNames.AddRange(New String() {"Personal Folders\Experts-Exchange"})
Me.AdxOlFormsCollectionItem1.FormClassName = "ADXOlForm1"
'
'ImageList1
'
Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16)
Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer)
Me.ImageList1.TransparentColor = System.Drawing.Color.Transparent
'
'AddinModule
'
Me.AddinName = "EEaddin"
Me.Description = ""
Me.Images = Me.ImageList1
Me.LoadBehavior = AddinExpress.MSO.ADXLoadBehavior.lbLoadAtStartup
Me.PageProgID = "PropertyPage1.OutlookPage"
Me.PageTitle = "EE Add-In"
Me.SupportedApps = AddinExpress.MSO.ADXOfficeHostApp.ohaOutlook
End Sub
#End Region
#Region " ADX automatic code "
'Required by Add-in Express - do not modify
'the methods within this region
Public Overrides Function GetContainer() As System.ComponentModel.IContainer
If components Is Nothing Then
components = New System.ComponentModel.Container
End If
GetContainer = components
End Function
<ComRegisterFunctionAttribute()> _
Public Shared Sub AddinRegister(ByVal t As Type)
AddinExpress.MSO.ADXAddinModule.ADXRegister(t)
End Sub
<ComUnregisterFunctionAttribute()> _
Public Shared Sub AddinUnregister(ByVal t As Type)
AddinExpress.MSO.ADXAddinModule.ADXUnregister(t)
End Sub
Public Overrides Sub UninstallControls()
MyBase.UninstallControls()
End Sub
#End Region
Public Sub New()
MyBase.New()
'This call is required by the Component Designer
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
Public ReadOnly Property OutlookApp() As Outlook._Application
Get
Return HostApplication
End Get
End Property
Private Sub adxOutlookEvents_NewMail(ByVal sender As Object, ByVal e As System.EventArgs) Handles adxOutlookEvents.NewMail
End Sub
End Class
Cheers,
Wayne |
|
Posted 05 May, 2006 07:27:21
|
|
Top
|
|
Fedor Shihantsov
Guest
|
Wayne,
Do you use Host configuration?
If you works without Shim you should use the 'Host configuration' dialog to configure Office applications to load .NET v1.1.4322 (right click on the addinmodule and choose the 'Host configuration' option, double click on Outlook and set v1.1.4322).
Let me know about the result.
|
|
Posted 05 May, 2006 12:28:45
|
|
Top
|
|
Wayne Taylor
Posts: 14
Joined: 2006-05-02
|
|
Posted 05 May, 2006 18:54:57
|
|
Top
|
|