Click here to Skip to main content
15,894,316 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 Feb 2024 by Member 16202340
I am trying to create an extension for the tables in any database which will be shown when I right click on any tables in SSMS, I want to run that extension from there. Furthermore, I want my extension to make insert queries, delete queries or...
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,...
5 Feb 2024 by Meghana Mekala
I am trying to add file type validation in "add existing item" in solution explorer in visual studio experimental instance. If the selected file type is not valid, then it needs to display message box like invalid file type. Else it needs to add...
1 Oct 2023 by Romain Latry
--> I'd like to create a sort of plug-in / add-on for email boxes (Gmail first) that: allows people to sort their non-important emails saved in their inboxes and to delete them very easily automatically delete unecessary emails gamify the...
30 Sep 2023 by OriginalGriff
Id suggest that you start by creating a trivial add on, and get that working first. Then gradually build up to what you eventually want to produce as it going to be pretty complicated - which means there are a lot of thing you will need to learn...
26 Jul 2023 by ms_vb
I am working on a VSIX extension (named ChangeToolTipDate) in VB.NET for Visual Studio 2022 that changes the tooltip of date variables when debugging. I want to do this as a learning exercise and to make debugging easier. For example, when I...
26 Jul 2023 by Richard MacCutchan
See Hello World extension tutorial - Visual Studio (Windows) | Microsoft Learn[^].
29 Dec 2022 by stackprogramer
When I set the time and date of my Linux to old, In browsing some HTTPS site it can not open the website, my question is: Is there any extension that neutralizes the error clock is behind error? Or any software for linux that can set timezone...
29 Dec 2022 by Rui Oliveira Pinheiro
That is not the only common reason. Another reason is to access a site that in most browsers is blocked due to HSTS restrictions just because the certificate expired. The browsers are a bit too stupid and do not offer the traditional bypassing...
20 Nov 2022 by FrontEndler
Hello, (I hope you understand what I want, because my english is not perfect. the more I thank you for your help.) I need some help. I am currently looking for a script for the website Twitch. There is something similar, but not exactly what I...
5 Nov 2022 by VKJD
I want to make a chrome extension that will add a tag after every tag in a webpage automatically after loading. I am not familiar with CSS to be able to code it and it is very confusing for me. I only know a little bit of Python so I...
24 Sep 2022 by L Lemon
I used kg to lbs when creating a google chrome extension that converts units, but it keeps on saying error. What alternative can I use? What I have tried: kg to lbs
24 Sep 2022 by L Lemon
Change this to the following and it will work: html: Click me script.js: document.getElementById("myButton").addEventListener("click", myFunction); function myFunction(){ ...
1 Sep 2022 by Member 14611589
I want to create an extension turn off phone data and turn on phone data to get new ip What I have tried: I think this JAVASCRIPT code work but I don't know how to put it in extension . I mean what is permission of extension, etc the code is...
28 Aug 2022 by Member 14611589
I have 4 extensions every one has special task and I want to create an extension manage them. What I mean run every extension and off it when it finishes its task. What I have tried: I search about this but I didn't find anything
21 May 2022 by OriginalGriff
The simple solution is: set your system clock to the current time and let the OS keep it accurate via an internet time server. The only common reason for changing the date and / or time is to fool software licences into thinking they are still...
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...
25 Apr 2022 by Oliver duCille
Hi. It seems as though you are looking for the tab that the extension is loaded in. Would you not be already there? I myself would like to undertake iterating through all tams in all chrome windows to make sure that I'm at the correct one.
3 Apr 2022 by Haseeb Udeen
Hi everyone, need a little help with chrome extension: we have made a chrome extension, and now we want to trigger its content script with a react app. We want to use the react app to administer that extension. What I have tried: searched but...
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 ...
18 Feb 2022 by Member 15540393
document.addEventListener('key...
9 Feb 2022 by M Imran Ansari
See the following link which is relevant to you problem. hope it will work for you: javascript - How to allow eval in chrome extension version 3 - Stack Overflow[^]
18 Jan 2022 by Member 15504150
Description : Building an extension which redirect to new tab when click on button or link with URL and with some search cookies or parameter which can give value at URL bar like id or account no. Something like this:1)...
23 Dec 2021 by Ishan pandya
Have you tried making registry entries as stated in below article ? HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.cagatay.chromium.updater or...
15 Oct 2021 by BillWoodruff
Create collections of #n sized elements from arrays, lists, and string
2 Jul 2021 by SaeedPol
Hello, I've converted my web app to a chrome extension. How can I test my extension before publishing it? thanks, Saeed What I have tried: I have already made the extension.
2 Jul 2021 by OriginalGriff
I haven't tried it, but have you looked at this: GitHub - acvetkov/sinon-chrome: Testing chrome extensions with Node.js[^]
30 Jun 2021 by My Web Store
I have an issue with my chrome extension. I want to open it automatically when the page is loaded. For example, if a user opens stackoverflow.com, my chrome extension popup opens automatically. I am using chrome.runtime.onMessage.addListener on...
30 Jun 2021 by Richard Deeming
Try reading the documentation for writing a Chrome extension. The event you're looking for is chrome.webNavigation.onCompleted: chrome.webNavigation - Chrome Developers[^] You will need to add the relevant permissions to your extension's...
8 Jun 2021 by MrSorrow1993
First of all, I use Chromium browser, not Google Chrome. But the problem is when I click the button of my extension, I get "Specified native messaging host not found." error. Here is my com.cagatay.chromium.updater.json file: { "name" ...
31 Mar 2021 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?
15 Mar 2021 by Member 14720021
I want to insert the text in the body after button is clicked. Below function should show the message but even this does not work. browser.browserAction.onClicked.addListener(mybtn); function IconClicked(tab) { let msg = { txt : "Icon...
21 Feb 2021 by HenkAlles
Show Simple Log - see the article by Jochen Scharr - in the browser with a nice layout
19 Feb 2021 by Mykola Tarasyuk
An approach to call built-in Visual Studio commands from within Visual Studio extensions
26 Oct 2020 by Matteo Prosperi
This is the second post in the .NET libraries and the art of backward compatibility series.
20 Aug 2020 by raviparikh
Hi, I need your help! I am newbie in chrome extension and I am get stuck with below case so Could you please help me? We need to load HTML pages with user details by conditionally in default popup box from popup.js file. I have added below...
29 Jun 2020 by member5320
I'm working on developing Chrome Extension for several weeks. I have almost completed a demo version of chrome extension now. but I have one problem I don't know so that I wanna get some help from you guys.I've written the host in c# lang My host...
20 Jun 2020 by Just Perfection
In this article, you will learn about the GNOME Shell extension basics, schema, gettext and more.
6 Apr 2020 by istudent
I need to create generic method that return dictionary of Enum values with display attribute name. I would also like to see if it can be done as an extension method for Enum. What I have tried: I only able to do with non generic method. ...
6 Apr 2020 by MadMyche
How about an Extension Method that can return an int/string dictionary across whatever type of Enum it sees?namespace System { public static class SysExtension { public static Dictionary ToDictionary(this Enum EnumList) {...
5 Dec 2019 by phil.o
You could try chrome.windows.getCurrent()[^] method and see whether it fits your needs.
12 Jun 2019 by Member 10738387
Hi all, i have tried to connect GIT-Extension using C# (windows Form application) to fetch all the branch details and specific file from Repository, What I have tried: i have tried below code to connect and fetch the files but throws exceptions. Process gitProcess = new Process(); ...
12 Jun 2019 by RickZeeland
Try running the example with ProcessStartInfo mentioned in answer 2 here: c# - Is there some way to work with git using .NET application? - Stack Overflow[^] And see if that works ...
9 Jun 2019 by Stefan Timovski
Tutorial on how to start developing SSMS extensions
1 Mar 2019 by DaveAuld
A couple of useful extensions for VSCode to help manage your TODOs FIXMEs, etc.
22 Jan 2019 by seventhnight
I have the following code which adds a project to the current solution from a specified template: Solution2 solution = GetSolution(); string templatePath = "..."; string genProjectPath = $"C:\\TestVSIX\\{projectName}\\"; try { ...
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.
15 Jan 2019 by Richard MacCutchan
You should post your question in the forum at the end of the article, so the author can help you.
15 Jan 2019 by Member 14109112
I want to create an extension (VSIX Extension with Visual Stduio 2015) for SQL Server Management Studio 2017. Unfortunately, I'm not really making any progress. Adding an item in the upper menu bar works fine. But that's not exactly what I want to do. I want to add an item or a submenu in the...
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...
7 Jan 2019 by RickZeeland
VSIX files are only meant to be used in Visual Studio, see explanation here: Find and use extensions - Visual Studio | Microsoft Docs[^]
6 Jan 2019 by Patrice T
Quote: pls assist me to solve this issue. Nobody can answer this question because we have no idea what is the .exe and what you have done. The only advice: Follow some tutorials, find a sample project to experiment. Or find a seasoned professional to dig in your code.
3 Sep 2018 by LucyPage
Instagram officially does not give you such an option to hide your followers from others. Also, there is no such third party app available through which you can hide your followers on Instagram. But still, there are some ways around to hide your followers or following. Let’s see in detail what...
3 Aug 2018 by RealFlare
So this is my code: My.Computer.FileSystem.RenameFile("C:\j\Application.exe", Path.GetRandomFileName()) .. The extension changes to something random, which I don't want. I want the extension to be .pdf while using the code Path.GetRandomFileName(). Can anybody help me with the right code,...
3 Aug 2018 by JIYAUL MUSTAPHA
/*Convert file format to png*/ string newfilename , string filename = "~/Photo/" + lbl_ImgPath.Text.ToString();/*get filename from specific path where we store image*/ string newfilename = Path.ChangeExtension(filename, ".png");/*Convert file format from jpg to png*/
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.
9 Jul 2018 by F-ES Sitecore
Your extension is acting on the type Owngeneric so that's what needs to be your "this" public static int extnlenght(this Owngeneric entity) { return entity.Count; // We also need to create the Count property } Next your custom class needs a way of returning the count of the items...
9 Jul 2018 by Graeme_Grant
Have a read of this great answer: c# - Why isn't Array a generic type? - Stack Overflow[^] You would be better off working with List for collections. Here is a starter: Collections tutorial - C# local quickstarts | Microsoft Docs[^]
23 May 2018 by OriginalGriff
As far as I know, you can't do that for security reasons: that would trap passwords, bank account details and so forth and would probably count as malicious code.
14 Mar 2018 by nitrous_007
I have a usercontrol which is a VSIX tool window (Visual Studio Extension). I want to get the height and width of the tool window when a button is clicked. This has proved elusive so far. I tried ActualWidth, ActualHeight, Height, Width, Render size tried doing a...
14 Mar 2018 by nitrous_007
Answer from the good folks at Microsoft is below and it works!. There are other property files like debugger_remote_windows.xml in the location ' C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\1033\' // WORKAROUND: // background: https://msdn.microsoft.com/en-us/library/dn655034.aspx...
14 Mar 2018 by nitrous_007
I am trying to automate the process of setting up remote debug setting for a Visual Studio 2015 solution with only VC++ (Visual C++) projects. In the VSIX project, I can get the solution using ENVDTE and try to set the remotedebugger settings using the following commands. There is a bug however...
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).
25 Feb 2018 by OriginalGriff
When I try that: OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = "License files (*.lic)|*.lic"; if (ofd.ShowDialog() == DialogResult.OK) { string path = ofd.FileName; } With just two files in the folder "dimchain.lic" and "DMLog.licence.txt" i can see the first, but not the...
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.
8 Feb 2018 by Rick York
There are two things you can pursue : one is to search on this site for "shell extension" and you will see a large number of articles written on the topic. Another is to use an image handling library like CxImage to do this which you can find on this site.
2 Feb 2018 by Jochen Arndt
The black menu is an indication for a malfunctioning extension. Because you did not show us any code, I can only give the advice to check your code. You can for example comment most of the code showing only a dialog box upon activation of a menu command. Then check if the problem still...
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...
29 Jan 2018 by nitrous_007
I created a visual studio extension Tool Window. I need to open a third party Tool Window (from a vendor) in my Tool Windo. This third party Tool Window is currently a menu item under View. Is there any other way to open the third party tool window or can you offer any suggestions? Is there any...
29 Jan 2018 by nitrous_007
I was able to open the third party tool by finding GUID of the tool window for Visual Studio. All Tool Window GUID's are at Computer\HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\ToolWindows\
25 Jan 2018 by nitrous_007
I developed a VSIX window tool and it works fine for my customer. However when the customer hits the Debug menu, the VSIS window dissapears. How do I ensure that the VSIX Window stays on during debugging also? I have no idea why it disappears during debugging. Please let me know if you have any...
21 Nov 2017 by nitrous_007
I found the solution. I did need the Microsoft.VisualStudio.VCProjectEngine DLL which is Visual Studio directory to work with unmanaged code and then write some code to access the property sheets. Clues were obtained from below links: envdte - How to iterate programmatically through all...
21 Nov 2017 by nitrous_007
Hi, i am writing a Visual Studio Extension and I need to get the OutputFileName or TargetFileName for C++ projects in the solution. For example in a sample solution this OutputFileName or TargetFileName would be ConsoleApplication.dll(note that its case sensitive). I wrote some code as shown...
14 Nov 2017 by Nick Polyak
Describe VS2015 extension for generating sub-enumerations (akin to sub-classes)
28 Oct 2017 by Mr.PoorEnglish
10-times faster Accesss with Reflection.MethodInfo (updated)
7 Sep 2017 by Ranjith Reddy CSE
Hello FRIENDS,Have a GOOD DAY ALL OF YOU.I have Created a WEBSITE in Asp.net C#, SqlServer 2005.My Requirement is I dont want to Display the Extension .aspx in browser.For Example i have Products.aspx page....fom these I want to display the produts in browser.Please help...
16 Jul 2017 by Kornfeld Eliyahu Peter
Path.GetRandomFileName()[^] returns a string, so probably the best way to manipulate it... If you do not care for the 8.3 format: string.Format("{0}.exe", Path.GetRandomFileName().Replace(".", string.Empty)); If the 8.3 format is important: string.Format("{0}.exe",...
7 Jun 2017 by Satish R
How to get a list of the extensions added to browsers through C++ mfc. And if possible how to enable and disable those extensions.What I have tried:I tried to find some database related to this extension data in /appdata/local/ but ended up with empty hand.
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...
23 May 2017 by stivanov
Hello. I am creating Windows Form project with custom file extension. What I want is when I double click an icon with the new file extension, to get the filename and filepath. Example: C:\TestDB\NewDatabase2\NewDatabase2.abc I need to get the path: C:\TestDB\NewDatabase2 I need also the...
23 May 2017 by stivanov
This is the solution: c# - Associated extension doesn't send file name to application on double click - Stack Overflow[^]
23 May 2017 by Anudeep Jaiswal - MCA
Use FileInfo Class Of system.IO Namespace.
23 Apr 2017 by Ganesh KP
Hi friends,I have got some problem with my mail idmy mail id extension is _ _ _ _ _ @yahoo.inThis extension for yahoo have some problem like it is unable to send mails to all the mail address and at the same time it is unable to receive some mail address as some have said they have sent...
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.
3 Apr 2017 by dan!sh
Extension to block selected hosts from Chrome brower
22 Mar 2017 by Fiyaz Hasan
Just like financial debt estimation, technical debt can also be estimated. Know more about this metaphor developed by Ward Cunningham and how the estimation can be done though NDepend's smart technical debt estimation feature.
9 Mar 2017 by TheGreatAndPowerfulOz
How to recursively select all descendants using an extension method
5 Mar 2017 by DotNetSteve
Creating an extension class for View Models to save public properties using Generics and Delegates, replacing a reflection implementation
8 Feb 2017 by hpjchobbes
I am using a third party library that has a connection object called a SessionManager. The SessionManager allows you to create different types of requests for querying, adding or modding. I am writing some extension methods to try and make the coding faster as I tend to repeat code for a lot of...
8 Feb 2017 by Pete O'Hanlon
You can't create your extension methods using composite names - in fact, you can't create any method using a composite name like that. So, while you could have CustomerQueryAll, you can't have Customer.QueryAll. What it looks like you really want, is to have a specialization of the extension...
8 Feb 2017 by F-ES Sitecore
You can do something like thispublic class CustomerManager{ private SessionManager sessionManager; public CustomerManager(SessionManager sessionManager) { this.sessionManager = sessionManager; } public ICustomerRetList QueryActive() { //...
8 Feb 2017 by Richard Deeming
You can't created "nested" extension methods, but your extension method can return an instance of a class / struct with other methods on it.Try something like this:public static class MyExtensions{ public static CustomerWrapper Customer(this SessionManager session) { ...
8 Feb 2017 by sachin.vishwa90
hi, it seems the third party library you are using is not allowing you to create extension method.either it will be a generic class or something which is not allowing.you can check the reason in this link
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...
18 Oct 2016 by DhilipkumarC
I am using my chrome extension which will extract the html content of page I visit. and it will have that extracted content in its default popup page. so that I can save it in desktop as a html page. But my problem is, the popup window gets closed and stops working when I clicked out of that...