List of internet explorer add-ons - c++

How can I get list of all IE add-ons programatically using c/c++?
And after that I want to disable and enable them....Any kind of help is greatly appreciated.

guys I have found a way how to do this.
Open "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Toolbar". This 'Toolbar' key contains CLSID of all the toolbars installed. Now you need to extract the name of toolbar in 'Default' value name of key. If you did not get name under this then query "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\ for that particular CLSID. There you will get the toolbar name under 'Defalut' value name.

Related

Sitecore 8 Insert link to items in bucket

I am using Sitecore 8.1 and Glass mapper ORM. In page editor mode, I have a link field which can be linked to news article page. The folder structure is
News/News article. News folder is of type Bucket and article is bucketable item.
When I am trying to insert link from other pages to the actual news article I am unable to find search box or expand items under news. Is there any way I can insert link to the news article? Appreciate any help! Thanks in advance.
You have 2 options:
In the content editor in the view ribbon you can enable "Buckets". This will make all bucket items visible again (the bucket is expanded and all folders and items can be seen in the tree). This setting is taken into account in the "insert link" window as well.
Use the search tab in the "insert link" window (normally you should have 3 tabs (link, media items, search). The search tab will let you find the bucketed items as well, but also others - it is not restricted to a bucket.
Edit:
After trying this myself, I noticed that if you edit the link field within the experience editor the search is indeed not provided (not even with the general link with search field). In the content editor the search is present.
A workaround is option1, or use an EditFrame. But I would contact Sitecore Support as well and ask them to add this - I'll do it too.
Edit2 : issue has just been registered as a bug. If you need a fix without waiting for a solution in a future version, you can ask Sitecore Support.

Dymanic PickList Applet is empty Siebel

Can you help me, please?
I've created a dynamic PickList and Pick Applet, but when it's displayed there is no records. I've created all joins (I join with S_CONTACT on ROW_ID to take Last and First names), pick map an specified my PickList to the field. I think i missed link between PickList and Pick Applet, but i'm not sure and i don't know how to solve it.
If you are new to Siebel, may I point out that Siebel tools has some wizards which can make things easier. To add a dynamic picklist on a field, right click on the field in Siebel tools, and choose 'Add Picklist'. Then follow the onscreen instructions, which will also help configure a pick applet. Try re-creating the dynamic picklist using this wizard.
If you do not want to try this, you will have to spool the sql logs to get sql which could point to the issue. It could be a searhspec issue on the picklist/picklist bus comp/pick applet. It could even be a buscomp visibility issue (salesrep, org). Also check the pop-up visibility for the buscomps, and see if there are any other constrains on the pickmap.
The mistake was in defining Business Component: i was looking throught the same on for field and picklist.

Using custom pushpins in my Windows 8.1 XAML app using Bing Maps SDK

In my C++/XAML Windows 8.1 app, I want to use a pushpin to denote a location that the user has selected. The default pushpin is very limited and it doesn't even show all the text I add to the "Text" field of the pushpin.
I really want to show something similar to the default pushpin and under that a textblock with some text.
So I think I have to create a user control and use it as a custom pushpin. However, when I do this the "custom pushpin" doesn't appear on the map at the same location that the user selected. It feels like in order to get it at the same location, I need to get the margins of the user control right through hit and trial. What is the correct way to achieve what I am trying to do?
After playing around a little more, I was able to specify the correct position of the custom pushpin using the following API:
Bing::Maps::MapLayer::SetPositionAnchor(Windows::UI::Xaml::DependencyObject^, Windows::Foundation::Point)
See the API reference here.

Is it possible to set a default webcontent template in liferay?

maybe you can help me.
I use verison 6.1.1 ce of liferay.
I have installed the "default-web-content-hook" from plugin-repo.
I want to set a default template for the webcontent display portlet, so that when a user clicks "Add Web Content" and the editor opens up, a certain preconfigured template, like "carousel" from the default-web-content-hook.
Anyone found out how it works?
Thanks guys, you're the best!
Have a nice weekend!
I think that there is no such option in Liferay which would set the default structure (template).
But it could be achieved in several ways.
You could just edit the link which opens the add web content dialog and append the structureId param with appropriate value.(&_15_structureId=MULTIPLE-ITEM-CAROUSEL)
Other option would be modify /portal-web/docroot/html/portlet/journal/edit_article.jsp and when the structureId param is null insert there a value. This value could be hard coded or supplied via configuration.
Also you could modify com.liferay.portlet.journal.action.EditArticleAction.

How can you edit Sitecore desktop shortcuts?

Anyone know how to edit the name of the Sitecore desktop shortcuts? I'm using the Advanced System Reporter module, and creating a desktop shortcut from there, but now I can't change the name of the item.
I know that you can right click on the Sitecore desktop shortcut and choose properties so change the information of the link....but how can I change the name of the shortcut?
The properties have a field 'Name', that even when I change it, the shortcut doesn't change (even after a desktop refresh).
I tried changing the 'Link' field on the properties as well, but then the link disappeared.
Do these exist in the core database somewhere? Can I get back the one that I just lost (by changing the Link field)?
Through further research, I found that for normal links, the name can be edited by right clicking the link, selecting 'Properties' and changing the 'Name' field.
Unfortunately, Links generated through the Advanced System Reporter don't update on the desktop when this Name property is changed.
It seems that the links for these desktop shortcuts are a combination of items in the core database and values in the User profile in the aspnet_profile DB table (also in core, but only viewable through SQL).
This value is stored in the PropertyValueBinary field, which, as the name suggests, is all in binary, and can't (or shouldn't) be edited.
One way around this is to:-
Create the desktop link, which will be called something by default (i.e 'SalesReport').
Open up the core database in Sitecore, and navigate to /sitecore/content/Applications/Advanced System Reporter/Links. Then find the folder for your username.
Find the item that was created for the link (in this case it'll be 'SalesReport'), and change the value of the field 'Display name' to whatever you want the link called (i.e 'Sales Report for May'.
Note: You may want to change the name of the item as well, so that it won't get lost in other desktop links created in the future and will be easier to find later. In this case you will need to:-
Go back to the desktop, right click the shortcut and choose Properties.
Manually change the end of the 'Link' field to the name you want to call the item (i.e change it from 'SalesReport' to 'Sales Report for May'.)
When you click OK, the shortcut will disappear. This is expected.
Open up the core database in Sitecore again, and find the item you're changing. (i.e /sitecore/content/Applications/Advanced System Reporter/Links/SalesReport
Change the name to exactly what you changed it to in step 2.
The link will reappear on the desktop, it'll have the correct name, and will be easy to locate in the Sitecore DB in the future.