Click here to Skip to main content
15,886,830 members
Articles / Desktop Programming / ATL

Building Rich COMponents with Attributed ATL

Rate me:
Please Sign up or sign in to vote.
4.95/5 (31 votes)
26 Jan 200410 min read 88.8K   918   76  
Tutorial article about how to build components with rich functionality using attributed ATL.
Set Mgr = WScript.CreateObject("ServicesManager.ServicesMgr", "Mgr_")

Err.Clear

On Error Resume Next

WScript.Echo Mgr.Services.Count

Dim Service
For Each Service In Mgr.Services
  WScript.Echo Service.DisplayName
Next

Mgr.Stop("MySql")

MsgBox Err.Source
MsgBox Err.Number
MsgBox Err.Description

Sub Mgr_ServiceOperationProgress(ProgressCode)
    WScript.Echo ProgressCode
End Sub

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
United States United States
Started professional career in software development back in 2000, in Ukraine. Founder and owner of a boutique software company called ByteGems.com Software. Worked for 6 years at w2bi, Inc in New Jersey USA, currently work in a large multinational company based in Redmond, WA.

My buzzwords at the moment: .NET, C#, ASP.NET, MVC, LINQ, TypeScript, JavaScript, AngularJS, HTML, JSON, services.

Still buzzing: C++, Win32, ATL, MFC, SQL, WinForms, WebForms, EF, Sockets, TCP/IP, Remoting.

Comments and Discussions