ActiveX - still able to sign this? - dll

Im using an old Classic ASP application and for a custommer we need to have
signed ActiveX controls.
After searching i found https://msdn.microsoft.com/en-us/library/aa231196(v=vs.60).aspx but the links below in the examples of microsoft are dead.
Is there still a company that provide ActiveX certificates? and are we still able to sign them using VB6 Studio?

Symantec claims to issue Authenticode certificates. And their website specifically mentions ActiveX controls. I haven't tested it myself, as I haven't needed ActiveX in a long time.
https://www.websecurity.symantec.com/code-signing/microsoft-authenticode

Related

Allow users to run partial trust XBAP or BROSER WPF without touching internet explorer properties

I have just developed a xbap app which is hosted in an IIS server. Working fine in server and in the developers machines but when users access to it, the message "this application type has been disabled" appears. They only have to enable "XAML" for solving this error but I dont want them to do that.
I need a solution to allow users to run this app without changing anything in their explorer.
I cant believe Microsoft decided to not enable XAML apps to work directly since Internet Explorer 9!
Thanks a lot guys!
After some research, I realized there's no solution directly in WPF Browser.
I am moving my app from that WPF Browser to asp.net web. Hard to simulate the same behaviour but moving forward so far...

Can't find Microsoft Internet Transfer Control in Visual Studio 2013

New project in Visual Basic using Visual Studio 2013.
Want to add the "Microsoft Internet Controls" component but I can't find it.
What am I missing?
This is the second link on Google:
http://answers.microsoft.com/en-us/office/forum/office_2010-customize/cant-find-reference-to-microsoft-internet-controls/e138ff0c-8046-47b1-9c0c-ac28cebe3c7a
Apparently it may have been renamed "Microsoft Browser Helpers" and you may need to add a reference to "ieframe.dll".
If you need FTP, it is fully supported in the .NET framework. You could start with the examples on MSDN: https://msdn.microsoft.com/en-us/library/ms229718%28v=vs.110%29.aspx
The inet1 Internet Transfer Control is installed with MS Office. Install it and you should have no problem having it become available to use in Visual Studio etc.
It's old but still completely useful in apps. It did all the FTP and HTTP calls for a web crawler I wrote years ago and was fast and completely error-free when crawling 100s of 1000s of web pages at a time while I slept. I'd use inet1 today if I was writing an app that did huge amounts of internet calls as quickly as possible.

Using Office Name.dll as a COM object in .NET

I'm trying to use MS Office Name.dll as a COM object.
I found some help in these links to do something like this in web browsers:
https://msdn.microsoft.com/en-us/library/office/ms455335(v=office.14).aspx
http://mcgivery.com/displaying-a-users-lync-status-using-namectrl/
http://blogs.msdn.com/b/tomholl/archive/2013/03/02/integrate-lync-into-your-intranet-sites-using-the-namectrl-plug-in.aspx
name.dll basically allows me to get presence information from MS Lync and display a contact card.
I was able to successfully create a test Windows Form application that references name.dll. VisualStudio creates an Interop for me and i'm able to use the class NameCtrl.
The project worked fine and my test aplication was able to display the contact card, but only when working with an old version of Office 2010.
When upgrading to Office 2010 SP2, it didnt work anymore. When using Office 2013, it never worked.
I can actually instantiate the object successfully, but the object's property 'PresenceEnable' is always 0, and trying to display the contact card throws an exception "E_ACCESDENIED 0x80070005". In these not-working environments, using the webbrowser (IE/ Firefox) still works fine.
Does anyone know what to do to make it work?
Why did it only work with an old version of Office 2010 and stopped to work with newer releases?
I talked to a Microsoft Office Engineer and he told me this dll was not meant to be used that way: it's only meant to be used inside web browsers.

Web browser independent of IE

I would like to make a web browser for my own use with various customizations. However, in VB6 the various web related control like winsock, inet fetch only html. Using webbrowser control is not the answer because it uses the same settings as windows IE. What I'd like to know is a control somewhat like the webbrowser but independent of windows IE setting. So that the changes made in IE wont effect my web browser. And also the webbrowser control does not have features such as blocking a specific image/CSS according to URL etc.
What I want to know is that if it’s not possible to do with VB6, is it possible with Visual Basic 2010 Express?
winsock is a general purpose socket library and can communicate over the Internet to get all sort of data, not just HTML. And that's the answer to your question. If for some reason you want to create your own browser, you need to start from winsock.
Also, Visual Basic 2010 Express is the name of a particular version of IDE which is used to build programs in VB.NET which is the replacement for VB6. In conclusion, you can build your browser in either VB6 or VB.NET, however, I would recommend VB.NET as Microsoft has retired VB6 as a product and a technology.

MS Office Add On

I want to add on certain feature in MS Office. Currently, I am looking at VBA to develop it. However, it seems that running macros requires security disabled. This means that if I distribute the VBA program, other people need to enable macros to run. (Security issues)
The problem now is, how do I distribute the VBA that I wrote? E.g. in a .exe file? And is there any other method to go about creating this add on?
I downloaded some add on for MS Word and it seems that it is written in C++ and it is in .dll format.
Thanks.
You can run macros in a document/template/add-in even in "high" security mode, if:
the VBA project is digitally signed
the user agrees to 'trust' the publisher of the digital signature
The first time the user runs a macro signed with your digital signature, they'll get a prompt saying "the macros are signed by YourCompanyName - do you want to trust all add-ins from this publisher". If they click "yes", they won't see the prompt again - and your macros will run.
See this link for details of how to create a digital signature.
Visual Studio Tools for Office (VSTO) allows you to author extensions to Microsoft Office using any .NET language, including Visual C++. Such extensions would indeed compile to DLL-files, and after installation on a client machine, they wouldn't require the user to dismiss any additional security warnings. You will need Visual Studio 2005/2008 Professional in order to use the VSTO framework.
Wikipedia has more information about VSTO, including a comparison with VBA. Amazon seems to have a fair amount of books on the subject as well.