Open MS office Document inside AIR Application - air

I want to open MS office Document (.xlsx,.docx,.pptx) inside AIR Application. Is it Possible ?.
I am using AIR 2.5.1. Please give me some suggestion about this.
Thanks,
Mani
Thanks for your reply. Yes. i knew about Nativeprocess for opening MS office application. but i want to open MS document inside AIR application. (example: we can open MS office document inside IE browser with ActiveX support). i want similar like that to open inside AIR application.

Related

How do I choose where to place my add-in button in OWA?

I made my first Outlook web add-in and I was wondering how I could place the button right here automatically without going into the OWA settings by hand. Is there a way a place it here via the manifest? I tried looking up online the manifest syntax but I could not find how to do it on the official DOCS.
Here's what I mean
This is out of scope for a developer. But users can install the add-in and the add-in can be pinned to the email items for easy access.

Excel Macro (VBA) Image upload to Internet Explorer with Open Twebst

I've successfully automatized a process with Open Twebst. (Go through some links, fill the forms and upload images..) So, it helped me to upload images to a HTML page in Internet Explorer 10.
I've just changed my laptop and It has Windows 10 (64bit) and it enables to use only Internet Explorer 11 instead of 10. - Previously the macro was running on Win7 - excel 2013 and IE10 - it was worked perfectly.
Somehow the macro stops when the upload browser window appears. I've already installed the program and added its reference in VBA but I had no luck. I was trying to simulate IE10 but it didn't work. I was also trying to do it in Excel 2013 instead of 2016 but it was the same.
Could someone help me to solve this issue? I searched a lot in this topic and as I can see everyone has the same issue: the VBA can't be able to control that window on his own.
This link contains a tutorial for the method I used:
http://codecentrix.blogspot.com/2009/11/automate-html-file-upload-control.html
HTML tag where I upload: ....input type="file"....
I was trying to modify the security settings in IE11, but it wasn't helped me - I'm not an expert in IE, maybe someone knows how to set it.
I would really appreciate any ideas/ codes.
Many thanks!
Zoltán Báthori

Is there a way to programatically enable the Microsoft Scripting Runtime when opening a PPT Presentation?

I have a PPT using VBA and it requires the Microsoft Scripting Runtime be enabled. I have some customers that are not tech savvy and may not be able to follow the instructions I placed on a banner in the opening slide to enable it. Is there a way to do it programatically when the presentation opens so they don't have to mess with it?
I hope the following link helps you:
http://blogs.msdn.com/b/cristib/archive/2012/02/29/vba-programmatically-enable-access-to-the-vba-object-model-using-macros.aspx

Cannot create ActiveX component in inventor api

I using Inventor api programming using vb.net.Here is my code for opening a inventor application.
inventorApp = CreateObject("Inventor.Application")
inventorApp.Visible = True
Dim oDoc As Document
oDoc = inventorApp.Documents.Open("F:\inventor\Cube.ipt")
the code is working fine and open the document while debugging in visual studio and working fine .but I trying to host this web app in local IIS and try then the following error is showing.
anybody know what is the problem.
That's most likely a security issue.
If you want to create an ActiveX component, you have to add the permissions using dcomcnfg.exe
Take a look at George's answer:
http://www.velocityreviews.com/forums/t81423-re-vb-net-excel-automation-issue-cannot-create-activex-component.html
By the way, I would recommend using the Inventor Apprentice Library. It does most of the things Inventor does but it is much quicker.

How can I include Flash in VB.NET?

I would like to create a .exe wrapper for a Flash Player using VB.NET. I am having a few problems.
1.I seem to remember being able to import Flash Player as a control into Visual Studio (2008 Pro). For some reason, I can't seem to VS to import it anymore. (I tried using the OCX from Visual Studio) Perhaps I'm looking for the wrong file. What file am I looking for?
2.Is including Flash inside of a VB program legal?
3.When a control is included in a VB.NET program (such as Flash) does the control need to be distributed in a separate file, or will the compiled application contain it in the ".exe"?
Thanks.
edit:
I was able to import the control as the Flash10b.ocx from c:\Windows\System32\Macromed directory as a COM component. Question 2 and 3 still remain.
Edit 2:
Is there documentation on the ActiveX control? I am trying top figure out the API for ExternalInterface. Any tips on that?
Using flash inside a VB program is perfectly legal, it is just an activeX control.
You will need to distribute the interop library with your application (it will be in your output directory) and the ActiveX object (flash10b.ocx) will need to be installed on the system, it wont package it all up for you.