Hi, I tried it succesfully.
It works fine with windows applications, but not with windows services. Looks like the cdintfex needs a form -a container- to receive the events and work properly. Not sure, but Im working -by now- as a windows application.
Thanks, Jose!
Search found 4 matches
- Tue Sep 04 2007
- Forum: Amyuni PDF Creator ActiveX (PDF Viewer / Editor)
- Topic: How to manage events with AxCDIntfEx (Addhandler)?
- Replies: 2
- Views: 8800
- Mon Aug 27 2007
- Forum: Amyuni PDF Creator ActiveX (PDF Viewer / Editor)
- Topic: How to manage events with AxCDIntfEx (Addhandler)?
- Replies: 2
- Views: 8800
How to manage events with AxCDIntfEx (Addhandler)?
Case with .Net 2005: (Add a reference to a AxInterop.CDIntfEx,copy&paste the code in a new project:) Imports AxCDIntfEx Public Class Form1 Friend WithEvents cdi As New AxCDIntfEx.AxCDIntfEx Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cdi...
- Mon Aug 20 2007
- Forum: Amyuni PDF Converter (PDF Printer Driver)
- Topic: InvalidActiveXStateException error message
- Replies: 2
- Views: 5589
- Tue Aug 14 2007
- Forum: Amyuni PDF Converter (PDF Printer Driver)
- Topic: InvalidActiveXStateException error message
- Replies: 2
- Views: 5589
InvalidActiveXStateException error message
Case (.Net 2005, WinXP): (reference added AxInterop.CDIntfEx) ******************************** Imports AxCDIntfEx Public Class Form1 Public Sub New() ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. Dim cdiSett...