Recent content by selvamarcadu

  1. selvamarcadu

    Dsframer activex releasing COM object

    Hi all, I am using Dsoframer activex control to host office documents.I add the acitvex control dynamically and set an event handler for document close so that i can release the com object. AddHandler AxFramerControl1.OnDocumentClosed, AddressOf AxFramerControl1_OnDocumentClosed The...
  2. selvamarcadu

    withEvents for dynamic activex control

    withEvents for dynamic activex contro Hi all, I just found out the way, AddHandler AxFramerControl1.OnDocumentClosed, AddressOf AxFramerControl1_OnDocumentClosed has done the trick. Thanks Selvam
  3. selvamarcadu

    withEvents for dynamic activex control

    Hi all, I have to create multiple child window each embedded with dsoframer activex control, Like,the following, Private Function add_activex_control() ... Dim AxFramerControl1 As New AxDSOFramer.AxFramerControl ... ChildForm.Controls.add(AxFramerControl1) ... End Function Now i...
  4. selvamarcadu

    powerpoint text highlighting

    Hi all, I embedded MS Office Powerpoint inside .NET form using Dsoframer activeX and now want to highlight certain keywords.I could change the font color of the keywords but not able to highlight the whole word.I did a lot of googling but efforts in vain. <code> ... oTxtRng =...
  5. selvamarcadu

    Dsoframer and text hightlighting

    Hi, I am using dsoframer activex control to embed MS Office files(doc,xls,ppt).Now i want to highlight certain keywords and use the following code, <code> Dim oDoc As Word.Document oDoc = AxFramerControl1.ActiveDocument oDoc.ActiveWindow.Selection.Find.ClearFormatting() With...
  6. selvamarcadu

    XmlDocument and internet connectivity

    Hi JohnH,Thanks you for your response. I checked the xml file which is being loaded and commented the following line. It works fine now . <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"[]> Thanks Selvam
  7. selvamarcadu

    Rendering files as image/html

    Rendering files as images Hi, What i need to achieve is,to render various files (pdf,doc,txt,jpg) in the form(as image?), and it should not have any dependency for external library(for eg. Acrobat Reader ).Please let me know, if it is possible. Thanks Selvam
  8. selvamarcadu

    XmlDocument and internet connectivity

    Hi, I am trying to load a xml file and modify a node value. Dim configXml As XmlDocument = New XmlDocument configXml.Load(xmlpath) It works fine when i have the internet connectivity.But as i disconnected internet,I get the following exception pointing the line configXml.Load(...) "The...
  9. selvamarcadu

    pdf rendering and text search

    Hi ,its working now,thanks for your support. I first showed the form and then loaded the file. Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmMain)) Dim pdf As New AxAcroPDFLib.AxAcroPDF pdf.OcxState =...
  10. selvamarcadu

    pdf rendering and text search

    Hi thanks JohnH, I tried it,but "System.Windows.Forms.AxHost+InvalidActiveXStateException" is thrown My code looks as, Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmMain)) Dim pdf As New AxAcroPDFLib.AxAcroPDF pdf.OcxState...
  11. selvamarcadu

    pdf rendering and text search

    multiple pdf files in child forms Hi, After i used acrobat 9.x(AxAcroPDFLib.AxAcroPDF) 1)I included its com and added to toolbox 2)I dropped Acrobat Reader to My main form(frmMain) 3)Then i did, I frmMain.AxAcroPDF1.LoadFile(...) 4) ChildForm.Controls.Add(frmMain.AxAcroPDF1) But the...
  12. selvamarcadu

    Rendering files as image/html

    Rendering files as images Hi,Thanks for your response. Let me explain my requirement in detail. We want to index certain files ,we are using solr tika,which can index many file formats(doc,pdf,jpg...). When the user searches for a keyword from vb.net application,we need to render the original...
  13. selvamarcadu

    Rendering files as image/html

    Hi all, I have a set of files of various format like pdf,txt,tiff,jpg.I need to render it within the form and highlight the certain keywords.Initially i tried to convert all files to pdf and then render it( using itext for vb.net).Now my colleague advised me to render them as html or images...
  14. selvamarcadu

    pdf rendering and text search

    Hi, I installed adobe reader 9 version and it worked well.
  15. selvamarcadu

    pdf rendering and text search

    Hi all, I just went to check AxAcroPDFLib.I added acrobat reader com object to tool box.Then dragged it to form.But simply running it gives "Windowless controls are not supported".What does it mean?,Do i need any additional dll? I have Adobe 7.0 installed in my machine. Thanks, Selvam
Top Bottom