Click here to Skip to main content
15,893,663 members
Everything / Extension

Extension

extension

Great Reads

by NavnathKale
Lightweight and simple
by Mykola Tarasyuk
An approach to call built-in Visual Studio commands from within Visual Studio extensions
by Stefan Timovski
Tutorial on how to start developing SSMS extensions
by Just Perfection
In this article, you will learn about the GNOME Shell extension basics, schema, gettext and more.

Latest Articles

by BillWoodruff
Create collections of #n sized elements from arrays, lists, and string
by Sergey Alexandrovich Kryukov
This is just a funny Visual Studio Code extension, but… what can happen if somebody will try to use it seriously?
by HenkAlles
Show Simple Log - see the article by Jochen Scharr - in the browser with a nice layout
by Mykola Tarasyuk
An approach to call built-in Visual Studio commands from within Visual Studio extensions

All Articles

Sort by Updated

Extension 

19 Oct 2010 by "Fish" (David B. Trout)
Simple parsing of VS_VERSIONINFO version information strings displayed in an XP-style file-properties "Version" tab
12 Sep 2013 by #realJSOP
One approach to find a specific exception type inside the containing exception
3 Nov 2015 by #realJSOP
This is an alternative for "Compareing Two Complex objects of same class"
8 May 2015 by _Noctis_
This will allow you to integrate your linqpad code easily to Visual Studio
7 Jan 2019 by a.mohamedyasin
Hi Techies, I have created a VSIX (Extension for Custom Intelisence) for my Windows application which supports wwf(Windows workflow foundation), it is not working on my exe. pls assist me to solve this issue. What I have tried: I have tried to create the VSIX and install it for my visual...
29 Aug 2015 by Aashish Kumar Shaw
Hi, I have many variables assigned in many .js files in my chrome extension. But sometimes I need to change those variable values. To change, I need to edit the .js script each and every time. Can you please suggest any method where I can change the variable values in .js script files directly...
6 Feb 2014 by Abbas K
Hi,I have created the project template for my MVC projects.And also I have created the wizard for these templates. Now I have used the project templates names are MVC3Razor,MVC4Razor,MVC5Razor, MVC3Aspx,MVC4Aspx, MVC5Aspx. Right now I have used 6 templates for my MVCprojects. Now I...
18 Feb 2022 by abdul subhan mohammed
Hi guys, I have created one google chrome extension to get key pressed values from active tab. Key Logger ...
10 Dec 2011 by Abhinav S
Try doing a search[^] for the article.
13 Nov 2015 by Abhinav S
More links -Developing PHP Extensions with C++ and PHP-CPP: Advanced[^]Building native PHP extensions with C++[^]
23 Mar 2014 by abhitechno
My company is still running VAX VMS 5.5-2. My moron boss has accidentally created a huge file named "H:\BCS02\VAX\BCS02_SYSD.bck" and now i am unable to delete it. "dir" command is listing the file along with size and all other specifications but all other commands including "delete"is refusing...
7 Nov 2013 by Adam Zgagacz
ComboBox extension methods for binding with Enum types
3 Dec 2013 by adelelawady
how can i copy string or text to clipboard in google chrome extention
1 Feb 2014 by adelelawady
when video changed page dosen't load it just show a red line and content.js dosen't load content.jsvar btn = document.createElement("input");var btn2 = document.createElement("input");btn.type = 'button';btn.value = 'Download Video';btn.id = 'submit';btn.name =...
26 Sep 2010 by After2050
This article demonstrates the steps in creating a simple jQuery plug-in with a sample called Map Scroller.
17 May 2012 by Agon Avdimetaj
30 May 2012 by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
10 May 2012 by Akos Orban
An extension method for the IEnumerable interface to perform an action on each element which belong to a derived type of T.
26 Oct 2011 by Alessandro Del Sole
This article explains how to acquire images from scanners and Webcams and how to store them to a LightSwitch application's database
24 May 2011 by alexey.nayda
Hi. In two words, I'm building .Net Client that will use WebServices to upload large amount of data. Client should inform user about upload and download progress. I've created SOAP extension to wrap WebService stream in chain. Similar to Using SOAP Extensions to provide progress notification...
10 Oct 2010 by Ali BaderEddin
SharePoint Detector Chrome extension helps you detect sites that are built on top of SharePoint, while you are browsing the web.
2 Feb 2018 by Ali Hojjati
I wrote a shell extension using c++, but after performing right click after 30 times, windows menu goes black and I have to reset the explorer.exe How can I prevent this issue, and also I have more than 60 Items in my shell menu. What I have tried: I wrote the shell menu based on Microsoft...
2 Feb 2018 by Ali Hojjati
Here is my code #include "MyAdvancedMenuContextMenuHandler.h" #include #include #include #include #include "sqlite3.h" #include #include #include #include #include using namespace std; #define...
8 Feb 2018 by Ali Hojjati
I want to set icon for shell extension (windows shell menu), but seams it only accepts bitmap files. how can I Load icon or PNG in this case. What I have tried: Right now I Load bitmap files and use some function to make it transparent.
4 Jun 2014 by all names are already registered so noname
Hi,I am trying to bind an eventHandler to an event raised from an in-memory compiled source code. Below is the detail//======================// Name of the saved file ABC.csusing CustomDll; //
7 Jul 2013 by Amit_Mittal
An easy way to bind XAML with properties defined in code behind
7 Jun 2012 by AmitGajjar
An efficient extended search API to search from a text file.
2 May 2012 by Amjad Abu Saa
An easy way to make a custom file type and associate it to your C# application
28 Sep 2014 by anandd.mohit
if i am trying to open google.com, my browser should redirect me to yahoo.com likewise trying to open any site browser should redirect me to yahoo.com how to do it?
26 Sep 2010 by Andreas Gieriet
.NET 4 finally allows to define polymorphic extension visitors
22 May 2012 by Andreas Gieriet
How Linq extension methods benefit from interfaces inheriting from interfaces
18 Jun 2015 by Andreas Gieriet
An alternative to Solution #1 could be a Comparer that can be used like this: IComparer comparer = ChainedComparer.First(d => d.Year).Then(d => d.Month);With the following implementation: // Comparer for a prioritized sequence of comparison attributes.// Implemented as...
8 Jun 2012 by andrej33@yandex.ru
How to create cross-browser extensions with few lines in JavaScript
11 May 2015 by Andy Lanng
Hi,Quick overview:I have a service that starts two processes:1: A message based workflow2: An event based 'tracker'The tracker handles several third party APIs that either push data (async) or that we pull data from. I have managed to set this up so that all of the data...
11 May 2015 by Andy Lanng
GAH - the code works fine >_
17 Jun 2015 by Andy Lanng
Hi,I have managed to use this doohickey [^] to convert a Func into a IComparer. I can now create a SortedList as so:public OrderedQueue(Func orderByFunc, bool @descending = false ){ Queue = new...
17 Jun 2015 by Andy Lanng
This is what I came up with after reviewing Solution 1 by Tomas Takacusing System;using System.Collections.Generic;using System.Linq;namespace Extensions.Linq{ public static class FuncExtensions { public static IComparer...
13 Feb 2013 by Ankur\m/
I searched for beforenavigate2 firefox[^] and this[^] was the first result. I guess it's what your are looking for.
23 May 2017 by Anudeep Jaiswal - MCA
Use FileInfo Class Of system.IO Namespace.
25 Apr 2022 by aravindnass
I have opened multiple browser windows in google chrome. I want to find all the tab details in the current window browser. ie., no tab details from another browser. So in my chrome extension, I am getting all the tab details in multiple browser windows. When I tried, I got the extension...
11 Oct 2013 by ASP.NET Community
JavaScript holds it all together on the client side. There are a number of extensions that have been made to improve and expand base JavaScript
11 Oct 2013 by ASP.NET Community
Here is a list of file extensions which are configured by default to be handled by ASP.NET 2.0.asax used for application level logic
11 Oct 2013 by ASP.NET Community
Since the dawn of asp.net, web based development has become a lot easier.  It provides a great deal of control over designs and code.  And affords
11 Oct 2013 by ASP.NET Community
While answering forums I come across a post “Grouping the data in the data table” which lead me to write this short code snippet for that post. 
11 Oct 2013 by ASP.NET Community
if(IsPostBack){Boolean fileOK=false;String fileExtention=System.IO.Path.GetExtension(FileUpload1.FileName).ToLower();   //check file
11 Oct 2013 by ASP.NET Community
protected void ReportViewer1_PreRender(object sender, EventArgs e) {DisableFormat(ReportViewer1, "Pdf"); }protected void
26 Aug 2016 by Awesome Dev
How to bypass the strict System.Version parse mechanics using a C# extension
16 Sep 2016 by axuno
Take this ready-to-use VBA module for MS-Outlook, that lets you export all mail messages selected in the current Outlook email browser to the file system.
21 Oct 2016 by aziz57
I am trying to develop a chrome extension and i want to execute some method in the content script file from my another js file (popup.js). The documentation page says, i can execute the whole script page like thischrome.tabs.executeScript(null, {file: "content_script.js"});But I wrote my...
21 Aug 2012 by bbirajdar
I think this pseudo code will help youforeach (File file in Directory.GetFiles("D:\.....")){if(file.EndWith(".jpg")//Change the extension using the logic you already know}Edit: Corrected my solution on Wes ADay's suggestionforeach (File file in...
2 Jun 2012 by Ben Baron
Java source code to demonstrate Executable Integration which is a concept of integrating several distinct executables to create a single application
15 Jun 2015 by Ben J. Boyle
Chrome storage would be the default, and can be used to sync information between computers for a logged in user. https://developer.chrome.com/extensions/storage[^]Bear in mind too that chrome storage does have data limits, I think 5MB for local storage and 100KB for sync storage.Aside from...
24 Mar 2014 by Benjamin Nguyễn Đạt
Why don't we create a static class with a static method and then call that method to pass in a argument like this : public static class A{ public static void ToUpperString(string param) { param.ToUpper(); }}instead of creating an Extension Method public...
10 Jul 2018 by Bhanu Pratap Verma
Hi, I am trying to create my own class like a list generic class provided my microsoft. below is my code: namespace OwnGenricClass { class Program { static void Main(string[] args) { Owngeneric _test = new Owngeneric(); ...
10 Jul 2018 by Bhanu Pratap Verma
Hi, The above code suggestion work for me. Thank you for you response guys, Its really appreciated.
19 Mar 2014 by BillWoodruff
I think Sergey "got there" first, and gave you the key insight you need; I suggest you accept his answer.While I am not familiar with the ObjectModel.Collection class, I have written an extension method to convert a Generic List of one Type to a Generic List of another Type:public static...
13 Oct 2014 by BillWoodruff
It would be interesting to time this approach using Linq (requires .NET 3.5 or later):private bool IsCharMatch(string stringToMatch, string stringToTest){ return // implement test for length equality ? //stringToMatch.Length == stringToTest.Length //&& ...
23 Oct 2014 by BillWoodruff
While I hope you get a helpful reply here soon (and I'd never under-estimate what CP members know, and are capable of !), developing a VS extension is such a specialized area of programming that I wonder if you would be more likely to get a quick response on Microsoft's VS Integration forum...
15 Oct 2021 by BillWoodruff
Create collections of #n sized elements from arrays, lists, and string
28 Nov 2014 by Biths
I have developed an msi setup for Windows machines, which contains my chrome extension native messaging app. I am about to publish the extension on Chrome Web Store. The extension is supposed to get silently installed through this msi setup. As per Chromium Policy List, I want to write it under...
16 Jan 2019 by BlackMATov
It's a story on how to write a plugin for Unity Asset Store, take a crack at solving the well-known isometric problems in games, and make a little coffee money from that, and also to understand how expandable Unity editor is. Pictures, code, graphs and thoughts inside.
5 Feb 2014 by Braydon
So AD block is a AD remover well AD block finds the ADs and removes the lines of code that show the ADs and that is where I need your help. I am trying to make an extension but I am not releasing the name or the extension till I am ready.Now the extension needs to find the AD's codes and...
12 Aug 2013 by CHill60
There is a separate download specifically for VS2010 at https://indentguide.codeplex.com/releases/view/108472[^]NB it's the second link you need
16 Nov 2013 by CHill60
There is a walkthrough on msdn here[^] which handles layout - key is a group control.Have a go with this first. If you hit any problems then post a question showing your code and explaining your problemThe LightSwitch team blog[^] is a good source for additional information
3 Dec 2013 by CHill60
Have a look at this set of search results ... there are various methods listed depending on how you are trying to achieve this...https://www.google.co.uk/#q=google+chrome+extension+copy+clipboard[^]Sorry I'm not being more specific but I can't tell if you are trying to add an extension to...
26 Sep 2012 by Clifford Nelson
I have used the Dispatcher, and it does not seem to be very reliable. Had much more luck with tasks: First get a TaskScheduler from somewhere that is on the UI thread:TaskScheduler uiScheduler = TaskScheduler.FromCurrentSynchronizationContext();Then in the place you need to make changes...
5 Feb 2014 by CoderPanda
I think this discussion[^] should help. [Please accept/up-vote answers or solutions that work for you to encourage others]
10 Dec 2011 by Cool Smith
Hello,I saw an article that featured a plugin/Extension support some months ago, the writer imitated the style of firefox extension manager where you can enable or disable an extension, but can find the article anymore,does anyone know about this, and point me to it?thanks
20 Jan 2016 by CPallini
Did you Google?Delphi Basics : extractfilename command[^].Delphi Basics : filesize command[^].
26 Sep 2012 by cpquest
Hi all,i have implemented a Extension method for ICollection f in project that bacically i am trying to do some datagrid related operation on ApplicationIdle state. here is the code. public static class CollectionExtension { /// /// Set item Binding to...
15 Nov 2014 by DamithSL
in your aspx page code file is CodeBehind="L_PaperSet.aspx.cs" but you may have renamed it to something else. give the correct name of WebForm2 class cs file, then this error will be vanished.
3 Apr 2017 by dan!sh
Extension to block selected hosts from Chrome brower
25 Feb 2018 by dandy72
Hey all, I'm using the standard File Open dialog box in my WinForms app, to prompt the user for a license file (extension ".lic") at startup if I don't find one in a predefined folder. My search filter is set to: string strFilter = "License files (*.lic)|*.lic"; I've noticed a slight...
25 Feb 2018 by dandy72
Good question. I've seen this on clean Windows 8 and 8.1 VMs. In both instances, Windows Explorer is set to show everything (don't hide anything at all--ever).
14 Jun 2012 by Daniel Gidman
An MVC Razor Helper to generate radio button lists from enums
1 Nov 2011 by Daniel Lo Nigro
As far as I know, the "UpdateModel" method is designed to do this. Something like this should work, but I haven't tested it:public ActionResult Edit(Entity entity){ var entityInDbSet = _context.Set.SingleOrDefault(x => x.Id == entity.Id); UpdateModel(entityInDbSet); ...
13 Feb 2013 by Daroosh
Dear all,I am trying to build an extension for Firefox which blocks the navigation to certain websites. In IE, its very simple since we have the BEFORENAVIGATE2 event which is fired before the navigation to any new URL. However, in javascript we don't have this luxurious option. So, how can...
14 Feb 2013 by Daroosh
Can someone guide me to a tutorial to build a complete toolbar for both, IE and Firefox? For IE, i already have a running BHO (built completely in C++), I would like to build a new extension that adds a toolbar to my IE. Same goes for Firefox, would like to build an extension that adds a toolbar...
14 Feb 2013 by Daroosh
Found half the solution, A step by step tutorial for creating toolbars for FIREFOX.Hope this helps anyone out there:Step by Step tutorial to building a toolbar in FirefoxNow I still need a tutorial for the IE.Thanks in advance!
15 Feb 2013 by Daroosh
Found the other half of the solution.Creating IE Toolbar - 1Creating IE Toolbar - 2I managed to build both my IE and FF toolbars from the above mentioned links.Enjoy!
20 Feb 2013 by Daroosh
Hello everyone. I am trying to copy the complete content of one IHTMLDocument2 to another new instantiated copy of IHTMLDocument2. In pseudo code, it would be something like this:IHTMLDocument2 newDoc.content() = oldDoc.content()The reason why I'd like to do so, is simply that whenever a...
4 Mar 2013 by Daroosh
I am trying to create a text file, and write some text to it within my Firefox extension in this way:try{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");}catch (e) {alert("Permission to write file denied."); return 0;}var file =...
6 Mar 2013 by Daroosh
Can anyone help me understand the problem with this chunk of code:var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile);file.initWithPath("\\\\.\\pipe\\MyPipe"); // WRITEvar myRequest = "BlaBla";var outputStream...
6 Mar 2013 by Daroosh
This is the right way to do it:var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile);file.initWithPath("C:\\test.txt"); // WRITEvar text = "Text to be written";var outputStream =...
6 Mar 2013 by Daroosh
I just came to realize that this is an unhandled BUG in Mozilla. Whenever you try to open an InputStream for reading from a NamedPipe, it throws a (NS_ERROR_FAILURE) EXCEPTION.Hope they fix it soon though!
25 Mar 2013 by Daroosh
Hello everyone,I have built an IE extension which creates a new DIV HTML element and adds it to the page. The problem is that this newly created DIV element only appears on the screen when i click with the mouse any where within the page, otherwise, it doesn't display. I tried following...
3 Apr 2013 by Daroosh
I am building an Extension in firefox which checks the navigated URL, compares it to a list of locally blocked URL's and then decides to block or proceed on with the call.In order to keep the user occupied, i am trying to use JQuery's blockUI function to block the page till the results of my...
31 May 2013 by Daroosh
Hello everyone. I am currently building a BHO which aims at modifying the page DOM after the page is loaded. The DOM modification is performed within the DISPID_DOCUMENTCOMPLETE handler. However, some SCRIPTS run after the DISPID_DOCUMENTCOMPLETE event is triggered which modify the structure of...
26 Jun 2014 by Daroosh
I am currently building an extension which is required to capture only HTTP request being made by the TOP frame browser (Not capture every HTTP request being initiated) before they are being sent out and the response received. Is that possible to handle in a Firefox extension?I currently...
23 Apr 2017 by Dave Kreskowiak
If you're asking if you can replace "yahoo.com" with something else, no, you can't. The only way to change that is to switch to whatever email provider you want.
6 Feb 2024 by Dave Kreskowiak
The first question is why are you even doing this? VS allows you to add any file type to any folder for good reasons. You cannot modify the behavior of Add Existing Item. In the VS implementation, the items has already been "validated", because,...
1 Mar 2019 by DaveAuld
A couple of useful extensions for VSCode to help manage your TODOs FIXMEs, etc.
7 Jun 2017 by David 'dex' Schwartz
Your mileage may vary depending on the browser version (MS Edge vs IE etc.) so it would be best to do some more research on each one as needed. Internet Explorer The Browser Helper Objects are registered under HKLM\Software\Microsoft\Windows\CurrentVersion\explorer\Browser Helper Objects IE...
25 Apr 2011 by David Sehnal
A computation wrapper with built-in progress tracking using Reactive Extensions for .NET (and AsyncCTP).
23 Oct 2014 by DCat 85
I am trying to create a Toolbox exension for Visual Studio 2013. I installed the SDK and created a Extensibility - Windows Forms Toolbox Control project.Inside this project I have multiple groups of controls, each group resides in a separate namespace and each control has their own specific...
12 Aug 2013 by deadeane
Hello! Can i find any alternative of the indent guides(VS 2012 or higher) for VS 2010?
30 Jun 2014 by deepankarbhatnagar
Hi, you have to use URL Rewriting. Plz refer the below link:http://msdn.microsoft.com/en-us/library/ms972974.aspx[^]
29 Sep 2011 by dgon
NMoneys.Exchange extends NMoneys (Money Value Object implementation) to support exchange of currencies