MS Outlook 2010 Split Contacts Into Two Groups - outlook

I recently upgraded from Outlook 2007 to 2010. In Contacts, the Contacts are now split into two "groups" - they weren't in 2007.
I haven't been able to figure out why they're split, or find any suggestions via Googling, so any suggestions would be very welcome!

You need to customize the current view in Outlook. See the video tutorial.
Also you may implement the required task using VBA programmatically. The CurrentView property of the Folder or Explorer classes returns a View object representing the current view.
To obtain a View object for the view of the current Explorer, use Explorer.CurrentView instead of the CurrentView property of the current Folder object returned by Explorer.CurrentFolder.
Views are defined and customized using the View object's XML property. The XML property allows you to create and set a customized XML schema that defines the various features of a view.

Related

Snapshot for custom DevExpress grid

I have a custom DevExpress Grid overrided with custom GridView. How could I use table snapshots in TestComplete to support this control.
For custom TreeList I found the steps:
You can adjust TestComplete so that it handles a custom control in the same way as the corresponding “standard” control by using the Object Mapping feature. This feature sets a correspondence between control types and their possible class names. To specify that TestComplete should treat a specific control as one of the supported controls:
• Right-click your project in the Project Explorer panel and select Edit | Properties from the context menu. This will open the Project Properties Page.
• Select Object Mapping.
• In the list of control types, choose the type corresponding to your custom control.
• Press Add Class Name and enter the control’s class name.
-- or --
Click Add From Screen and capture the control using the subsequent Add New Object Class dialog.
The class names are case-insensitive and can contain wildcards (* and ?).
• Select File | Save from TestComplete’s main menu to save an object mapping template for the current project.
Note: TestComplete also provides scripting access to a number of child controls of supported third-party controls. Generally, you can work with a child control in the same way you work with its parent. For more information, see Working With Custom Child Controls.
You can not only add an object mapping template for a custom control in the current project, but for all new projects created with TestComplete. This is done in through the Object Mapping Options of the Default Project Properties dialog. In this case all new projects will already be “familiar” with the custom control.
and they work
Since you are working with a .NET Windows Forms applications that uses a grid based on the control from Developer Express, the base grid control is, most probably, XtraGrid. TestComplete has advanced support for this grid control (see the Working With Developer Express XtraGrid - Overview topic) and you can map your descendant grid to this supported control using the Object Mapping feature indeed.
To do this, you need to open the current project' properties editor (Tools | Current Project Properties), select the Object Mapping options group and find a record for the base XtraGrid control as the Developer Express Controls | XtraGrid item. Add the full name of your custom grid's class to the list. This name is stored in the ClrFullClassName property of the grid object. You can see this property in the Object Browser panel.

Programatically configure Office 2010 Word Ribbon via VBA

Is it possible to configure a Ribbon (e.g. adding a tab etc.) in Office 2010 programatically via VBA? I.e. by writing VBScript code in a macro.
Br. Morten
You can manipulate a Ribbon tab and its controls using VBA, but you cannot create one. Not with the Object Model anyway. The best you could do - somehow - is to get some kind of OPC dll (like an ActiveX component) that handles opening/relationships/closing of OPC documents (like .docx documents) and old school MSXML for creating a ribbon definition and adding it to the package.
Have a look at this blog post for Excel
http://www.xtremevbtalk.com/showthread.php?t=265636
and this one for Word
http://www.wordarticles.com/Shorts/RibbonVBA/RibbonVBADemo.htm
If your UI is static, i.e. you don't need to programatically change the behavior of, or add/remove UI elements on the fly, you can define a customUI within a macro-enabled template. You can use your VBA functions as call-backs for the UI elements defined in the XML.
Have a look at this guide. In a nutshell, you define a customUI\customUI14.xml file within the .dotm archive. This XML describes your custom ribbon elements using this schema.
This definitely works for Word templates (.dotm files). I think a similar approach works for any OOXML format.

What ListBox like control is used in Collections Editor of Visual Studio

I need to create a from which uses the same ListBox as the one from Collection Editor of Visual Studio (The ListBox under the Members label). Please, explain exactly which WinForms control is this and which of its properties are set?
You can see the control I am asking about under the Members: label of every collection editor form in design time of Visual Studio.
Thank you.
Hopefully this can get you started. There's other (probably better...) samples out there, but this is a basic starter which can help you get the concept:
http://msdn.microsoft.com/en-us/library/9zky1t4k%28VS.90%29.aspx
Quote:
This example shows how to create a
control named ContactCollectionEditor
that implements a custom collection
editor. The example shows how to
specify the exact type of the object
that a page developer can add to the
control's collection property when
using a custom collection editor. You
associate a collection editor with a
collection property (or the type of
the property) by applying the
EditorAttribute to the collection
property of the control.

How to do design list view like SharePoint 2010 Custom List or Document Library?

I am generation Recent Activity list from SharePoint 2010 site,
What i need is ,i have to display the list in a particular page,The UI must be like a SharePoint 2010 Custom List or Document Library,
How to design it, Is there any way to do this.
If your data source is a SharePoint list, you could use the [ListViewWebPart][1] to achieve this. What exactly are the requirements of the view - should you also include the context-sensitive menu ("Edit properties" etc) ? If not, you could just create a custom web part and override the CreateChildControls method, and there mimic the html/css that is rendered in a document library.

ListDefinition Error 'ctx' is undefined

I have create a DocumentLibrary list using the SharePoint UI and export it using the SharePoint Solution Generator 2008 (VSeWSS 1.3) to a Visual Studio .NET project.
Then I have made a webpart to show items from the document library using the ListViewByQuery with som input parameters. I have put the ListViewByQuery into a Ajax UpdatePanel. The list item menu rase an error 'ctx' is undefined. ctx is defined in the schema.xml file.
Any ideas?
Work-around;
Had the same problem with a document library - to work-around I dragged the standard control part onto the page and made it non-visible (the doclibrary plugin )
Make sure that in this hidden control's view the "Name (linked to document with edit menu)" field is in the view.
That field will cause the creation of a ctx to support the edit drop-down.

Resources